Documentation ¶
Index ¶
- Variables
- func GetProtoTypeName(msg proto.Message) string
- type GRPCServer
- func (s *GRPCServer) GetServer() *grpc.Server
- func (s *GRPCServer) GetTransaction(ctx context.Context, req *proto.GetTransactionRequest) (*proto.TransactionResponse, error)
- func (s *GRPCServer) Ping(ctx context.Context, req *proto.PingRequest) (*proto.PingResponse, error)
- func (s *GRPCServer) SendTransaction(_ context.Context, req *proto.SendTransactionRequest) (*proto.TransactionResponse, error)
- func (s *GRPCServer) Serve(lis net.Listener) error
- type TxHash
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TrackPlaysProtoName string ManageEntitiesProtoName string SlaRollupProtoName string SlaNodeReportProtoName string )
Functions ¶
func GetProtoTypeName ¶
Types ¶
type GRPCServer ¶
type GRPCServer struct { proto.UnimplementedProtocolServer // contains filtered or unexported fields }
func NewGRPCServer ¶
func (*GRPCServer) GetServer ¶
func (s *GRPCServer) GetServer() *grpc.Server
func (*GRPCServer) GetTransaction ¶
func (s *GRPCServer) GetTransaction(ctx context.Context, req *proto.GetTransactionRequest) (*proto.TransactionResponse, error)
func (*GRPCServer) Ping ¶
func (s *GRPCServer) Ping(ctx context.Context, req *proto.PingRequest) (*proto.PingResponse, error)
func (*GRPCServer) SendTransaction ¶
func (s *GRPCServer) SendTransaction(_ context.Context, req *proto.SendTransactionRequest) (*proto.TransactionResponse, error)
Click to show internal directories.
Click to hide internal directories.