api

package
v0.0.0-...-076bdcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 10 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL