Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type ConvertAddressRequest
- func (*ConvertAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertAddressRequest) GetAddress() string
- func (x *ConvertAddressRequest) GetPrefix() string
- func (*ConvertAddressRequest) ProtoMessage()
- func (x *ConvertAddressRequest) ProtoReflect() protoreflect.Message
- func (x *ConvertAddressRequest) Reset()
- func (x *ConvertAddressRequest) String() string
- type ConvertAddressResponse
- func (*ConvertAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertAddressResponse) GetAddress() string
- func (*ConvertAddressResponse) ProtoMessage()
- func (x *ConvertAddressResponse) ProtoReflect() protoreflect.Message
- func (x *ConvertAddressResponse) Reset()
- func (x *ConvertAddressResponse) String() string
- type QueryClient
- type QueryServer
- type UnimplementedQueryServer
- type UnsafeQueryServer
Constants ¶
const (
Query_ConvertAddress_FullMethodName = "/fx.auth.v1.Query/ConvertAddress"
)
Variables ¶
var File_fx_auth_v1_query_proto protoreflect.FileDescriptor
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fx.auth.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ConvertAddress", Handler: _Query_ConvertAddress_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fx/auth/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type ConvertAddressRequest ¶
type ConvertAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*ConvertAddressRequest) Descriptor
deprecated
func (*ConvertAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConvertAddressRequest.ProtoReflect.Descriptor instead.
func (*ConvertAddressRequest) GetAddress ¶
func (x *ConvertAddressRequest) GetAddress() string
func (*ConvertAddressRequest) GetPrefix ¶
func (x *ConvertAddressRequest) GetPrefix() string
func (*ConvertAddressRequest) ProtoMessage ¶
func (*ConvertAddressRequest) ProtoMessage()
func (*ConvertAddressRequest) ProtoReflect ¶
func (x *ConvertAddressRequest) ProtoReflect() protoreflect.Message
func (*ConvertAddressRequest) Reset ¶
func (x *ConvertAddressRequest) Reset()
func (*ConvertAddressRequest) String ¶
func (x *ConvertAddressRequest) String() string
type ConvertAddressResponse ¶
type ConvertAddressResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ConvertAddressResponse) Descriptor
deprecated
func (*ConvertAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConvertAddressResponse.ProtoReflect.Descriptor instead.
func (*ConvertAddressResponse) GetAddress ¶
func (x *ConvertAddressResponse) GetAddress() string
func (*ConvertAddressResponse) ProtoMessage ¶
func (*ConvertAddressResponse) ProtoMessage()
func (*ConvertAddressResponse) ProtoReflect ¶
func (x *ConvertAddressResponse) ProtoReflect() protoreflect.Message
func (*ConvertAddressResponse) Reset ¶
func (x *ConvertAddressResponse) Reset()
func (*ConvertAddressResponse) String ¶
func (x *ConvertAddressResponse) String() string
type QueryClient ¶
type QueryClient interface {
ConvertAddress(ctx context.Context, in *ConvertAddressRequest, opts ...grpc.CallOption) (*ConvertAddressResponse, error)
}
QueryClient is the client API for Query 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 NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryServer ¶
type QueryServer interface { ConvertAddress(context.Context, *ConvertAddressRequest) (*ConvertAddressResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) ConvertAddress ¶
func (UnimplementedQueryServer) ConvertAddress(context.Context, *ConvertAddressRequest) (*ConvertAddressResponse, error)
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.