peer

package
v2.0.8-beta Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c config.ConnectionConfig, log *zap.Logger) (api.Peer, error)

New returns new peer instance based on peer config

func NewFromGRPC

func NewFromGRPC(conn *grpc.ClientConn, log *zap.Logger, timeout time.Duration) (api.Peer, error)

NewFromGRPC allows to initialize peer from existing GRPC connection

func NewProcessor

func NewProcessor(channelName string) api.PeerProcessor

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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