Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBoltDbClient ¶
type IBoltDbClient interface {
Open() error
Close() error
Has(key string) (bool, error)
Gets(keys []string) (map[string]string, error)
Get(key string) (string, error)
Dels(keys []string) error
Del(key string) error
Sets(keys map[string]string) error
Set(key string, value string) error
Select(key string) error
}
func NewClient ¶
func NewClient(addr string, port string) IBoltDbClient
type IKvUtils ¶
type IKvUtils interface {
Open() error
Close() error
Has(key string) (bool, error)
GetJson(key string, value interface{}) error
SetJson(key string, value interface{}) error
Gets(keys []string) (map[string]string, error)
GetOrDefault(key string, def string) string
GetOrEmpty(key string) string
Get(key string) (string, error)
Dels(keys []string) error
Del(key string) error
Sets(keys map[string]string) error
Set(key string, value string) error
SetBytes(key []byte, value []byte) error
Select(key string) error
Foreach(fun func(key string, value string) error) error
WithServer(port int) error
}
Click to show internal directories.
Click to hide internal directories.