Documentation ¶
Overview ¶
helper functinalities used to create mailbox messages
Package mailbox is a generated protocol buffer package. It is generated from these files: mailbox.proto It has these top-level messages: NewRoundRequest NewRoundResponse EndRoundRequest EndRoundResponse RegisterUsersRequest RegisterUsersResponse RegisteredUsersRequest RegisteredUsersResponse Inbox Mail DeliverMailsRequest DeliverMailsResponse GetMailsRequest GetMailsResponse
Index ¶
- Variables
- func MarshalMail(mail *Mail) []byte
- func OpenMail(theirKey *[32]byte, myKey *[32]byte, nonce *[24]byte, ciphertext []byte) []byte
- func RegisterMailboxServer(s *grpc.Server, srv MailboxServer)
- type DeliverMailsRequest
- func (*DeliverMailsRequest) Descriptor() ([]byte, []int)
- func (m *DeliverMailsRequest) GetMails() []*Mail
- func (m *DeliverMailsRequest) GetRound() uint64
- func (m *DeliverMailsRequest) Marshal() (dAtA []byte, err error)
- func (m *DeliverMailsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DeliverMailsRequest) ProtoMessage()
- func (m *DeliverMailsRequest) Reset()
- func (m *DeliverMailsRequest) Size() (n int)
- func (m *DeliverMailsRequest) String() string
- func (m *DeliverMailsRequest) Unmarshal(dAtA []byte) error
- type DeliverMailsResponse
- func (*DeliverMailsResponse) Descriptor() ([]byte, []int)
- func (m *DeliverMailsResponse) Marshal() (dAtA []byte, err error)
- func (m *DeliverMailsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*DeliverMailsResponse) ProtoMessage()
- func (m *DeliverMailsResponse) Reset()
- func (m *DeliverMailsResponse) Size() (n int)
- func (m *DeliverMailsResponse) String() string
- func (m *DeliverMailsResponse) Unmarshal(dAtA []byte) error
- type EndRoundRequest
- func (*EndRoundRequest) Descriptor() ([]byte, []int)
- func (m *EndRoundRequest) GetRound() uint64
- func (m *EndRoundRequest) Marshal() (dAtA []byte, err error)
- func (m *EndRoundRequest) MarshalTo(dAtA []byte) (int, error)
- func (*EndRoundRequest) ProtoMessage()
- func (m *EndRoundRequest) Reset()
- func (m *EndRoundRequest) Size() (n int)
- func (m *EndRoundRequest) String() string
- func (m *EndRoundRequest) Unmarshal(dAtA []byte) error
- type EndRoundResponse
- func (*EndRoundResponse) Descriptor() ([]byte, []int)
- func (m *EndRoundResponse) Marshal() (dAtA []byte, err error)
- func (m *EndRoundResponse) MarshalTo(dAtA []byte) (int, error)
- func (*EndRoundResponse) ProtoMessage()
- func (m *EndRoundResponse) Reset()
- func (m *EndRoundResponse) Size() (n int)
- func (m *EndRoundResponse) String() string
- func (m *EndRoundResponse) Unmarshal(dAtA []byte) error
- type GetMailsRequest
- func (*GetMailsRequest) Descriptor() ([]byte, []int)
- func (m *GetMailsRequest) GetRound() uint64
- func (m *GetMailsRequest) GetUserKeys() [][]byte
- func (m *GetMailsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetMailsRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetMailsRequest) ProtoMessage()
- func (m *GetMailsRequest) Reset()
- func (m *GetMailsRequest) Size() (n int)
- func (m *GetMailsRequest) String() string
- func (m *GetMailsRequest) Unmarshal(dAtA []byte) error
- type GetMailsResponse
- func (*GetMailsResponse) Descriptor() ([]byte, []int)
- func (m *GetMailsResponse) GetInboxes() []*Inbox
- func (m *GetMailsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetMailsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetMailsResponse) ProtoMessage()
- func (m *GetMailsResponse) Reset()
- func (m *GetMailsResponse) Size() (n int)
- func (m *GetMailsResponse) String() string
- func (m *GetMailsResponse) Unmarshal(dAtA []byte) error
- type Inbox
- func (*Inbox) Descriptor() ([]byte, []int)
- func (m *Inbox) GetMessages() [][]byte
- func (m *Inbox) GetUserKey() []byte
- func (m *Inbox) Marshal() (dAtA []byte, err error)
- func (m *Inbox) MarshalTo(dAtA []byte) (int, error)
- func (*Inbox) ProtoMessage()
- func (m *Inbox) Reset()
- func (m *Inbox) Size() (n int)
- func (m *Inbox) String() string
- func (m *Inbox) Unmarshal(dAtA []byte) error
- type Mail
- func (*Mail) Descriptor() ([]byte, []int)
- func (m *Mail) GetMessage() []byte
- func (m *Mail) GetUserKey() []byte
- func (m *Mail) Marshal() (dAtA []byte, err error)
- func (m *Mail) MarshalTo(dAtA []byte) (int, error)
- func (*Mail) ProtoMessage()
- func (m *Mail) Reset()
- func (m *Mail) Size() (n int)
- func (m *Mail) String() string
- func (m *Mail) Unmarshal(dAtA []byte) error
- type MailboxClient
- type MailboxServer
- type Mailbox_DeliverMailsClient
- type Mailbox_DeliverMailsServer
- type Mailbox_GetMailsClient
- type Mailbox_GetMailsServer
- type Mailbox_RegisterUsersClient
- type Mailbox_RegisterUsersServer
- type Mailbox_RegisteredUsersClient
- type Mailbox_RegisteredUsersServer
- type NewRoundRequest
- func (*NewRoundRequest) Descriptor() ([]byte, []int)
- func (m *NewRoundRequest) GetRound() uint64
- func (m *NewRoundRequest) Marshal() (dAtA []byte, err error)
- func (m *NewRoundRequest) MarshalTo(dAtA []byte) (int, error)
- func (*NewRoundRequest) ProtoMessage()
- func (m *NewRoundRequest) Reset()
- func (m *NewRoundRequest) Size() (n int)
- func (m *NewRoundRequest) String() string
- func (m *NewRoundRequest) Unmarshal(dAtA []byte) error
- type NewRoundResponse
- func (*NewRoundResponse) Descriptor() ([]byte, []int)
- func (m *NewRoundResponse) Marshal() (dAtA []byte, err error)
- func (m *NewRoundResponse) MarshalTo(dAtA []byte) (int, error)
- func (*NewRoundResponse) ProtoMessage()
- func (m *NewRoundResponse) Reset()
- func (m *NewRoundResponse) Size() (n int)
- func (m *NewRoundResponse) String() string
- func (m *NewRoundResponse) Unmarshal(dAtA []byte) error
- type RegisterUsersRequest
- func (*RegisterUsersRequest) Descriptor() ([]byte, []int)
- func (m *RegisterUsersRequest) GetExpected() []uint64
- func (m *RegisterUsersRequest) GetRound() uint64
- func (m *RegisterUsersRequest) GetUserKeys() [][]byte
- func (m *RegisterUsersRequest) Marshal() (dAtA []byte, err error)
- func (m *RegisterUsersRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RegisterUsersRequest) ProtoMessage()
- func (m *RegisterUsersRequest) Reset()
- func (m *RegisterUsersRequest) Size() (n int)
- func (m *RegisterUsersRequest) String() string
- func (m *RegisterUsersRequest) Unmarshal(dAtA []byte) error
- type RegisterUsersResponse
- func (*RegisterUsersResponse) Descriptor() ([]byte, []int)
- func (m *RegisterUsersResponse) Marshal() (dAtA []byte, err error)
- func (m *RegisterUsersResponse) MarshalTo(dAtA []byte) (int, error)
- func (*RegisterUsersResponse) ProtoMessage()
- func (m *RegisterUsersResponse) Reset()
- func (m *RegisterUsersResponse) Size() (n int)
- func (m *RegisterUsersResponse) String() string
- func (m *RegisterUsersResponse) Unmarshal(dAtA []byte) error
- type RegisteredUsersRequest
- func (*RegisteredUsersRequest) Descriptor() ([]byte, []int)
- func (m *RegisteredUsersRequest) GetRound() uint64
- func (m *RegisteredUsersRequest) Marshal() (dAtA []byte, err error)
- func (m *RegisteredUsersRequest) MarshalTo(dAtA []byte) (int, error)
- func (*RegisteredUsersRequest) ProtoMessage()
- func (m *RegisteredUsersRequest) Reset()
- func (m *RegisteredUsersRequest) Size() (n int)
- func (m *RegisteredUsersRequest) String() string
- func (m *RegisteredUsersRequest) Unmarshal(dAtA []byte) error
- type RegisteredUsersResponse
- func (*RegisteredUsersResponse) Descriptor() ([]byte, []int)
- func (m *RegisteredUsersResponse) GetUserKeys() [][]byte
- func (m *RegisteredUsersResponse) Marshal() (dAtA []byte, err error)
- func (m *RegisteredUsersResponse) MarshalTo(dAtA []byte) (int, error)
- func (*RegisteredUsersResponse) ProtoMessage()
- func (m *RegisteredUsersResponse) Reset()
- func (m *RegisteredUsersResponse) Size() (n int)
- func (m *RegisteredUsersResponse) String() string
- func (m *RegisteredUsersResponse) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMailbox = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMailbox = fmt.Errorf("proto: integer overflow") )
Functions ¶
func MarshalMail ¶
func RegisterMailboxServer ¶
func RegisterMailboxServer(s *grpc.Server, srv MailboxServer)
Types ¶
type DeliverMailsRequest ¶
type DeliverMailsRequest struct { Round uint64 `protobuf:"fixed64,1,opt,name=round,proto3" json:"round,omitempty"` Mails []*Mail `protobuf:"bytes,2,rep,name=mails" json:"mails,omitempty"` }
func (*DeliverMailsRequest) Descriptor ¶
func (*DeliverMailsRequest) Descriptor() ([]byte, []int)
func (*DeliverMailsRequest) GetMails ¶
func (m *DeliverMailsRequest) GetMails() []*Mail
func (*DeliverMailsRequest) GetRound ¶
func (m *DeliverMailsRequest) GetRound() uint64
func (*DeliverMailsRequest) Marshal ¶
func (m *DeliverMailsRequest) Marshal() (dAtA []byte, err error)
func (*DeliverMailsRequest) MarshalTo ¶
func (m *DeliverMailsRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeliverMailsRequest) ProtoMessage ¶
func (*DeliverMailsRequest) ProtoMessage()
func (*DeliverMailsRequest) Reset ¶
func (m *DeliverMailsRequest) Reset()
func (*DeliverMailsRequest) Size ¶
func (m *DeliverMailsRequest) Size() (n int)
func (*DeliverMailsRequest) String ¶
func (m *DeliverMailsRequest) String() string
func (*DeliverMailsRequest) Unmarshal ¶
func (m *DeliverMailsRequest) Unmarshal(dAtA []byte) error
type DeliverMailsResponse ¶
type DeliverMailsResponse struct { }
func (*DeliverMailsResponse) Descriptor ¶
func (*DeliverMailsResponse) Descriptor() ([]byte, []int)
func (*DeliverMailsResponse) Marshal ¶
func (m *DeliverMailsResponse) Marshal() (dAtA []byte, err error)
func (*DeliverMailsResponse) MarshalTo ¶
func (m *DeliverMailsResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeliverMailsResponse) ProtoMessage ¶
func (*DeliverMailsResponse) ProtoMessage()
func (*DeliverMailsResponse) Reset ¶
func (m *DeliverMailsResponse) Reset()
func (*DeliverMailsResponse) Size ¶
func (m *DeliverMailsResponse) Size() (n int)
func (*DeliverMailsResponse) String ¶
func (m *DeliverMailsResponse) String() string
func (*DeliverMailsResponse) Unmarshal ¶
func (m *DeliverMailsResponse) Unmarshal(dAtA []byte) error
type EndRoundRequest ¶
type EndRoundRequest struct {
Round uint64 `protobuf:"fixed64,1,opt,name=round,proto3" json:"round,omitempty"`
}
func (*EndRoundRequest) Descriptor ¶
func (*EndRoundRequest) Descriptor() ([]byte, []int)
func (*EndRoundRequest) GetRound ¶
func (m *EndRoundRequest) GetRound() uint64
func (*EndRoundRequest) Marshal ¶
func (m *EndRoundRequest) Marshal() (dAtA []byte, err error)
func (*EndRoundRequest) ProtoMessage ¶
func (*EndRoundRequest) ProtoMessage()
func (*EndRoundRequest) Reset ¶
func (m *EndRoundRequest) Reset()
func (*EndRoundRequest) Size ¶
func (m *EndRoundRequest) Size() (n int)
func (*EndRoundRequest) String ¶
func (m *EndRoundRequest) String() string
func (*EndRoundRequest) Unmarshal ¶
func (m *EndRoundRequest) Unmarshal(dAtA []byte) error
type EndRoundResponse ¶
type EndRoundResponse struct { }
func (*EndRoundResponse) Descriptor ¶
func (*EndRoundResponse) Descriptor() ([]byte, []int)
func (*EndRoundResponse) Marshal ¶
func (m *EndRoundResponse) Marshal() (dAtA []byte, err error)
func (*EndRoundResponse) ProtoMessage ¶
func (*EndRoundResponse) ProtoMessage()
func (*EndRoundResponse) Reset ¶
func (m *EndRoundResponse) Reset()
func (*EndRoundResponse) Size ¶
func (m *EndRoundResponse) Size() (n int)
func (*EndRoundResponse) String ¶
func (m *EndRoundResponse) String() string
func (*EndRoundResponse) Unmarshal ¶
func (m *EndRoundResponse) Unmarshal(dAtA []byte) error
type GetMailsRequest ¶
type GetMailsRequest struct { Round uint64 `protobuf:"fixed64,1,opt,name=round,proto3" json:"round,omitempty"` UserKeys [][]byte `protobuf:"bytes,2,rep,name=user_keys,json=userKeys" json:"user_keys,omitempty"` }
func (*GetMailsRequest) Descriptor ¶
func (*GetMailsRequest) Descriptor() ([]byte, []int)
func (*GetMailsRequest) GetRound ¶
func (m *GetMailsRequest) GetRound() uint64
func (*GetMailsRequest) GetUserKeys ¶
func (m *GetMailsRequest) GetUserKeys() [][]byte
func (*GetMailsRequest) Marshal ¶
func (m *GetMailsRequest) Marshal() (dAtA []byte, err error)
func (*GetMailsRequest) ProtoMessage ¶
func (*GetMailsRequest) ProtoMessage()
func (*GetMailsRequest) Reset ¶
func (m *GetMailsRequest) Reset()
func (*GetMailsRequest) Size ¶
func (m *GetMailsRequest) Size() (n int)
func (*GetMailsRequest) String ¶
func (m *GetMailsRequest) String() string
func (*GetMailsRequest) Unmarshal ¶
func (m *GetMailsRequest) Unmarshal(dAtA []byte) error
type GetMailsResponse ¶
type GetMailsResponse struct {
Inboxes []*Inbox `protobuf:"bytes,1,rep,name=inboxes" json:"inboxes,omitempty"`
}
func (*GetMailsResponse) Descriptor ¶
func (*GetMailsResponse) Descriptor() ([]byte, []int)
func (*GetMailsResponse) GetInboxes ¶
func (m *GetMailsResponse) GetInboxes() []*Inbox
func (*GetMailsResponse) Marshal ¶
func (m *GetMailsResponse) Marshal() (dAtA []byte, err error)
func (*GetMailsResponse) ProtoMessage ¶
func (*GetMailsResponse) ProtoMessage()
func (*GetMailsResponse) Reset ¶
func (m *GetMailsResponse) Reset()
func (*GetMailsResponse) Size ¶
func (m *GetMailsResponse) Size() (n int)
func (*GetMailsResponse) String ¶
func (m *GetMailsResponse) String() string
func (*GetMailsResponse) Unmarshal ¶
func (m *GetMailsResponse) Unmarshal(dAtA []byte) error
type Inbox ¶
type Inbox struct { UserKey []byte `protobuf:"bytes,1,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` Messages [][]byte `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"` }
func (*Inbox) Descriptor ¶
func (*Inbox) GetMessages ¶
func (*Inbox) GetUserKey ¶
func (*Inbox) ProtoMessage ¶
func (*Inbox) ProtoMessage()
type Mail ¶
type Mail struct { UserKey []byte `protobuf:"bytes,1,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` }
func UnmarshalMail ¶
func (*Mail) Descriptor ¶
func (*Mail) GetMessage ¶
func (*Mail) GetUserKey ¶
func (*Mail) ProtoMessage ¶
func (*Mail) ProtoMessage()
type MailboxClient ¶
type MailboxClient interface { NewRound(ctx context.Context, in *NewRoundRequest, opts ...grpc.CallOption) (*NewRoundResponse, error) EndRound(ctx context.Context, in *EndRoundRequest, opts ...grpc.CallOption) (*EndRoundResponse, error) RegisterUsers(ctx context.Context, opts ...grpc.CallOption) (Mailbox_RegisterUsersClient, error) RegisteredUsers(ctx context.Context, in *RegisteredUsersRequest, opts ...grpc.CallOption) (Mailbox_RegisteredUsersClient, error) DeliverMails(ctx context.Context, opts ...grpc.CallOption) (Mailbox_DeliverMailsClient, error) GetMails(ctx context.Context, opts ...grpc.CallOption) (Mailbox_GetMailsClient, error) }
func NewMailboxClient ¶
func NewMailboxClient(cc *grpc.ClientConn) MailboxClient
type MailboxServer ¶
type MailboxServer interface { NewRound(context.Context, *NewRoundRequest) (*NewRoundResponse, error) EndRound(context.Context, *EndRoundRequest) (*EndRoundResponse, error) RegisterUsers(Mailbox_RegisterUsersServer) error RegisteredUsers(*RegisteredUsersRequest, Mailbox_RegisteredUsersServer) error DeliverMails(Mailbox_DeliverMailsServer) error GetMails(Mailbox_GetMailsServer) error }
func NewMailboxServer ¶
func NewMailboxServer(coordinator ecdsa.PublicKey) MailboxServer
type Mailbox_DeliverMailsClient ¶
type Mailbox_DeliverMailsClient interface { Send(*DeliverMailsRequest) error CloseAndRecv() (*DeliverMailsResponse, error) grpc.ClientStream }
type Mailbox_DeliverMailsServer ¶
type Mailbox_DeliverMailsServer interface { SendAndClose(*DeliverMailsResponse) error Recv() (*DeliverMailsRequest, error) grpc.ServerStream }
type Mailbox_GetMailsClient ¶
type Mailbox_GetMailsClient interface { Send(*GetMailsRequest) error Recv() (*GetMailsResponse, error) grpc.ClientStream }
type Mailbox_GetMailsServer ¶
type Mailbox_GetMailsServer interface { Send(*GetMailsResponse) error Recv() (*GetMailsRequest, error) grpc.ServerStream }
type Mailbox_RegisterUsersClient ¶
type Mailbox_RegisterUsersClient interface { Send(*RegisterUsersRequest) error CloseAndRecv() (*RegisterUsersResponse, error) grpc.ClientStream }
type Mailbox_RegisterUsersServer ¶
type Mailbox_RegisterUsersServer interface { SendAndClose(*RegisterUsersResponse) error Recv() (*RegisterUsersRequest, error) grpc.ServerStream }
type Mailbox_RegisteredUsersClient ¶
type Mailbox_RegisteredUsersClient interface { Recv() (*RegisteredUsersResponse, error) grpc.ClientStream }
type Mailbox_RegisteredUsersServer ¶
type Mailbox_RegisteredUsersServer interface { Send(*RegisteredUsersResponse) error grpc.ServerStream }
type NewRoundRequest ¶
type NewRoundRequest struct {
Round uint64 `protobuf:"fixed64,1,opt,name=round,proto3" json:"round,omitempty"`
}
func (*NewRoundRequest) Descriptor ¶
func (*NewRoundRequest) Descriptor() ([]byte, []int)
func (*NewRoundRequest) GetRound ¶
func (m *NewRoundRequest) GetRound() uint64
func (*NewRoundRequest) Marshal ¶
func (m *NewRoundRequest) Marshal() (dAtA []byte, err error)
func (*NewRoundRequest) ProtoMessage ¶
func (*NewRoundRequest) ProtoMessage()
func (*NewRoundRequest) Reset ¶
func (m *NewRoundRequest) Reset()
func (*NewRoundRequest) Size ¶
func (m *NewRoundRequest) Size() (n int)
func (*NewRoundRequest) String ¶
func (m *NewRoundRequest) String() string
func (*NewRoundRequest) Unmarshal ¶
func (m *NewRoundRequest) Unmarshal(dAtA []byte) error
type NewRoundResponse ¶
type NewRoundResponse struct { }
func (*NewRoundResponse) Descriptor ¶
func (*NewRoundResponse) Descriptor() ([]byte, []int)
func (*NewRoundResponse) Marshal ¶
func (m *NewRoundResponse) Marshal() (dAtA []byte, err error)
func (*NewRoundResponse) ProtoMessage ¶
func (*NewRoundResponse) ProtoMessage()
func (*NewRoundResponse) Reset ¶
func (m *NewRoundResponse) Reset()
func (*NewRoundResponse) Size ¶
func (m *NewRoundResponse) Size() (n int)
func (*NewRoundResponse) String ¶
func (m *NewRoundResponse) String() string
func (*NewRoundResponse) Unmarshal ¶
func (m *NewRoundResponse) Unmarshal(dAtA []byte) error
type RegisterUsersRequest ¶
type RegisterUsersRequest struct { Round uint64 `protobuf:"fixed64,1,opt,name=round,proto3" json:"round,omitempty"` UserKeys [][]byte `protobuf:"bytes,2,rep,name=user_keys,json=userKeys" json:"user_keys,omitempty"` Expected []uint64 `protobuf:"fixed64,3,rep,packed,name=expected" json:"expected,omitempty"` }
func (*RegisterUsersRequest) Descriptor ¶
func (*RegisterUsersRequest) Descriptor() ([]byte, []int)
func (*RegisterUsersRequest) GetExpected ¶
func (m *RegisterUsersRequest) GetExpected() []uint64
func (*RegisterUsersRequest) GetRound ¶
func (m *RegisterUsersRequest) GetRound() uint64
func (*RegisterUsersRequest) GetUserKeys ¶
func (m *RegisterUsersRequest) GetUserKeys() [][]byte
func (*RegisterUsersRequest) Marshal ¶
func (m *RegisterUsersRequest) Marshal() (dAtA []byte, err error)
func (*RegisterUsersRequest) MarshalTo ¶
func (m *RegisterUsersRequest) MarshalTo(dAtA []byte) (int, error)
func (*RegisterUsersRequest) ProtoMessage ¶
func (*RegisterUsersRequest) ProtoMessage()
func (*RegisterUsersRequest) Reset ¶
func (m *RegisterUsersRequest) Reset()
func (*RegisterUsersRequest) Size ¶
func (m *RegisterUsersRequest) Size() (n int)
func (*RegisterUsersRequest) String ¶
func (m *RegisterUsersRequest) String() string
func (*RegisterUsersRequest) Unmarshal ¶
func (m *RegisterUsersRequest) Unmarshal(dAtA []byte) error
type RegisterUsersResponse ¶
type RegisterUsersResponse struct { }
func (*RegisterUsersResponse) Descriptor ¶
func (*RegisterUsersResponse) Descriptor() ([]byte, []int)
func (*RegisterUsersResponse) Marshal ¶
func (m *RegisterUsersResponse) Marshal() (dAtA []byte, err error)
func (*RegisterUsersResponse) MarshalTo ¶
func (m *RegisterUsersResponse) MarshalTo(dAtA []byte) (int, error)
func (*RegisterUsersResponse) ProtoMessage ¶
func (*RegisterUsersResponse) ProtoMessage()
func (*RegisterUsersResponse) Reset ¶
func (m *RegisterUsersResponse) Reset()
func (*RegisterUsersResponse) Size ¶
func (m *RegisterUsersResponse) Size() (n int)
func (*RegisterUsersResponse) String ¶
func (m *RegisterUsersResponse) String() string
func (*RegisterUsersResponse) Unmarshal ¶
func (m *RegisterUsersResponse) Unmarshal(dAtA []byte) error
type RegisteredUsersRequest ¶
type RegisteredUsersRequest struct {
Round uint64 `protobuf:"fixed64,1,opt,name=round,proto3" json:"round,omitempty"`
}
func (*RegisteredUsersRequest) Descriptor ¶
func (*RegisteredUsersRequest) Descriptor() ([]byte, []int)
func (*RegisteredUsersRequest) GetRound ¶
func (m *RegisteredUsersRequest) GetRound() uint64
func (*RegisteredUsersRequest) Marshal ¶
func (m *RegisteredUsersRequest) Marshal() (dAtA []byte, err error)
func (*RegisteredUsersRequest) MarshalTo ¶
func (m *RegisteredUsersRequest) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredUsersRequest) ProtoMessage ¶
func (*RegisteredUsersRequest) ProtoMessage()
func (*RegisteredUsersRequest) Reset ¶
func (m *RegisteredUsersRequest) Reset()
func (*RegisteredUsersRequest) Size ¶
func (m *RegisteredUsersRequest) Size() (n int)
func (*RegisteredUsersRequest) String ¶
func (m *RegisteredUsersRequest) String() string
func (*RegisteredUsersRequest) Unmarshal ¶
func (m *RegisteredUsersRequest) Unmarshal(dAtA []byte) error
type RegisteredUsersResponse ¶
type RegisteredUsersResponse struct {
UserKeys [][]byte `protobuf:"bytes,1,rep,name=user_keys,json=userKeys" json:"user_keys,omitempty"`
}
func (*RegisteredUsersResponse) Descriptor ¶
func (*RegisteredUsersResponse) Descriptor() ([]byte, []int)
func (*RegisteredUsersResponse) GetUserKeys ¶
func (m *RegisteredUsersResponse) GetUserKeys() [][]byte
func (*RegisteredUsersResponse) Marshal ¶
func (m *RegisteredUsersResponse) Marshal() (dAtA []byte, err error)
func (*RegisteredUsersResponse) MarshalTo ¶
func (m *RegisteredUsersResponse) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredUsersResponse) ProtoMessage ¶
func (*RegisteredUsersResponse) ProtoMessage()
func (*RegisteredUsersResponse) Reset ¶
func (m *RegisteredUsersResponse) Reset()
func (*RegisteredUsersResponse) Size ¶
func (m *RegisteredUsersResponse) Size() (n int)
func (*RegisteredUsersResponse) String ¶
func (m *RegisteredUsersResponse) String() string
func (*RegisteredUsersResponse) Unmarshal ¶
func (m *RegisteredUsersResponse) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.