Documentation ¶
Overview ¶
Package service manages the main logic of server.
Package service manages the main logic of server.
Package service manages the main logic of server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.0.51
type Option func(*client) error
func WithKVPrefix ¶ added in v0.0.51
func WithPrefixDelimiter ¶ added in v0.0.51
func WithRedisClient ¶ added in v0.0.51
func WithRedisClientConnector ¶ added in v0.0.51
func WithVKPrefix ¶ added in v0.0.51
type Redis ¶
type Redis interface { Connect(context.Context) error Disconnect() error Get(context.Context, string) (string, error) GetMultiple(context.Context, ...string) ([]string, error) GetInverse(context.Context, string) (string, error) GetInverseMultiple(context.Context, ...string) ([]string, error) Set(context.Context, string, string) error SetMultiple(context.Context, map[string]string) error Delete(context.Context, string) (string, error) DeleteMultiple(context.Context, ...string) ([]string, error) DeleteInverse(context.Context, string) (string, error) DeleteInverseMultiple(context.Context, ...string) ([]string, error) }
Click to show internal directories.
Click to hide internal directories.