Documentation ¶
Index ¶
- Constants
- type Config
- type Metrics
- type Server
- func (s *Server) Delete(ctx context.Context, key string) error
- func (s *Server) Get(ctx context.Context, key string) (*string, error)
- func (s *Server) GetAndDelete(ctx context.Context, key string) (deletedValue *string, exists bool, err error)
- func (s *Server) GetOrSet(ctx context.Context, key, value string, ttl time.Duration) (storedValue *string, retrieved bool, err error)
- func (s *Server) Set(ctx context.Context, key, value string, ttl time.Duration) error
- func (s *Server) Start(ctx context.Context) error
- func (s *Server) Stop(ctx context.Context) error
- func (s *Server) Type() string
Constants ¶
View Source
const Type = "redis-server"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Click to show internal directories.
Click to hide internal directories.