core: v2ray.com/core/app/log/command Index | Files

package command

import "v2ray.com/core/app/log/command"

Index

Package Files

command.go config.pb.go config_grpc.pb.go errors.generated.go

Variables

var File_app_log_command_config_proto protoreflect.FileDescriptor

func RegisterLoggerServiceServer Uses

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

type Config Uses

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

func (*Config) Descriptor Uses

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) ProtoReflect Uses

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

func (*Config) Reset Uses

func (x *Config) Reset()

func (*Config) String Uses

func (x *Config) String() string

type LoggerServer Uses

type LoggerServer struct {
    V *core.Instance
}

func (*LoggerServer) RestartLogger Uses

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

RestartLogger implements LoggerService.

type LoggerServiceClient Uses

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLoggerServiceClient Uses

func NewLoggerServiceClient(cc grpc.ClientConnInterface) LoggerServiceClient

type LoggerServiceServer Uses

type LoggerServiceServer interface {
    RestartLogger(context.Context, *RestartLoggerRequest) (*RestartLoggerResponse, error)
    // contains filtered or unexported methods
}

LoggerServiceServer is the server API for LoggerService service. All implementations must embed UnimplementedLoggerServiceServer for forward compatibility

type RestartLoggerRequest Uses

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

func (*RestartLoggerRequest) Descriptor Uses

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

Deprecated: Use RestartLoggerRequest.ProtoReflect.Descriptor instead.

func (*RestartLoggerRequest) ProtoMessage Uses

func (*RestartLoggerRequest) ProtoMessage()

func (*RestartLoggerRequest) ProtoReflect Uses

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

func (*RestartLoggerRequest) Reset Uses

func (x *RestartLoggerRequest) Reset()

func (*RestartLoggerRequest) String Uses

func (x *RestartLoggerRequest) String() string

type RestartLoggerResponse Uses

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

func (*RestartLoggerResponse) Descriptor Uses

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

Deprecated: Use RestartLoggerResponse.ProtoReflect.Descriptor instead.

func (*RestartLoggerResponse) ProtoMessage Uses

func (*RestartLoggerResponse) ProtoMessage()

func (*RestartLoggerResponse) ProtoReflect Uses

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

func (*RestartLoggerResponse) Reset Uses

func (x *RestartLoggerResponse) Reset()

func (*RestartLoggerResponse) String Uses

func (x *RestartLoggerResponse) String() string

type UnimplementedLoggerServiceServer Uses

type UnimplementedLoggerServiceServer struct {
}

UnimplementedLoggerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLoggerServiceServer) RestartLogger Uses

func (UnimplementedLoggerServiceServer) RestartLogger(context.Context, *RestartLoggerRequest) (*RestartLoggerResponse, error)

type UnsafeLoggerServiceServer Uses

type UnsafeLoggerServiceServer interface {
    // contains filtered or unexported methods
}

UnsafeLoggerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoggerServiceServer will result in compilation errors.

Package command imports 13 packages (graph) and is imported by 10 packages. Updated 2020-10-15. Refresh now. Tools for package owners.