Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { api.GreeterServer // contains filtered or unexported fields }
Server for redis.
func NewServer ¶
func NewServer(cache *cache.Cache, server api.GreeterServer) *Server
NewServer for redis.
func (*Server) SayHello ¶
func (s *Server) SayHello(ctx context.Context, in *api.HelloRequest) (*api.HelloReply, error)
SayHello for greet.
Click to show internal directories.
Click to hide internal directories.