Versions in this module Expand all Collapse all v0 v0.9.3 Nov 20, 2020 v0.9.0 Oct 19, 2020 Changes in this version + func RegisterP2PServiceServer(s *grpc.Server, srv P2PServiceServer) + type BHMsg struct + Payload []byte + Signature []byte + Type uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BHMsg) Descriptor() ([]byte, []int) + func (*BHMsg) ProtoMessage() + func (m *BHMsg) GetPayload() []byte + func (m *BHMsg) GetSignature() []byte + func (m *BHMsg) GetType() uint32 + func (m *BHMsg) Reset() + func (m *BHMsg) String() string + func (m *BHMsg) XXX_DiscardUnknown() + func (m *BHMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BHMsg) XXX_Merge(src proto.Message) + func (m *BHMsg) XXX_Size() int + func (m *BHMsg) XXX_Unmarshal(b []byte) error + type P2PServiceClient interface + Communicate func(ctx context.Context, opts ...grpc.CallOption) (P2PService_CommunicateClient, error) + func NewP2PServiceClient(cc *grpc.ClientConn) P2PServiceClient + type P2PServiceServer interface + Communicate func(P2PService_CommunicateServer) error + type P2PService_CommunicateClient interface + Recv func() (*BHMsg, error) + Send func(*BHMsg) error + type P2PService_CommunicateServer interface + Recv func() (*BHMsg, error) + Send func(*BHMsg) error + type UnimplementedP2PServiceServer struct + func (*UnimplementedP2PServiceServer) Communicate(srv P2PService_CommunicateServer) error