proto

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0, BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandshakeRequest

type HandshakeRequest struct {
	// protocol version number
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// string form of the recipient address
	To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// unix time
	Timestamp            int64    `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandshakeRequest) Descriptor

func (*HandshakeRequest) Descriptor() ([]byte, []int)

func (*HandshakeRequest) GetTimestamp

func (m *HandshakeRequest) GetTimestamp() int64

func (*HandshakeRequest) GetTo

func (m *HandshakeRequest) GetTo() string

func (*HandshakeRequest) GetVersion

func (m *HandshakeRequest) GetVersion() uint32

func (*HandshakeRequest) ProtoMessage

func (*HandshakeRequest) ProtoMessage()

func (*HandshakeRequest) Reset

func (m *HandshakeRequest) Reset()

func (*HandshakeRequest) String

func (m *HandshakeRequest) String() string

func (*HandshakeRequest) XXX_DiscardUnknown

func (m *HandshakeRequest) XXX_DiscardUnknown()

func (*HandshakeRequest) XXX_Marshal

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

func (*HandshakeRequest) XXX_Merge

func (m *HandshakeRequest) XXX_Merge(src proto.Message)

func (*HandshakeRequest) XXX_Size

func (m *HandshakeRequest) XXX_Size() int

func (*HandshakeRequest) XXX_Unmarshal

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

type HandshakeResponse

type HandshakeResponse struct {
	// hash of the ping packet
	ReqHash              []byte   `protobuf:"bytes,1,opt,name=req_hash,json=reqHash,proto3" json:"req_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HandshakeResponse) Descriptor

func (*HandshakeResponse) Descriptor() ([]byte, []int)

func (*HandshakeResponse) GetReqHash

func (m *HandshakeResponse) GetReqHash() []byte

func (*HandshakeResponse) ProtoMessage

func (*HandshakeResponse) ProtoMessage()

func (*HandshakeResponse) Reset

func (m *HandshakeResponse) Reset()

func (*HandshakeResponse) String

func (m *HandshakeResponse) String() string

func (*HandshakeResponse) XXX_DiscardUnknown

func (m *HandshakeResponse) XXX_DiscardUnknown()

func (*HandshakeResponse) XXX_Marshal

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

func (*HandshakeResponse) XXX_Merge

func (m *HandshakeResponse) XXX_Merge(src proto.Message)

func (*HandshakeResponse) XXX_Size

func (m *HandshakeResponse) XXX_Size() int

func (*HandshakeResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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