Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCHandler ¶
type GRPCHandler struct { Port string Logger log.Logger GRPCServer *grpc.Server // contains filtered or unexported fields }
GRPCHandler is holding the cache and GRPC configuration
func NewGRPCHandler ¶
func NewGRPCHandler(port string, logger log.Logger, cache *cache.Cache) *GRPCHandler
NewGRPCHandler creates and returns an instance of GRPCHandler
Click to show internal directories.
Click to hide internal directories.