Documentation ¶
Index ¶
Constants ¶
const (
Tools_SaveRemoteBypassFile_FullMethodName = "/yuhaiin.tools.tools/save_remote_bypass_file"
)
Variables ¶
var File_tools_tools_proto protoreflect.FileDescriptor
var Tools_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yuhaiin.tools.tools", HandlerType: (*ToolsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "save_remote_bypass_file", Handler: _Tools_SaveRemoteBypassFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tools/tools.proto", }
Tools_ServiceDesc is the grpc.ServiceDesc for Tools service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterToolsServer ¶
func RegisterToolsServer(s grpc.ServiceRegistrar, srv ToolsServer)
Types ¶
type ToolsClient ¶
type ToolsClient interface { // req: url SaveRemoteBypassFile(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ToolsClient is the client API for Tools 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 NewToolsClient ¶
func NewToolsClient(cc grpc.ClientConnInterface) ToolsClient
type ToolsServer ¶
type ToolsServer interface { // req: url SaveRemoteBypassFile(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) // contains filtered or unexported methods }
ToolsServer is the server API for Tools service. All implementations must embed UnimplementedToolsServer for forward compatibility
type UnimplementedToolsServer ¶
type UnimplementedToolsServer struct { }
UnimplementedToolsServer must be embedded to have forward compatible implementations.
func (UnimplementedToolsServer) SaveRemoteBypassFile ¶
func (UnimplementedToolsServer) SaveRemoteBypassFile(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
type UnsafeToolsServer ¶
type UnsafeToolsServer interface {
// contains filtered or unexported methods
}
UnsafeToolsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ToolsServer will result in compilation errors.