Documentation
¶
Index ¶
- Constants
- Variables
- type Store
- func (s *Store) Close() error
- func (s *Store) DB() *bbolt.DB
- func (s *Store) Delete(bucket, key string) error
- func (s *Store) ForEach(bucket string, fn func(key, value []byte) error) error
- func (s *Store) Get(bucket, key string) ([]byte, error)
- func (s *Store) Put(bucket, key string, value []byte) error
Constants ¶
View Source
const ( BucketAccounts = "accounts" BucketClaudeAccounts = "claude_accounts" BucketAPIKeys = "apikeys" BucketUsage = "usage" BucketSettings = "settings" BucketPins = "pins" )
Variables ¶
View Source
var ErrNotFound = errors.New("store: not found")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.