command

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v2ray_com_core_app_log_command_config_proto protoreflect.FileDescriptor

Functions

func RegisterLoggerServiceServer

func RegisterLoggerServiceServer(s *grpc.Server, srv LoggerServiceServer)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type LoggerServer

type LoggerServer struct {
	V *core.Instance
}

func (*LoggerServer) RestartLogger

func (s *LoggerServer) RestartLogger(ctx context.Context, request *RestartLoggerRequest) (*RestartLoggerResponse, error)

RestartLogger implements LoggerService.

type LoggerServiceClient

type LoggerServiceClient interface {
	RestartLogger(ctx context.Context, in *RestartLoggerRequest, opts ...grpc.CallOption) (*RestartLoggerResponse, error)
}

LoggerServiceClient is the client API for LoggerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type LoggerServiceServer

type LoggerServiceServer interface {
	RestartLogger(context.Context, *RestartLoggerRequest) (*RestartLoggerResponse, error)
}

LoggerServiceServer is the server API for LoggerService service.

type RestartLoggerRequest

type RestartLoggerRequest struct {
	// contains filtered or unexported fields
}

func (*RestartLoggerRequest) Descriptor deprecated

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

Deprecated: Use RestartLoggerRequest.ProtoReflect.Descriptor instead.

func (*RestartLoggerRequest) ProtoMessage

func (*RestartLoggerRequest) ProtoMessage()

func (*RestartLoggerRequest) ProtoReflect

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

func (*RestartLoggerRequest) Reset

func (x *RestartLoggerRequest) Reset()

func (*RestartLoggerRequest) String

func (x *RestartLoggerRequest) String() string

type RestartLoggerResponse

type RestartLoggerResponse struct {
	// contains filtered or unexported fields
}

func (*RestartLoggerResponse) Descriptor deprecated

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

Deprecated: Use RestartLoggerResponse.ProtoReflect.Descriptor instead.

func (*RestartLoggerResponse) ProtoMessage

func (*RestartLoggerResponse) ProtoMessage()

func (*RestartLoggerResponse) ProtoReflect

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

func (*RestartLoggerResponse) Reset

func (x *RestartLoggerResponse) Reset()

func (*RestartLoggerResponse) String

func (x *RestartLoggerResponse) String() string

type UnimplementedLoggerServiceServer

type UnimplementedLoggerServiceServer struct {
}

UnimplementedLoggerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLoggerServiceServer) RestartLogger

Jump to

Keyboard shortcuts

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