Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheServer ¶
type CacheServer struct {
// contains filtered or unexported fields
}
CacheServer represents the cache server.
func (*CacheServer) Run ¶
func (s *CacheServer) Run(stopCh <-chan struct{}) error
Run run the cache server.
type Config ¶
type Config struct { DisableCache bool GRPCOptions *genericoptions.GRPCOptions TLSOptions *genericoptions.TLSOptions RedisOptions *genericoptions.RedisOptions MySQLOptions *genericoptions.MySQLOptions JaegerOptions *genericoptions.JaegerOptions }
Config represents the configuration of the service.
type GRPCServer ¶
type GRPCServer struct {
// contains filtered or unexported fields
}
func NewGRPCServer ¶
func NewGRPCServer( grpcOptions *genericoptions.GRPCOptions, tlsOptions *genericoptions.TLSOptions, srv pb.CacheServerServer, ) (*GRPCServer, error)
func (*GRPCServer) GracefulStop ¶
func (s *GRPCServer) GracefulStop()
func (*GRPCServer) RunOrDie ¶
func (s *GRPCServer) RunOrDie()
Directories ¶
Path | Synopsis |
---|---|
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
namespaced
Package namespaced is a generated GoMock package.
|
Package namespaced is a generated GoMock package. |
secret
Package secret is a generated GoMock package.
|
Package secret is a generated GoMock package. |
Package store is a generated GoMock package.
|
Package store is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.