Documentation
¶
Index ¶
- type Peer
- type Storage
- func (s *Storage) GetKeys() map[string][][]byte
- func (s *Storage) Handle(action string, request string, data *[]byte) (response *[]byte, err error)
- func (s *Storage) MainEntity() string
- func (s *Storage) Read(entity string, key []byte) (data *[]byte, err error)
- func (s *Storage) Store(entity string, key []byte, data *[]byte) (*[]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
func NewStorage ¶
func NewStorage() *Storage
func (*Storage) MainEntity ¶
Click to show internal directories.
Click to hide internal directories.