Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
DbClient store.DbProvider
}
Server implements the Counter service
func (*Server) GetValue ¶
func (s *Server) GetValue(ctx context.Context, req *rpc.CounterRequest) (*rpc.CounterValue, error)
func (*Server) Increment ¶
func (s *Server) Increment(ctx context.Context, req *rpc.IncrementRequest) (*rpc.CounterValue, error)
Click to show internal directories.
Click to hide internal directories.