Documentation ¶
Index ¶
Constants ¶
View Source
const (
PrefixKey = "__host"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterCache ¶
type AdapterCache interface { String() string Get(key string) (string, error) Set(key string, val interface{}, expire int) error Del(key ...string) error DelPattern(pattern string) error HashKeys(hk string) ([]string, error) HashGet(hk, key string) (string, error) HashSet(hk, key string, val interface{}, expire int) error HashDel(hk string, key ...string) error HashDelPattern(hk, pattern string) error Increase(key string) error Decrease(key string) error Expire(key string, dur time.Duration) error GetClient() interface{} }
type AdapterFileStore ¶
type AdapterLocker ¶
type AdapterQueue ¶
type AdapterQueue interface { String() string Append(message Messager) error Register(name string, f ConsumerFunc) Run() Shutdown() }
type ConsumerFunc ¶
Click to show internal directories.
Click to hide internal directories.