Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICacheClient ¶
type ICacheClient interface { dbInterface.IDatabase Set(ctx context.Context, key string, value interface{}, expiration time.Duration) error Get(ctx context.Context, key string) (string, error) Del(ctx context.Context, keys ...string) error Exit(ctx context.Context, errChannel chan error) }
func NewCacheClient ¶
func NewCacheClient(address, password string, db int) ICacheClient
Click to show internal directories.
Click to hide internal directories.