Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltDatabase ¶
type BoltDatabase interface { Insert(information types.CommandInformation) error Delete() error List() (*[]types.CommandInformation, error) InsertConfig(information types.ConfigurationInformation) error GetConfig(key string) (string, error) ListConfig() (*[]types.ConfigurationInformation, error) DeleteConfig(key string) error }
func NewBoltDbService ¶
func NewBoltDbService(boltDb *bolt.DB, bucketName string) BoltDatabase
type Service ¶
type Service interface {
// contains filtered or unexported methods
}
func NewDatabaseService ¶
func NewDatabaseService(localDb BoltDatabase, configDb BoltDatabase) Service
Click to show internal directories.
Click to hide internal directories.