Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransactionServer ¶
func NewTransactionServer(service *txn_service.TransactionService) *transactionServer
Types ¶
type GRPCServer ¶
type GRPCServer struct {
// contains filtered or unexported fields
}
func NewGRPCServer ¶
func NewGRPCServer(opt []grpc.ServerOption, services ...GrpcService) *GRPCServer
func (*GRPCServer) Close ¶
func (s *GRPCServer) Close()
func (*GRPCServer) Serve ¶
func (s *GRPCServer) Serve(port uint) error
type GrpcService ¶
type GrpcService interface {
ServiceDesc() *grpc.ServiceDesc
}
Click to show internal directories.
Click to hide internal directories.