tendermint: github.com/tendermint/tendermint/abci/server Index | Files

package server

import "github.com/tendermint/tendermint/abci/server"

Package server is used to start a new ABCI server.

It contains two server implementation:

* gRPC server
* socket server

Index

Package Files

grpc_server.go server.go socket_server.go

func NewGRPCServer Uses

func NewGRPCServer(protoAddr string, app types.ABCIApplicationServer) service.Service

NewGRPCServer returns a new gRPC ABCI server

func NewServer Uses

func NewServer(protoAddr, transport string, app types.Application) (service.Service, error)

func NewSocketServer Uses

func NewSocketServer(protoAddr string, app types.Application) service.Service

type GRPCServer Uses

type GRPCServer struct {
    service.BaseService
    // contains filtered or unexported fields
}

func (*GRPCServer) OnStart Uses

func (s *GRPCServer) OnStart() error

OnStart starts the gRPC service.

func (*GRPCServer) OnStop Uses

func (s *GRPCServer) OnStop()

OnStop stops the gRPC server.

type SocketServer Uses

type SocketServer struct {
    service.BaseService
    // contains filtered or unexported fields
}

func (*SocketServer) OnStart Uses

func (s *SocketServer) OnStart() error

func (*SocketServer) OnStop Uses

func (s *SocketServer) OnStop()

func (*SocketServer) SetLogger Uses

func (s *SocketServer) SetLogger(l tmlog.Logger)

Package server imports 12 packages (graph) and is imported by 22 packages. Updated 2020-04-30. Refresh now. Tools for package owners.