lgbtcoin

package module
v0.0.0-...-33b13c8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_lgbtcoin_proto protoreflect.FileDescriptor
View Source
var Reverse_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "lgbtcoin.Reverse",
	HandlerType: (*ReverseServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Do",
			Handler:    _Reverse_Do_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "lgbtcoin.proto",
}

Reverse_ServiceDesc is the grpc.ServiceDesc for Reverse service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterReverseServer

func RegisterReverseServer(s grpc.ServiceRegistrar, srv ReverseServer)

Types

type Request

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

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetMessage

func (x *Request) GetMessage() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Response

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

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetMessage

func (x *Response) GetMessage() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type ReverseClient

type ReverseClient interface {
	Do(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}

ReverseClient is the client API for Reverse service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewReverseClient

func NewReverseClient(cc grpc.ClientConnInterface) ReverseClient

type ReverseServer

type ReverseServer interface {
	Do(context.Context, *Request) (*Response, error)
	// contains filtered or unexported methods
}

ReverseServer is the server API for Reverse service. All implementations must embed UnimplementedReverseServer for forward compatibility

type UnimplementedReverseServer

type UnimplementedReverseServer struct {
}

UnimplementedReverseServer must be embedded to have forward compatible implementations.

func (UnimplementedReverseServer) Do

type UnsafeReverseServer

type UnsafeReverseServer interface {
	// contains filtered or unexported methods
}

UnsafeReverseServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReverseServer will result in compilation errors.

Jump to

Keyboard shortcuts

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