net

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyServer

type EmptyServer struct{}

EmptyServer is an PublicServer + ProtocolServer that does nothing

func (*EmptyServer) BackupDatabase added in v1.2.6

BackupDatabase is an empty implementation

func (*EmptyServer) BroadcastDKG

func (s *EmptyServer) BroadcastDKG(context.Context, *drand.DKGPacket) (*drand.Empty, error)

BroadcastDKG is an empty implementation

func (*EmptyServer) ChainInfo

ChainInfo is an empty implementation

func (*EmptyServer) CollectiveKey

CollectiveKey is an empty implementation

func (*EmptyServer) GetIdentity

func (s *EmptyServer) GetIdentity(ctx context.Context, in *drand.IdentityRequest) (*drand.Identity, error)

GetIdentity returns the identity of the server

func (*EmptyServer) GroupFile

GroupFile is an empty implementation

func (*EmptyServer) Home

Home is an empty implementation

func (*EmptyServer) InitDKG

InitDKG is an empty implementation

func (*EmptyServer) InitReshare

InitReshare is an empty implementation

func (*EmptyServer) PartialBeacon

PartialBeacon is an empty implementation

func (*EmptyServer) PingPong

func (s *EmptyServer) PingPong(context.Context, *drand.Ping) (*drand.Pong, error)

PingPong is an empty implementation

func (*EmptyServer) PrivateKey

PrivateKey is an empty implementation

func (*EmptyServer) PrivateRand

PrivateRand is an empty implementation

func (*EmptyServer) PublicKey

PublicKey is an empty implementation

func (*EmptyServer) PublicRand

PublicRand is an empty implementation

func (*EmptyServer) PublicRandStream

PublicRandStream is an empty implementation

func (*EmptyServer) PushDKGInfo

PushDKGInfo is an empty implementation

func (*EmptyServer) Share

Share is an empty implementation

func (*EmptyServer) Shutdown

Shutdown is an empty implementation

func (*EmptyServer) SignalDKGParticipant

func (s *EmptyServer) SignalDKGParticipant(context.Context, *drand.SignalDKGPacket) (*drand.Empty, error)

SignalDKGParticipant is an empty implementation

func (*EmptyServer) StartFollowChain

StartFollowChain is the control method to instruct a drand daemon to follow its chain

func (*EmptyServer) SyncChain

SyncChain is an empty implementation

Jump to

Keyboard shortcuts

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