server

package
v0.0.0-...-00adcb5 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

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(logger log.StandardLogger, protoAddr string, app types.ACEIApplicationServer,
) (ssrv.Service, error)

NewGRPCServer returns a new gRPC ABCI server

func NewServer

func NewServer(logger log.StandardLogger, protoAddr, transport string, app types.Application,
) (ssrv.Service, error)

func NewSocketServer

func NewSocketServer(logger log.StandardLogger, protoAddr string, app types.Application,
) (ssrv.Service, error)

Types

type GRPCServer

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

type SocketServer

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

Jump to

Keyboard shortcuts

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