Documentation ¶
Index ¶
- Constants
- type DB
- func (s *DB) Close() error
- func (s *DB) Find(bucket, key string) []byte
- func (s *DB) FindCard(cardId string) []byte
- func (s *DB) GetDasId() string
- func (s *DB) Open() error
- func (s *DB) PrivateDasKey() []byte
- func (s *DB) PublicDasKey() []byte
- func (s *DB) Save(bucket, key string, value []byte) error
- func (s *DB) SaveCard(cardId string, cardData []byte) error
Constants ¶
View Source
const ( BucketCards = "CardKeys" BucketDASConfig = "DASConfig" PrivateDasKey = "PrivateDasKey" PublicDasKey = "PublicDasKey" DasIdentifier = "DasIdentifier" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct { Path string // contains filtered or unexported fields }
func (*DB) PrivateDasKey ¶
func (*DB) PublicDasKey ¶
Click to show internal directories.
Click to hide internal directories.