examples

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_examples_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Example

type Example struct {
	SomeString string `protobuf:"bytes,1,opt,name=some_string,json=someString,proto3" json:"some_string,omitempty"`
	SomeInt    int32  `protobuf:"varint,2,opt,name=some_int,json=someInt,proto3" json:"some_int,omitempty"`
	// contains filtered or unexported fields
}

Example for the generation

func (*Example) Descriptor deprecated

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetSomeInt

func (x *Example) GetSomeInt() int32

func (*Example) GetSomeString

func (x *Example) GetSomeString() string

func (*Example) ProtoMessage

func (*Example) ProtoMessage()

func (*Example) ProtoReflect

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

func (*Example) Reset

func (x *Example) Reset()

func (*Example) String

func (x *Example) String() string

Jump to

Keyboard shortcuts

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