node

package
v2.0.0-...-a1a1566 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection(host, port string) (*Connection, error)

func (*Connection) Close

func (c *Connection) Close() error

func (*Connection) Invoke

func (c *Connection) Invoke(method string, reply interface{}) error

func (*Connection) InvokeClient

func (c *Connection) InvokeClient(height int, makeRequestCb func(*grpc.ClientConn, context.Context, *metadata.MD) (interface{}, error)) (interface{}, int, error)

Jump to

Keyboard shortcuts

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