networkpb

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2018 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Dapmsg) GetCmd

func (m *Dapmsg) GetCmd() string

func (*Dapmsg) GetCounter added in v0.1.1

func (m *Dapmsg) GetCounter() uint64

func (*Dapmsg) GetData

func (m *Dapmsg) GetData() []byte

func (*Dapmsg) GetKey added in v0.1.1

func (m *Dapmsg) GetKey() string

func (*Dapmsg) GetUniOrBroadcast added in v0.1.1

func (m *Dapmsg) GetUniOrBroadcast() int64

func (*Dapmsg) GetUnixTimeRecvd

func (m *Dapmsg) GetUnixTimeRecvd() int64

func (*Dapmsg) ProtoMessage

func (*Dapmsg) ProtoMessage()

func (*Dapmsg) Reset

func (m *Dapmsg) Reset()

func (*Dapmsg) String

func (m *Dapmsg) String() string

func (*Dapmsg) XXX_DiscardUnknown

func (m *Dapmsg) XXX_DiscardUnknown()

func (*Dapmsg) XXX_Marshal

func (m *Dapmsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dapmsg) XXX_Merge

func (dst *Dapmsg) XXX_Merge(src proto.Message)

func (*Dapmsg) XXX_Size

func (m *Dapmsg) XXX_Size() int

func (*Dapmsg) XXX_Unmarshal

func (m *Dapmsg) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Peer) GetAddr

func (m *Peer) GetAddr() string

func (*Peer) GetPeerid

func (m *Peer) GetPeerid() string

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) String

func (m *Peer) String() string

func (*Peer) XXX_DiscardUnknown

func (m *Peer) XXX_DiscardUnknown()

func (*Peer) XXX_Marshal

func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peer) XXX_Merge

func (dst *Peer) XXX_Merge(src proto.Message)

func (*Peer) XXX_Size

func (m *Peer) XXX_Size() int

func (*Peer) XXX_Unmarshal

func (m *Peer) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Peerlist) GetPeerlist

func (m *Peerlist) GetPeerlist() []*Peer

func (*Peerlist) ProtoMessage

func (*Peerlist) ProtoMessage()

func (*Peerlist) Reset

func (m *Peerlist) Reset()

func (*Peerlist) String

func (m *Peerlist) String() string

func (*Peerlist) XXX_DiscardUnknown

func (m *Peerlist) XXX_DiscardUnknown()

func (*Peerlist) XXX_Marshal

func (m *Peerlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Peerlist) XXX_Merge

func (dst *Peerlist) XXX_Merge(src proto.Message)

func (*Peerlist) XXX_Size

func (m *Peerlist) XXX_Size() int

func (*Peerlist) XXX_Unmarshal

func (m *Peerlist) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL