Documentation ¶
Overview ¶
Package server is used to start a new ABCI server.
It contains two server implementation:
- gRPC server
- socket server
Index ¶
- func NewGRPCServer(logger log.Logger, protoAddr string, app types.Application) service.Service
- func NewServer(logger log.Logger, protoAddr, transport string, app types.Application) (service.Service, error)
- func NewSocketServer(logger log.Logger, protoAddr string, app types.Application) service.Service
- type GRPCServer
- type SocketServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCServer ¶
NewGRPCServer returns a new gRPC ABCI server
func NewSocketServer ¶
Types ¶
type GRPCServer ¶
type GRPCServer struct { service.BaseService // contains filtered or unexported fields }
type SocketServer ¶
type SocketServer struct { service.BaseService // contains filtered or unexported fields }
func (*SocketServer) OnStop ¶
func (s *SocketServer) OnStop()
Click to show internal directories.
Click to hide internal directories.