server

package
v0.31.0-dev0-fix0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

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

NewGRPCServer returns a new gRPC ABCI server

func NewServer

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

func NewSocketServer

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

Types

type GRPCServer

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

func (*GRPCServer) OnStart

func (s *GRPCServer) OnStart() error

OnStart starts the gRPC service

func (*GRPCServer) OnStop

func (s *GRPCServer) OnStop()

OnStop stops the gRPC server

type SocketServer

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

func (*SocketServer) OnStart

func (s *SocketServer) OnStart() error

func (*SocketServer) OnStop

func (s *SocketServer) OnStop()

Jump to

Keyboard shortcuts

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