Documentation ¶
Index ¶
- func AddEntryToDb(db *badger.DB, clientname string, m []byte) error
- func ByteToStruct[T any](b []byte, v T) (T, error)
- func DeleteEntryToDb(db *badger.DB, keys []string) []error
- func InitDB() (*badger.DB, error)
- func PrefixDb(db *badger.DB, key string) (map[string][]byte, error)
- func StructToDB(s interface{}) bytes.Buffer
- func ViewEntryDb(db *badger.DB, key string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToStruct ¶
func StructToDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.