mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-12-05 14:44:41 -05:00
Add local-first refactor foundation
This commit is contained in:
1 parent
161e871c53
commit
517c6b987b
45 files changed
+11545
-697
No files matched your search
@@ -38,6 +38,11 @@ func NewOpenF1ClientWithKey(url string, timeout time.Duration, apiKey string) *O
|
||||
}
|
||||
}
|
||||
|
||||
// BaseURL returns the configured OpenF1 API root URL.
|
||||
func (c *OpenF1Client) BaseURL() string {
|
||||
return c.url
|
||||
}
|
||||
|
||||
// Cache returns the underlying Cache so callers can access track outline
|
||||
// storage and other persistent data directly.
|
||||
func (c *OpenF1Client) Cache() *Cache {
|
||||
|
||||
Reference in new issue
Block a user