Documentation ¶
Index ¶
- Constants
- type Store
- func (s *Store) Close() error
- func (s *Store) Delete(id string) error
- func (s *Store) Get(id string) (val int64, err error)
- func (s *Store) Query(v string) ([]int64, error)
- func (s *Store) Save(id string, val int64) error
- func (s *Store) SaveAll(ids map[string]int64) error
- func (s *Store) Update(id string, val int64) error
- func (s *Store) Upsert(id string, val int64) error
Constants ¶
View Source
const (
NotSetValue int64 = 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is the data store.
Click to show internal directories.
Click to hide internal directories.