Documentation ¶
Index ¶
- type EmptyServer
- func (s *EmptyServer) BroadcastDKG(context.Context, *drand.DKGPacket) (*drand.Empty, error)
- func (s *EmptyServer) ChainInfo(context.Context, *drand.ChainInfoRequest) (*drand.ChainInfoPacket, error)
- func (s *EmptyServer) CollectiveKey(context.Context, *drand.CokeyRequest) (*drand.CokeyResponse, error)
- func (s *EmptyServer) GetIdentity(ctx context.Context, in *drand.IdentityRequest) (*drand.Identity, error)
- func (s *EmptyServer) GroupFile(context.Context, *drand.GroupRequest) (*drand.GroupPacket, error)
- func (s *EmptyServer) Home(context.Context, *drand.HomeRequest) (*drand.HomeResponse, error)
- func (s *EmptyServer) InitDKG(context.Context, *drand.InitDKGPacket) (*drand.GroupPacket, error)
- func (s *EmptyServer) InitReshare(context.Context, *drand.InitResharePacket) (*drand.GroupPacket, error)
- func (s *EmptyServer) PartialBeacon(context.Context, *drand.PartialBeaconPacket) (*drand.Empty, error)
- func (s *EmptyServer) PingPong(context.Context, *drand.Ping) (*drand.Pong, error)
- func (s *EmptyServer) PrivateKey(context.Context, *drand.PrivateKeyRequest) (*drand.PrivateKeyResponse, error)
- func (s *EmptyServer) PrivateRand(context.Context, *drand.PrivateRandRequest) (*drand.PrivateRandResponse, error)
- func (s *EmptyServer) PublicKey(context.Context, *drand.PublicKeyRequest) (*drand.PublicKeyResponse, error)
- func (s *EmptyServer) PublicRand(context.Context, *drand.PublicRandRequest) (*drand.PublicRandResponse, error)
- func (s *EmptyServer) PublicRandStream(*drand.PublicRandRequest, drand.Public_PublicRandStreamServer) error
- func (s *EmptyServer) PushDKGInfo(context.Context, *drand.DKGInfoPacket) (*drand.Empty, error)
- func (s *EmptyServer) Share(context.Context, *drand.ShareRequest) (*drand.ShareResponse, error)
- func (s *EmptyServer) Shutdown(context.Context, *drand.ShutdownRequest) (*drand.ShutdownResponse, error)
- func (s *EmptyServer) SignalDKGParticipant(context.Context, *drand.SignalDKGPacket) (*drand.Empty, error)
- func (s *EmptyServer) StartFollowChain(*drand.StartFollowRequest, drand.Control_StartFollowChainServer) error
- func (s *EmptyServer) SyncChain(*drand.SyncRequest, drand.Protocol_SyncChainServer) error
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) BroadcastDKG ¶
BroadcastDKG is an empty implementation
func (*EmptyServer) ChainInfo ¶
func (s *EmptyServer) ChainInfo(context.Context, *drand.ChainInfoRequest) (*drand.ChainInfoPacket, error)
ChainInfo is an empty implementation
func (*EmptyServer) CollectiveKey ¶
func (s *EmptyServer) CollectiveKey(context.Context, *drand.CokeyRequest) (*drand.CokeyResponse, error)
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 ¶
func (s *EmptyServer) GroupFile(context.Context, *drand.GroupRequest) (*drand.GroupPacket, error)
GroupFile is an empty implementation
func (*EmptyServer) Home ¶
func (s *EmptyServer) Home(context.Context, *drand.HomeRequest) (*drand.HomeResponse, error)
Home is an empty implementation
func (*EmptyServer) InitDKG ¶
func (s *EmptyServer) InitDKG(context.Context, *drand.InitDKGPacket) (*drand.GroupPacket, error)
InitDKG is an empty implementation
func (*EmptyServer) InitReshare ¶
func (s *EmptyServer) InitReshare(context.Context, *drand.InitResharePacket) (*drand.GroupPacket, error)
InitReshare is an empty implementation
func (*EmptyServer) PartialBeacon ¶
func (s *EmptyServer) PartialBeacon(context.Context, *drand.PartialBeaconPacket) (*drand.Empty, error)
PartialBeacon is an empty implementation
func (*EmptyServer) PrivateKey ¶
func (s *EmptyServer) PrivateKey(context.Context, *drand.PrivateKeyRequest) (*drand.PrivateKeyResponse, error)
PrivateKey is an empty implementation
func (*EmptyServer) PrivateRand ¶
func (s *EmptyServer) PrivateRand(context.Context, *drand.PrivateRandRequest) (*drand.PrivateRandResponse, error)
PrivateRand is an empty implementation
func (*EmptyServer) PublicKey ¶
func (s *EmptyServer) PublicKey(context.Context, *drand.PublicKeyRequest) (*drand.PublicKeyResponse, error)
PublicKey is an empty implementation
func (*EmptyServer) PublicRand ¶
func (s *EmptyServer) PublicRand(context.Context, *drand.PublicRandRequest) (*drand.PublicRandResponse, error)
PublicRand is an empty implementation
func (*EmptyServer) PublicRandStream ¶
func (s *EmptyServer) PublicRandStream(*drand.PublicRandRequest, drand.Public_PublicRandStreamServer) error
PublicRandStream is an empty implementation
func (*EmptyServer) PushDKGInfo ¶
func (s *EmptyServer) PushDKGInfo(context.Context, *drand.DKGInfoPacket) (*drand.Empty, error)
PushDKGInfo is an empty implementation
func (*EmptyServer) Share ¶
func (s *EmptyServer) Share(context.Context, *drand.ShareRequest) (*drand.ShareResponse, error)
Share is an empty implementation
func (*EmptyServer) Shutdown ¶
func (s *EmptyServer) Shutdown(context.Context, *drand.ShutdownRequest) (*drand.ShutdownResponse, error)
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 ¶
func (s *EmptyServer) StartFollowChain(*drand.StartFollowRequest, drand.Control_StartFollowChainServer) error
StartFollowChain is the control method to instruct a drand daemon to follow its chain
func (*EmptyServer) SyncChain ¶
func (s *EmptyServer) SyncChain(*drand.SyncRequest, drand.Protocol_SyncChainServer) error
SyncChain is an empty implementation