examples

package
v1.36.11-2026020320145... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_grpc_examples_helloworld_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HelloReply

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

The response message containing the greetings

func (*HelloReply) GetMessage

func (x *HelloReply) GetMessage() string

func (*HelloReply) ProtoMessage

func (*HelloReply) ProtoMessage()

func (*HelloReply) ProtoReflect

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

func (*HelloReply) Reset

func (x *HelloReply) Reset()

func (*HelloReply) SetMessage

func (x *HelloReply) SetMessage(v string)

func (*HelloReply) String

func (x *HelloReply) String() string

type HelloReply_builder

type HelloReply_builder struct {
	Message string
	// contains filtered or unexported fields
}

func (HelloReply_builder) Build

func (b0 HelloReply_builder) Build() *HelloReply

type HelloRequest

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

The request message containing the user's name.

func (*HelloRequest) GetName

func (x *HelloRequest) GetName() string

func (*HelloRequest) ProtoMessage

func (*HelloRequest) ProtoMessage()

func (*HelloRequest) ProtoReflect

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

func (*HelloRequest) Reset

func (x *HelloRequest) Reset()

func (*HelloRequest) SetName

func (x *HelloRequest) SetName(v string)

func (*HelloRequest) String

func (x *HelloRequest) String() string

type HelloRequest_builder

type HelloRequest_builder struct {
	Name string
	// contains filtered or unexported fields
}

func (HelloRequest_builder) Build

func (b0 HelloRequest_builder) Build() *HelloRequest

Source Files

  • helloworld.pb.go

Jump to

Keyboard shortcuts

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