Documentation ¶
Overview ¶
Package server is used to start a new ABCI server.
It contains two server implementation:
- gRPC server
- socket server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(protoAddr string, app types.ABCIApplicationServer) service.Service
NewGRPCServer returns a new gRPC ABCI server
func NewSocketServer ¶
func NewSocketServer(protoAddr string, app types.Application) service.Service
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) OnStart ¶
func (s *SocketServer) OnStart() error
func (*SocketServer) OnStop ¶
func (s *SocketServer) OnStop()
func (*SocketServer) SetLogger ¶ added in v0.40.0
func (s *SocketServer) SetLogger(l tmlog.Logger)
Click to show internal directories.
Click to hide internal directories.