Documentation ¶
Index ¶
- type Dapmsg
- func (*Dapmsg) Descriptor() ([]byte, []int)
- func (m *Dapmsg) GetCmd() string
- func (m *Dapmsg) GetCounter() uint64
- func (m *Dapmsg) GetData() []byte
- func (m *Dapmsg) GetKey() string
- func (m *Dapmsg) GetUniOrBroadcast() int64
- func (m *Dapmsg) GetUnixTimeRecvd() int64
- func (*Dapmsg) ProtoMessage()
- func (m *Dapmsg) Reset()
- func (m *Dapmsg) String() string
- func (m *Dapmsg) XXX_DiscardUnknown()
- func (m *Dapmsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Dapmsg) XXX_Merge(src proto.Message)
- func (m *Dapmsg) XXX_Size() int
- func (m *Dapmsg) XXX_Unmarshal(b []byte) error
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)
- func (m *Peer) GetAddr() string
- func (m *Peer) GetPeerid() string
- func (*Peer) ProtoMessage()
- func (m *Peer) Reset()
- func (m *Peer) String() string
- func (m *Peer) XXX_DiscardUnknown()
- func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Peer) XXX_Merge(src proto.Message)
- func (m *Peer) XXX_Size() int
- func (m *Peer) XXX_Unmarshal(b []byte) error
- type Peerlist
- func (*Peerlist) Descriptor() ([]byte, []int)
- func (m *Peerlist) GetPeerlist() []*Peer
- func (*Peerlist) ProtoMessage()
- func (m *Peerlist) Reset()
- func (m *Peerlist) String() string
- func (m *Peerlist) XXX_DiscardUnknown()
- func (m *Peerlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Peerlist) XXX_Merge(src proto.Message)
- func (m *Peerlist) XXX_Size() int
- func (m *Peerlist) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dapmsg ¶
type Dapmsg struct { Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` UnixTimeRecvd int64 `protobuf:"varint,3,opt,name=unixTimeRecvd,proto3" json:"unixTimeRecvd,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` UniOrBroadcast int64 `protobuf:"varint,5,opt,name=uniOrBroadcast,proto3" json:"uniOrBroadcast,omitempty"` Counter uint64 `protobuf:"varint,6,opt,name=counter,proto3" json:"counter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Dapmsg) Descriptor ¶
func (*Dapmsg) GetCounter ¶ added in v0.1.1
func (*Dapmsg) GetUniOrBroadcast ¶ added in v0.1.1
func (*Dapmsg) GetUnixTimeRecvd ¶
func (*Dapmsg) ProtoMessage ¶
func (*Dapmsg) ProtoMessage()
func (*Dapmsg) XXX_DiscardUnknown ¶
func (m *Dapmsg) XXX_DiscardUnknown()
func (*Dapmsg) XXX_Marshal ¶
func (*Dapmsg) XXX_Unmarshal ¶
type Peer ¶
type Peer struct { Peerid string `protobuf:"bytes,1,opt,name=peerid,proto3" json:"peerid,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Peer) Descriptor ¶
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) XXX_DiscardUnknown ¶
func (m *Peer) XXX_DiscardUnknown()
func (*Peer) XXX_Unmarshal ¶
type Peerlist ¶
type Peerlist struct { Peerlist []*Peer `protobuf:"bytes,1,rep,name=peerlist,proto3" json:"peerlist,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Peerlist) Descriptor ¶
func (*Peerlist) GetPeerlist ¶
func (*Peerlist) ProtoMessage ¶
func (*Peerlist) ProtoMessage()
func (*Peerlist) XXX_DiscardUnknown ¶
func (m *Peerlist) XXX_DiscardUnknown()
func (*Peerlist) XXX_Marshal ¶
func (*Peerlist) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.