grpc

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const MaxBlockLookback = 1000

MaxBlockLookback constant

Variables

This section is empty.

Functions

func EventsServer added in v0.5.0

func EventsServer(bc *blockchain.Blockchain) *eventsServer

func NewBlockchainService added in v0.5.0

func NewBlockchainService(blockchain *blockchain.Blockchain, nview *query.NodeView) *blockchainService

func NewNetworkService added in v0.5.0

func NewNetworkService(blockchain *blockchain.Blockchain, nView *query.NodeView) *networkService

func NewTransactorService added in v0.5.0

func NewTransactorService(con context.Context, transaction *execution.Transactor, nview *query.NodeView) *transcatorService

Types

type Server added in v0.5.0

type Server struct {
	*grpc.Server
}

func NewGRPCServer

func NewGRPCServer() *Server

func (*Server) Start added in v0.5.0

func (s *Server) Start(addr string) error

func (*Server) StartGateway added in v0.5.0

func (s *Server) StartGateway(ctx context.Context, grpcAddr, gatewayAddr string) error

func (*Server) Stop added in v0.5.0

func (s *Server) Stop()

Directories

Path Synopsis
Package proto3 is a reverse proxy.
Package proto3 is a reverse proxy.

Jump to

Keyboard shortcuts

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