Documentation
¶
Index ¶
- func CategorySetKeyName(category string) string
- func KeyshareMapKeyName(did string) string
- func PrimaryListKeyName(address string) string
- type Store
- func (s *Store) AddListItem(key string, value string) error
- func (s *Store) AddMapItem(key string, field string, value string) error
- func (s *Store) AddSetItem(key string, member string) error
- func (s *Store) DelListItem(key string, value string) (int64, error)
- func (s *Store) DelMapItem(key string, field string) (int64, error)
- func (s *Store) DelSetItem(key string, member string) (int64, error)
- func (s *Store) ExistsInList(key string, value string) (bool, error)
- func (s *Store) ExistsInMap(key string, field string) (bool, error)
- func (s *Store) ExistsInSet(key string, member string) (bool, error)
- func (s *Store) GetList(key string) ([]string, error)
- func (s *Store) GetMap(key string) (map[string]string, error)
- func (s *Store) GetSet(key string) ([]string, error)
- type StoreOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CategorySetKeyName ¶
CategorySetKeyName returns the key name for a category set. (i.e. UnclaimedWallets, ControlledWallets, PendingClaims)
func KeyshareMapKeyName ¶
KeyshareMapKeyName returns the key name for a keyshare map. Parameter should be a did.
func PrimaryListKeyName ¶
PrimaryListKeyName returns the key name for a primary account list. Parameter should be an idx... address.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewIcefireStore ¶
func NewIcefireStore(opts ...StoreOption) (*Store, error)
type StoreOption ¶
type StoreOption func(*Store)
func WithAddr ¶
func WithAddr(addr string) StoreOption
Click to show internal directories.
Click to hide internal directories.