Documentation
¶
Index ¶
- Constants
- type Storage
- func (s *Storage) AddUser(did string, v interface{}) error
- func (s *Storage) Count() int
- func (s *Storage) DelUser(did string)
- func (s *Storage) FindUser(did string) string
- func (s *Storage) ListAll() []string
- func (s *Storage) ListAllValue(convert func(data []byte) interface{}) []interface{}
- func (s *Storage) ListAllValue2(convert func(data []byte) interface{}, begin, count int) []interface{}
Constants ¶
View Source
const ( UserHead string = "didchain_user_%s" UserListBegin string = "didchain_user_did" UserListEnd string = "didchain_user_didzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) ListAllValue ¶
func (*Storage) ListAllValue2 ¶
Click to show internal directories.
Click to hide internal directories.