Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerStore ¶
type BadgerStore struct {
// contains filtered or unexported fields
}
func NewBadgerStore ¶
func NewBadgerStore(badgerFolder string, key []byte, cacheSize int64) (*BadgerStore, error)
func (*BadgerStore) Close ¶
func (b *BadgerStore) Close() error
func (*BadgerStore) Delete ¶
func (b *BadgerStore) Delete(ctx context.Context, tokenID string) error
func (*BadgerStore) Get ¶
returns nil, nil if not found
Click to show internal directories.
Click to hide internal directories.