redis

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(config *Config, redisConfig *redis.Config, cache *cache.Cache, server v1.ConfiguratorServiceServer) v1.ConfiguratorServiceServer

NewServer for redis.

Types

type Config added in v1.11.0

type Config struct {
	TTL time.Duration `yaml:"ttl"`
}

Config for redis.

type Server

type Server struct {
	v1.ConfiguratorServiceServer
	// contains filtered or unexported fields
}

Server for redis.

func (*Server) GetConfig

func (s *Server) GetConfig(ctx context.Context, req *v1.GetConfigRequest) (*v1.GetConfigResponse, error)

GetConfig for redis.

Directories

Path Synopsis
trace

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL