server

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

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

func NewServer

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

func NewSocketServer

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

Types

type GRPCServer

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

func (*GRPCServer) OnStart

func (s *GRPCServer) OnStart() error

func (*GRPCServer) OnStop

func (s *GRPCServer) OnStop()

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