peer

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 14 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