proto

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Msg1

type Msg1 struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id   int32  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Msg1) Descriptor deprecated

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

Deprecated: Use Msg1.ProtoReflect.Descriptor instead.

func (*Msg1) GetId

func (x *Msg1) GetId() int32

func (*Msg1) GetName

func (x *Msg1) GetName() string

func (*Msg1) ProtoMessage

func (*Msg1) ProtoMessage()

func (*Msg1) ProtoReflect added in v0.1.11

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

func (*Msg1) Reset

func (x *Msg1) Reset()

func (*Msg1) String

func (x *Msg1) String() string

type Msg2

type Msg2 struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	Id    int32  `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Msg2) Descriptor deprecated

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

Deprecated: Use Msg2.ProtoReflect.Descriptor instead.

func (*Msg2) GetAlias

func (x *Msg2) GetAlias() string

func (*Msg2) GetId

func (x *Msg2) GetId() int32

func (*Msg2) GetName

func (x *Msg2) GetName() string

func (*Msg2) ProtoMessage

func (*Msg2) ProtoMessage()

func (*Msg2) ProtoReflect added in v0.1.11

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

func (*Msg2) Reset

func (x *Msg2) Reset()

func (*Msg2) String

func (x *Msg2) String() string

type Response

type Response struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetContent

func (x *Response) GetContent() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v0.1.11

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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