p2p

package
v1.4.10 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInterceptedPeerShard

func NewInterceptedPeerShard(args ArgInterceptedPeerShard) (*interceptedPeerShard, error)

NewInterceptedPeerShard creates a new intercepted peer shard instance

Types

type ArgInterceptedPeerShard

type ArgInterceptedPeerShard struct {
	Marshaller  marshal.Marshalizer
	DataBuff    []byte
	NumOfShards uint32
}

ArgInterceptedPeerShard is the argument used in the intercepted peer shard constructor

Jump to

Keyboard shortcuts

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