tools

package
v0.3.1-rc.11 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Tools_SaveRemoteBypassFile_FullMethodName = "/yuhaiin.tools.tools/save_remote_bypass_file"
)

Variables

View Source
var File_tools_tools_proto protoreflect.FileDescriptor
View Source
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

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.

Jump to

Keyboard shortcuts

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