Documentation
¶
Index ¶
- Variables
- type Ack
- func (*Ack) Descriptor() ([]byte, []int)
- func (m *Ack) GetFrom() []byte
- func (m *Ack) GetId() []byte
- func (m *Ack) GetSignature() []byte
- func (m *Ack) GetTo() []byte
- func (m *Ack) Marshal() (dAtA []byte, err error)
- func (m *Ack) MarshalTo(dAtA []byte) (int, error)
- func (m *Ack) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ack) ProtoMessage()
- func (m *Ack) Reset()
- func (a *Ack) Sign(key *ecdsa.PrivateKey) ([]byte, error)
- func (a *Ack) Signable() []byte
- func (m *Ack) Size() (n int)
- func (m *Ack) String() string
- func (m *Ack) Unmarshal(dAtA []byte) error
- func (m *Ack) XXX_DiscardUnknown()
- func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ack) XXX_Merge(src proto.Message)
- func (m *Ack) XXX_Size() int
- func (m *Ack) XXX_Unmarshal(b []byte) error
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)
- func (m *Envelope) GetFrom() []byte
- func (m *Envelope) GetId() []byte
- func (m *Envelope) GetPayload() []byte
- func (m *Envelope) GetSequence() uint64
- func (m *Envelope) GetSignature() []byte
- func (m *Envelope) GetTo() []byte
- func (m *Envelope) GetTopics() [][]byte
- func (m *Envelope) Marshal() (dAtA []byte, err error)
- func (m *Envelope) MarshalTo(dAtA []byte) (int, error)
- func (m *Envelope) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Envelope) ProtoMessage()
- func (m *Envelope) Reset()
- func (e *Envelope) SetID() []byte
- func (e *Envelope) Sign(key *ecdsa.PrivateKey) ([]byte, error)
- func (e *Envelope) Signable() []byte
- func (m *Envelope) Size() (n int)
- func (m *Envelope) String() string
- func (m *Envelope) Unmarshal(dAtA []byte) error
- func (m *Envelope) XXX_DiscardUnknown()
- func (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Envelope) XXX_Merge(src proto.Message)
- func (m *Envelope) XXX_Size() int
- func (m *Envelope) XXX_Unmarshal(b []byte) error
- type RequestMissing
- func (*RequestMissing) Descriptor() ([]byte, []int)
- func (m *RequestMissing) GetIdentifier() []byte
- func (m *RequestMissing) GetSequence() uint64
- func (m *RequestMissing) GetSignature() []byte
- func (m *RequestMissing) Marshal() (dAtA []byte, err error)
- func (m *RequestMissing) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestMissing) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestMissing) ProtoMessage()
- func (m *RequestMissing) Reset()
- func (rm *RequestMissing) Sign(key *ecdsa.PrivateKey) ([]byte, error)
- func (rm *RequestMissing) Signable() []byte
- func (m *RequestMissing) Size() (n int)
- func (m *RequestMissing) String() string
- func (m *RequestMissing) Unmarshal(dAtA []byte) error
- func (m *RequestMissing) XXX_DiscardUnknown()
- func (m *RequestMissing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestMissing) XXX_Merge(src proto.Message)
- func (m *RequestMissing) XXX_Size() int
- func (m *RequestMissing) XXX_Unmarshal(b []byte) error
- type SavedMessages
- func (*SavedMessages) Descriptor() ([]byte, []int)
- func (m *SavedMessages) GetCid() []byte
- func (m *SavedMessages) GetMessages() []*Envelope
- func (m *SavedMessages) GetProvider() []byte
- func (m *SavedMessages) GetSignature() []byte
- func (m *SavedMessages) GetTo() []byte
- func (m *SavedMessages) Marshal() (dAtA []byte, err error)
- func (m *SavedMessages) MarshalTo(dAtA []byte) (int, error)
- func (m *SavedMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SavedMessages) ProtoMessage()
- func (m *SavedMessages) Reset()
- func (m *SavedMessages) Size() (n int)
- func (m *SavedMessages) String() string
- func (m *SavedMessages) Unmarshal(dAtA []byte) error
- func (m *SavedMessages) XXX_DiscardUnknown()
- func (m *SavedMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SavedMessages) XXX_Merge(src proto.Message)
- func (m *SavedMessages) XXX_Size() int
- func (m *SavedMessages) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Ack ¶
type Ack struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` From []byte `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` }
func AckFromEnv ¶
func (*Ack) Descriptor ¶
func (*Ack) GetSignature ¶
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) XXX_DiscardUnknown ¶
func (m *Ack) XXX_DiscardUnknown()
func (*Ack) XXX_Unmarshal ¶
type Envelope ¶
type Envelope struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` From []byte `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` Topics [][]byte `protobuf:"bytes,6,rep,name=topics,proto3" json:"topics,omitempty"` Signature []byte `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*Envelope) Descriptor ¶
func (*Envelope) GetPayload ¶
func (*Envelope) GetSequence ¶
func (*Envelope) GetSignature ¶
func (*Envelope) MarshalToSizedBuffer ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) XXX_DiscardUnknown ¶
func (m *Envelope) XXX_DiscardUnknown()
func (*Envelope) XXX_Marshal ¶
func (*Envelope) XXX_Unmarshal ¶
type RequestMissing ¶
type RequestMissing struct { Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` Identifier []byte `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*RequestMissing) Descriptor ¶
func (*RequestMissing) Descriptor() ([]byte, []int)
func (*RequestMissing) GetIdentifier ¶
func (m *RequestMissing) GetIdentifier() []byte
func (*RequestMissing) GetSequence ¶
func (m *RequestMissing) GetSequence() uint64
func (*RequestMissing) GetSignature ¶
func (m *RequestMissing) GetSignature() []byte
func (*RequestMissing) Marshal ¶
func (m *RequestMissing) Marshal() (dAtA []byte, err error)
func (*RequestMissing) MarshalToSizedBuffer ¶
func (m *RequestMissing) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestMissing) ProtoMessage ¶
func (*RequestMissing) ProtoMessage()
func (*RequestMissing) Reset ¶
func (m *RequestMissing) Reset()
func (*RequestMissing) Sign ¶
func (rm *RequestMissing) Sign(key *ecdsa.PrivateKey) ([]byte, error)
func (*RequestMissing) Signable ¶
func (rm *RequestMissing) Signable() []byte
func (*RequestMissing) Size ¶
func (m *RequestMissing) Size() (n int)
func (*RequestMissing) String ¶
func (m *RequestMissing) String() string
func (*RequestMissing) Unmarshal ¶
func (m *RequestMissing) Unmarshal(dAtA []byte) error
func (*RequestMissing) XXX_DiscardUnknown ¶
func (m *RequestMissing) XXX_DiscardUnknown()
func (*RequestMissing) XXX_Marshal ¶
func (m *RequestMissing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestMissing) XXX_Merge ¶
func (m *RequestMissing) XXX_Merge(src proto.Message)
func (*RequestMissing) XXX_Size ¶
func (m *RequestMissing) XXX_Size() int
func (*RequestMissing) XXX_Unmarshal ¶
func (m *RequestMissing) XXX_Unmarshal(b []byte) error
type SavedMessages ¶
type SavedMessages struct { To []byte `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` Cid []byte `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` Messages []*Envelope `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` }
func (*SavedMessages) Descriptor ¶
func (*SavedMessages) Descriptor() ([]byte, []int)
func (*SavedMessages) GetCid ¶
func (m *SavedMessages) GetCid() []byte
func (*SavedMessages) GetMessages ¶
func (m *SavedMessages) GetMessages() []*Envelope
func (*SavedMessages) GetProvider ¶
func (m *SavedMessages) GetProvider() []byte
func (*SavedMessages) GetSignature ¶
func (m *SavedMessages) GetSignature() []byte
func (*SavedMessages) GetTo ¶
func (m *SavedMessages) GetTo() []byte
func (*SavedMessages) Marshal ¶
func (m *SavedMessages) Marshal() (dAtA []byte, err error)
func (*SavedMessages) MarshalToSizedBuffer ¶
func (m *SavedMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SavedMessages) ProtoMessage ¶
func (*SavedMessages) ProtoMessage()
func (*SavedMessages) Reset ¶
func (m *SavedMessages) Reset()
func (*SavedMessages) Size ¶
func (m *SavedMessages) Size() (n int)
func (*SavedMessages) String ¶
func (m *SavedMessages) String() string
func (*SavedMessages) Unmarshal ¶
func (m *SavedMessages) Unmarshal(dAtA []byte) error
func (*SavedMessages) XXX_DiscardUnknown ¶
func (m *SavedMessages) XXX_DiscardUnknown()
func (*SavedMessages) XXX_Marshal ¶
func (m *SavedMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SavedMessages) XXX_Merge ¶
func (m *SavedMessages) XXX_Merge(src proto.Message)
func (*SavedMessages) XXX_Size ¶
func (m *SavedMessages) XXX_Size() int
func (*SavedMessages) XXX_Unmarshal ¶
func (m *SavedMessages) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.