Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCService ¶
type GRPCService struct { pb.UnimplementedExampleServer // contains filtered or unexported fields }
func NewGrpcService ¶
func NewGrpcService(fsm *fsm.StateMachine, kv KV) *GRPCService
func (*GRPCService) Add ¶
func (r *GRPCService) Add(ctx context.Context, req *pb.AddRequest) (*pb.AddResponse, error)
func (*GRPCService) Get ¶
func (r *GRPCService) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
func (*GRPCService) Stat ¶
func (r *GRPCService) Stat(ctx context.Context, req *pb.StatRequest) (*pb.StatResponse, error)
Click to show internal directories.
Click to hide internal directories.