Documentation
¶
Index ¶
- func RegisterService(server *grpc.Server, n *node.Node)
- func StartEncService(n *node.Node)
- type EncService
- func (s *EncService) AddTx(ctx context.Context, req *encservicetype.AddTxRequest) (*encservicetype.AddTxResponse, error)
- func (s *EncService) HealthCheck(ctx context.Context, req *emptypb.Empty) (*encservicetype.HealthCheckResponse, error)
- func (s *EncService) Pending(ctx context.Context, req *encservicetype.PendingRequest) (*encservicetype.PendingResponse, error)
- func (s *EncService) Reset(ctx context.Context, req *encservicetype.ResetRequest) (*encservicetype.ResetResponse, error)
- func (s *EncService) Status(ctx context.Context, req *encservicetype.StatusRequest) (*encservicetype.StatusResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartEncService ¶
Types ¶
type EncService ¶
type EncService struct { encservicetype.UnimplementedEncServiceServer // contains filtered or unexported fields }
func (*EncService) AddTx ¶
func (s *EncService) AddTx(ctx context.Context, req *encservicetype.AddTxRequest) (*encservicetype.AddTxResponse, error)
func (*EncService) HealthCheck ¶
func (s *EncService) HealthCheck(ctx context.Context, req *emptypb.Empty) (*encservicetype.HealthCheckResponse, error)
func (*EncService) Pending ¶
func (s *EncService) Pending(ctx context.Context, req *encservicetype.PendingRequest) (*encservicetype.PendingResponse, error)
func (*EncService) Reset ¶
func (s *EncService) Reset(ctx context.Context, req *encservicetype.ResetRequest) (*encservicetype.ResetResponse, error)
func (*EncService) Status ¶
func (s *EncService) Status(ctx context.Context, req *encservicetype.StatusRequest) (*encservicetype.StatusResponse, error)
Click to show internal directories.
Click to hide internal directories.