Documentation ¶
Index ¶
- Variables
- func RegisterFuwufaxiansServer(s *grpc.Server, srv FuwufaxiansServer)
- type FuwufaxianPb
- func (*FuwufaxianPb) Descriptor() ([]byte, []int)deprecated
- func (x *FuwufaxianPb) GetRemoteAddr() string
- func (x *FuwufaxianPb) GetRemoteCert() string
- func (*FuwufaxianPb) ProtoMessage()
- func (x *FuwufaxianPb) ProtoReflect() protoreflect.Message
- func (x *FuwufaxianPb) Reset()
- func (x *FuwufaxianPb) String() string
- type FuwufaxianRespone
- func (*FuwufaxianRespone) Descriptor() ([]byte, []int)deprecated
- func (x *FuwufaxianRespone) GetIsSuccess() bool
- func (x *FuwufaxianRespone) GetSelfId() string
- func (*FuwufaxianRespone) ProtoMessage()
- func (x *FuwufaxianRespone) ProtoReflect() protoreflect.Message
- func (x *FuwufaxianRespone) Reset()
- func (x *FuwufaxianRespone) String() string
- type FuwufaxiansClient
- type FuwufaxiansServer
- type ListRequest
- type ListResult
- type QueryRequest
- type QueryResponse
- type UnimplementedFuwufaxiansServer
- func (*UnimplementedFuwufaxiansServer) FuwuList(context.Context, *ListRequest) (*ListResult, error)
- func (*UnimplementedFuwufaxiansServer) Fxfw(context.Context, *FuwufaxianPb) (*FuwufaxianRespone, error)
- func (*UnimplementedFuwufaxiansServer) QueryExecFuwu(context.Context, *QueryRequest) (*QueryResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_fwfx_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFuwufaxiansServer ¶
func RegisterFuwufaxiansServer(s *grpc.Server, srv FuwufaxiansServer)
Types ¶
type FuwufaxianPb ¶
type FuwufaxianPb struct { RemoteAddr string `protobuf:"bytes,1,opt,name=RemoteAddr,proto3" json:"RemoteAddr,omitempty"` RemoteCert string `protobuf:"bytes,2,opt,name=RemoteCert,proto3" json:"RemoteCert,omitempty"` // contains filtered or unexported fields }
func (*FuwufaxianPb) Descriptor
deprecated
func (*FuwufaxianPb) Descriptor() ([]byte, []int)
Deprecated: Use FuwufaxianPb.ProtoReflect.Descriptor instead.
func (*FuwufaxianPb) GetRemoteAddr ¶
func (x *FuwufaxianPb) GetRemoteAddr() string
func (*FuwufaxianPb) GetRemoteCert ¶
func (x *FuwufaxianPb) GetRemoteCert() string
func (*FuwufaxianPb) ProtoMessage ¶
func (*FuwufaxianPb) ProtoMessage()
func (*FuwufaxianPb) ProtoReflect ¶
func (x *FuwufaxianPb) ProtoReflect() protoreflect.Message
func (*FuwufaxianPb) Reset ¶
func (x *FuwufaxianPb) Reset()
func (*FuwufaxianPb) String ¶
func (x *FuwufaxianPb) String() string
type FuwufaxianRespone ¶
type FuwufaxianRespone struct { IsSuccess bool `protobuf:"varint,1,opt,name=IsSuccess,proto3" json:"IsSuccess,omitempty"` SelfId string `protobuf:"bytes,2,opt,name=SelfId,proto3" json:"SelfId,omitempty"` // contains filtered or unexported fields }
func (*FuwufaxianRespone) Descriptor
deprecated
func (*FuwufaxianRespone) Descriptor() ([]byte, []int)
Deprecated: Use FuwufaxianRespone.ProtoReflect.Descriptor instead.
func (*FuwufaxianRespone) GetIsSuccess ¶
func (x *FuwufaxianRespone) GetIsSuccess() bool
func (*FuwufaxianRespone) GetSelfId ¶
func (x *FuwufaxianRespone) GetSelfId() string
func (*FuwufaxianRespone) ProtoMessage ¶
func (*FuwufaxianRespone) ProtoMessage()
func (*FuwufaxianRespone) ProtoReflect ¶
func (x *FuwufaxianRespone) ProtoReflect() protoreflect.Message
func (*FuwufaxianRespone) Reset ¶
func (x *FuwufaxianRespone) Reset()
func (*FuwufaxianRespone) String ¶
func (x *FuwufaxianRespone) String() string
type FuwufaxiansClient ¶
type FuwufaxiansClient interface { Fxfw(ctx context.Context, in *FuwufaxianPb, opts ...grpc.CallOption) (*FuwufaxianRespone, error) FuwuList(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResult, error) QueryExecFuwu(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error) }
FuwufaxiansClient is the client API for Fuwufaxians service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFuwufaxiansClient ¶
func NewFuwufaxiansClient(cc grpc.ClientConnInterface) FuwufaxiansClient
type FuwufaxiansServer ¶
type FuwufaxiansServer interface { Fxfw(context.Context, *FuwufaxianPb) (*FuwufaxianRespone, error) FuwuList(context.Context, *ListRequest) (*ListResult, error) QueryExecFuwu(context.Context, *QueryRequest) (*QueryResponse, error) }
FuwufaxiansServer is the server API for Fuwufaxians service.
type ListRequest ¶
type ListRequest struct { QueryTypes string `protobuf:"bytes,1,opt,name=QueryTypes,proto3" json:"QueryTypes,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetQueryTypes ¶
func (x *ListRequest) GetQueryTypes() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResult ¶
type ListResult struct { ListBytes []byte `protobuf:"bytes,1,opt,name=ListBytes,proto3" json:"ListBytes,omitempty"` // contains filtered or unexported fields }
func (*ListResult) Descriptor
deprecated
func (*ListResult) Descriptor() ([]byte, []int)
Deprecated: Use ListResult.ProtoReflect.Descriptor instead.
func (*ListResult) GetListBytes ¶
func (x *ListResult) GetListBytes() []byte
func (*ListResult) ProtoMessage ¶
func (*ListResult) ProtoMessage()
func (*ListResult) ProtoReflect ¶
func (x *ListResult) ProtoReflect() protoreflect.Message
func (*ListResult) Reset ¶
func (x *ListResult) Reset()
func (*ListResult) String ¶
func (x *ListResult) String() string
type QueryRequest ¶
type QueryRequest struct { QueryTypes string `protobuf:"bytes,1,opt,name=QueryTypes,proto3" json:"QueryTypes,omitempty"` // contains filtered or unexported fields }
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetQueryTypes ¶
func (x *QueryRequest) GetQueryTypes() string
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct { RemoteIp string `protobuf:"bytes,1,opt,name=RemoteIp,proto3" json:"RemoteIp,omitempty"` // contains filtered or unexported fields }
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetRemoteIp ¶
func (x *QueryResponse) GetRemoteIp() string
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type UnimplementedFuwufaxiansServer ¶
type UnimplementedFuwufaxiansServer struct { }
UnimplementedFuwufaxiansServer can be embedded to have forward compatible implementations.
func (*UnimplementedFuwufaxiansServer) FuwuList ¶
func (*UnimplementedFuwufaxiansServer) FuwuList(context.Context, *ListRequest) (*ListResult, error)
func (*UnimplementedFuwufaxiansServer) Fxfw ¶
func (*UnimplementedFuwufaxiansServer) Fxfw(context.Context, *FuwufaxianPb) (*FuwufaxianRespone, error)
func (*UnimplementedFuwufaxiansServer) QueryExecFuwu ¶
func (*UnimplementedFuwufaxiansServer) QueryExecFuwu(context.Context, *QueryRequest) (*QueryResponse, error)