import "v2ray.com/core/app/log/command"
command.go config.pb.go config_grpc.pb.go errors.generated.go
var File_app_log_command_config_proto protoreflect.FileDescriptor
func RegisterLoggerServiceServer(s *grpc.Server, srv LoggerServiceServer)
type Config struct {
// contains filtered or unexported fields
}
Deprecated: Use Config.ProtoReflect.Descriptor instead.
func (x *Config) ProtoReflect() protoreflect.Message
func (s *LoggerServer) RestartLogger(ctx context.Context, request *RestartLoggerRequest) (*RestartLoggerResponse, error)
RestartLogger implements LoggerService.
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(cc grpc.ClientConnInterface) LoggerServiceClient
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 struct {
// contains filtered or unexported fields
}
func (*RestartLoggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartLoggerRequest.ProtoReflect.Descriptor instead.
func (*RestartLoggerRequest) ProtoMessage()
func (x *RestartLoggerRequest) ProtoReflect() protoreflect.Message
func (x *RestartLoggerRequest) Reset()
func (x *RestartLoggerRequest) String() string
type RestartLoggerResponse struct {
// contains filtered or unexported fields
}
func (*RestartLoggerResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestartLoggerResponse.ProtoReflect.Descriptor instead.
func (*RestartLoggerResponse) ProtoMessage()
func (x *RestartLoggerResponse) ProtoReflect() protoreflect.Message
func (x *RestartLoggerResponse) Reset()
func (x *RestartLoggerResponse) String() string
type UnimplementedLoggerServiceServer struct { }
UnimplementedLoggerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLoggerServiceServer) RestartLogger(context.Context, *RestartLoggerRequest) (*RestartLoggerResponse, error)
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.