hello

package
v0.0.0-...-c1e9cd8 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHello        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHello          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupHello = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Hello

type Hello struct {
	// if isinit is set, listen will ret another hello
	Isinit bool `protobuf:"varint,1,opt,name=isinit,proto3" json:"isinit,omitempty"`
	// ws path
	Entry string `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
	Mask  uint64 `protobuf:"varint,3,opt,name=mask,proto3" json:"mask,omitempty"`
	// host name
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Hello) Descriptor

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

func (*Hello) GetEntry

func (m *Hello) GetEntry() string

func (*Hello) GetIsinit

func (m *Hello) GetIsinit() bool

func (*Hello) GetMask

func (m *Hello) GetMask() uint64

func (*Hello) GetName

func (m *Hello) GetName() string

func (*Hello) Marshal

func (m *Hello) Marshal() (dAtA []byte, err error)

func (*Hello) MarshalTo

func (m *Hello) MarshalTo(dAtA []byte) (int, error)

func (*Hello) MarshalToSizedBuffer

func (m *Hello) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Hello) ProtoMessage

func (*Hello) ProtoMessage()

func (*Hello) Reset

func (m *Hello) Reset()

func (*Hello) Size

func (m *Hello) Size() (n int)

func (*Hello) String

func (m *Hello) String() string

func (*Hello) Unmarshal

func (m *Hello) Unmarshal(dAtA []byte) error

func (*Hello) XXX_DiscardUnknown

func (m *Hello) XXX_DiscardUnknown()

func (*Hello) XXX_Marshal

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

func (*Hello) XXX_Merge

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

func (*Hello) XXX_Size

func (m *Hello) XXX_Size() int

func (*Hello) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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