Versions in this module Expand all Collapse all v1 v1.2.0 Jun 23, 2020 Changes in this version + var ErrorNotSupport = errors.New("operation not support") + func Main() + type DBConfig struct + func (c *DBConfig) ConfigPackages() + func (c *DBConfig) InitDefault() + func (c *DBConfig) Load(confdir string) + type Storage struct + func (s *Storage) Client() mc.StorageClient + type StorageClient struct + func (s *StorageClient) Append(key string, value []byte) (bool, error) + func (s *StorageClient) Clean() + func (s *StorageClient) Close() + func (s *StorageClient) Delete(key string) (bool, error) + func (s *StorageClient) Get(key string) (*mc.Item, error) + func (s *StorageClient) GetMulti(keys []string) (map[string]*mc.Item, error) + func (s *StorageClient) GetSuccessedTargets() []string + func (s *StorageClient) Incr(key string, value int) (int, error) + func (s *StorageClient) Len() int + func (s *StorageClient) Process(cmd string, args []string) (status string, msg string) + func (s *StorageClient) Set(key string, item *mc.Item, noreply bool) (bool, error)