plugpb

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional string magic = 50001;
	E_Magic = &file_plug_proto_extTypes[0]
	// optional uint32 version = 50002;
	E_Version = &file_plug_proto_extTypes[1]
)

Extension fields to descriptor.ServiceOptions.

Functions

This section is empty.

Types

type Handshake

type Handshake struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Magic   string `protobuf:"bytes,2,opt,name=magic,proto3" json:"magic,omitempty"`
	// contains filtered or unexported fields
}

func (*Handshake) Descriptor deprecated

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

Deprecated: Use Handshake.ProtoReflect.Descriptor instead.

func (*Handshake) GetMagic

func (x *Handshake) GetMagic() string

func (*Handshake) GetVersion

func (x *Handshake) GetVersion() uint32

func (*Handshake) ProtoMessage

func (*Handshake) ProtoMessage()

func (*Handshake) ProtoReflect

func (x *Handshake) ProtoReflect() protoreflect.Message

func (*Handshake) Reset

func (x *Handshake) Reset()

func (*Handshake) String

func (x *Handshake) String() string

Jump to

Keyboard shortcuts

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