proto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_server_proto protoreflect.FileDescriptor

Functions

func RegisterIdSequenceServiceServer

func RegisterIdSequenceServiceServer(s *grpc.Server, srv IdSequenceServiceServer)

Types

type IdSequenceServiceClient

type IdSequenceServiceClient interface {
	Get(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error)
}

IdSequenceServiceClient is the client API for IdSequenceService service.

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

type IdSequenceServiceServer

type IdSequenceServiceServer interface {
	Get(context.Context, *SendRequest) (*SendResponse, error)
}

IdSequenceServiceServer is the server API for IdSequenceService service.

type SendRequest

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

func (*SendRequest) Descriptor deprecated

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

Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.

func (*SendRequest) GetBiz

func (x *SendRequest) GetBiz() string

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) ProtoReflect

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

func (*SendRequest) Reset

func (x *SendRequest) Reset()

func (*SendRequest) String

func (x *SendRequest) String() string

type SendResponse

type SendResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendResponse) Descriptor deprecated

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

Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.

func (*SendResponse) GetId

func (x *SendResponse) GetId() int64

func (*SendResponse) ProtoMessage

func (*SendResponse) ProtoMessage()

func (*SendResponse) ProtoReflect

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

func (*SendResponse) Reset

func (x *SendResponse) Reset()

func (*SendResponse) String

func (x *SendResponse) String() string

type UnimplementedIdSequenceServiceServer

type UnimplementedIdSequenceServiceServer struct {
}

UnimplementedIdSequenceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdSequenceServiceServer) Get

Jump to

Keyboard shortcuts

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