proto

package
v0.0.0-...-7d797cb Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterTalkServiceServer

func RegisterTalkServiceServer(s *grpc.Server, srv TalkServiceServer)

Types

type EmptyRequest

type EmptyRequest struct {
	// contains filtered or unexported fields
}

func (*EmptyRequest) Descriptor deprecated

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

Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) ProtoReflect

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

func (*EmptyRequest) Reset

func (x *EmptyRequest) Reset()

func (*EmptyRequest) String

func (x *EmptyRequest) String() string

type SingleReply

type SingleReply struct {
	Variable uint64 `protobuf:"varint,1,opt,name=variable,proto3" json:"variable,omitempty"`
	Constant string `protobuf:"bytes,2,opt,name=constant,proto3" json:"constant,omitempty"`
	// contains filtered or unexported fields
}

func (*SingleReply) Descriptor deprecated

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

Deprecated: Use SingleReply.ProtoReflect.Descriptor instead.

func (*SingleReply) GetConstant

func (x *SingleReply) GetConstant() string

func (*SingleReply) GetVariable

func (x *SingleReply) GetVariable() uint64

func (*SingleReply) ProtoMessage

func (*SingleReply) ProtoMessage()

func (*SingleReply) ProtoReflect

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

func (*SingleReply) Reset

func (x *SingleReply) Reset()

func (*SingleReply) String

func (x *SingleReply) String() string

type TalkServiceClient

type TalkServiceClient interface {
	GetMany(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (TalkService_GetManyClient, error)
}

TalkServiceClient is the client API for TalkService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TalkServiceServer

type TalkServiceServer interface {
	GetMany(*EmptyRequest, TalkService_GetManyServer) error
}

TalkServiceServer is the server API for TalkService service.

type TalkService_GetManyClient

type TalkService_GetManyClient interface {
	Recv() (*SingleReply, error)
	grpc.ClientStream
}

type TalkService_GetManyServer

type TalkService_GetManyServer interface {
	Send(*SingleReply) error
	grpc.ServerStream
}

type UnimplementedTalkServiceServer

type UnimplementedTalkServiceServer struct {
}

UnimplementedTalkServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTalkServiceServer) GetMany

Jump to

Keyboard shortcuts

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