peer

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 16 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