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: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v2ray_com_core_app_proxyman_command_command_proto protoreflect.FileDescriptor

Functions

func RegisterHandlerServiceServer

func RegisterHandlerServiceServer(s *grpc.Server, srv HandlerServiceServer)

Types

type AddInboundRequest

type AddInboundRequest struct {
	Inbound *core.InboundHandlerConfig `protobuf:"bytes,1,opt,name=inbound,proto3" json:"inbound,omitempty"`
	// contains filtered or unexported fields
}

func (*AddInboundRequest) Descriptor deprecated

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

Deprecated: Use AddInboundRequest.ProtoReflect.Descriptor instead.

func (*AddInboundRequest) GetInbound

func (x *AddInboundRequest) GetInbound() *core.InboundHandlerConfig

func (*AddInboundRequest) ProtoMessage

func (*AddInboundRequest) ProtoMessage()

func (*AddInboundRequest) ProtoReflect

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

func (*AddInboundRequest) Reset

func (x *AddInboundRequest) Reset()

func (*AddInboundRequest) String

func (x *AddInboundRequest) String() string

type AddInboundResponse

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

func (*AddInboundResponse) Descriptor deprecated

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

Deprecated: Use AddInboundResponse.ProtoReflect.Descriptor instead.

func (*AddInboundResponse) ProtoMessage

func (*AddInboundResponse) ProtoMessage()

func (*AddInboundResponse) ProtoReflect

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

func (*AddInboundResponse) Reset

func (x *AddInboundResponse) Reset()

func (*AddInboundResponse) String

func (x *AddInboundResponse) String() string

type AddOutboundRequest

type AddOutboundRequest struct {
	Outbound *core.OutboundHandlerConfig `protobuf:"bytes,1,opt,name=outbound,proto3" json:"outbound,omitempty"`
	// contains filtered or unexported fields
}

func (*AddOutboundRequest) Descriptor deprecated

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

Deprecated: Use AddOutboundRequest.ProtoReflect.Descriptor instead.

func (*AddOutboundRequest) GetOutbound

func (x *AddOutboundRequest) GetOutbound() *core.OutboundHandlerConfig

func (*AddOutboundRequest) ProtoMessage

func (*AddOutboundRequest) ProtoMessage()

func (*AddOutboundRequest) ProtoReflect

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

func (*AddOutboundRequest) Reset

func (x *AddOutboundRequest) Reset()

func (*AddOutboundRequest) String

func (x *AddOutboundRequest) String() string

type AddOutboundResponse

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

func (*AddOutboundResponse) Descriptor deprecated

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

Deprecated: Use AddOutboundResponse.ProtoReflect.Descriptor instead.

func (*AddOutboundResponse) ProtoMessage

func (*AddOutboundResponse) ProtoMessage()

func (*AddOutboundResponse) ProtoReflect

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

func (*AddOutboundResponse) Reset

func (x *AddOutboundResponse) Reset()

func (*AddOutboundResponse) String

func (x *AddOutboundResponse) String() string

type AddUserOperation

type AddUserOperation struct {
	User *protocol.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUserOperation) ApplyInbound

func (op *AddUserOperation) ApplyInbound(ctx context.Context, handler inbound.Handler) error

ApplyInbound implements InboundOperation.

func (*AddUserOperation) Descriptor deprecated

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

Deprecated: Use AddUserOperation.ProtoReflect.Descriptor instead.

func (*AddUserOperation) GetUser

func (x *AddUserOperation) GetUser() *protocol.User

func (*AddUserOperation) ProtoMessage

func (*AddUserOperation) ProtoMessage()

func (*AddUserOperation) ProtoReflect

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

func (*AddUserOperation) Reset

func (x *AddUserOperation) Reset()

func (*AddUserOperation) String

func (x *AddUserOperation) String() string

type AlterInboundRequest

type AlterInboundRequest struct {
	Tag       string               `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Operation *serial.TypedMessage `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterInboundRequest) Descriptor deprecated

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

Deprecated: Use AlterInboundRequest.ProtoReflect.Descriptor instead.

func (*AlterInboundRequest) GetOperation

func (x *AlterInboundRequest) GetOperation() *serial.TypedMessage

func (*AlterInboundRequest) GetTag

func (x *AlterInboundRequest) GetTag() string

func (*AlterInboundRequest) ProtoMessage

func (*AlterInboundRequest) ProtoMessage()

func (*AlterInboundRequest) ProtoReflect

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

func (*AlterInboundRequest) Reset

func (x *AlterInboundRequest) Reset()

func (*AlterInboundRequest) String

func (x *AlterInboundRequest) String() string

type AlterInboundResponse

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

func (*AlterInboundResponse) Descriptor deprecated

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

Deprecated: Use AlterInboundResponse.ProtoReflect.Descriptor instead.

func (*AlterInboundResponse) ProtoMessage

func (*AlterInboundResponse) ProtoMessage()

func (*AlterInboundResponse) ProtoReflect

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

func (*AlterInboundResponse) Reset

func (x *AlterInboundResponse) Reset()

func (*AlterInboundResponse) String

func (x *AlterInboundResponse) String() string

type AlterOutboundRequest

type AlterOutboundRequest struct {
	Tag       string               `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Operation *serial.TypedMessage `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterOutboundRequest) Descriptor deprecated

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

Deprecated: Use AlterOutboundRequest.ProtoReflect.Descriptor instead.

func (*AlterOutboundRequest) GetOperation

func (x *AlterOutboundRequest) GetOperation() *serial.TypedMessage

func (*AlterOutboundRequest) GetTag

func (x *AlterOutboundRequest) GetTag() string

func (*AlterOutboundRequest) ProtoMessage

func (*AlterOutboundRequest) ProtoMessage()

func (*AlterOutboundRequest) ProtoReflect

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

func (*AlterOutboundRequest) Reset

func (x *AlterOutboundRequest) Reset()

func (*AlterOutboundRequest) String

func (x *AlterOutboundRequest) String() string

type AlterOutboundResponse

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

func (*AlterOutboundResponse) Descriptor deprecated

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

Deprecated: Use AlterOutboundResponse.ProtoReflect.Descriptor instead.

func (*AlterOutboundResponse) ProtoMessage

func (*AlterOutboundResponse) ProtoMessage()

func (*AlterOutboundResponse) ProtoReflect

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

func (*AlterOutboundResponse) Reset

func (x *AlterOutboundResponse) Reset()

func (*AlterOutboundResponse) String

func (x *AlterOutboundResponse) String() string

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 HandlerServiceClient

type HandlerServiceClient interface {
	AddInbound(ctx context.Context, in *AddInboundRequest, opts ...grpc.CallOption) (*AddInboundResponse, error)
	RemoveInbound(ctx context.Context, in *RemoveInboundRequest, opts ...grpc.CallOption) (*RemoveInboundResponse, error)
	AlterInbound(ctx context.Context, in *AlterInboundRequest, opts ...grpc.CallOption) (*AlterInboundResponse, error)
	AddOutbound(ctx context.Context, in *AddOutboundRequest, opts ...grpc.CallOption) (*AddOutboundResponse, error)
	RemoveOutbound(ctx context.Context, in *RemoveOutboundRequest, opts ...grpc.CallOption) (*RemoveOutboundResponse, error)
	AlterOutbound(ctx context.Context, in *AlterOutboundRequest, opts ...grpc.CallOption) (*AlterOutboundResponse, error)
}

HandlerServiceClient is the client API for HandlerService service.

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

type HandlerServiceServer

HandlerServiceServer is the server API for HandlerService service.

type InboundOperation

type InboundOperation interface {
	// ApplyInbound applies this operation to the given inbound handler.
	ApplyInbound(context.Context, inbound.Handler) error
}

InboundOperation is the interface for operations that applies to inbound handlers.

type OutboundOperation

type OutboundOperation interface {
	// ApplyOutbound applies this operation to the given outbound handler.
	ApplyOutbound(context.Context, outbound.Handler) error
}

OutboundOperation is the interface for operations that applies to outbound handlers.

type RemoveInboundRequest

type RemoveInboundRequest struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveInboundRequest) Descriptor deprecated

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

Deprecated: Use RemoveInboundRequest.ProtoReflect.Descriptor instead.

func (*RemoveInboundRequest) GetTag

func (x *RemoveInboundRequest) GetTag() string

func (*RemoveInboundRequest) ProtoMessage

func (*RemoveInboundRequest) ProtoMessage()

func (*RemoveInboundRequest) ProtoReflect

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

func (*RemoveInboundRequest) Reset

func (x *RemoveInboundRequest) Reset()

func (*RemoveInboundRequest) String

func (x *RemoveInboundRequest) String() string

type RemoveInboundResponse

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

func (*RemoveInboundResponse) Descriptor deprecated

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

Deprecated: Use RemoveInboundResponse.ProtoReflect.Descriptor instead.

func (*RemoveInboundResponse) ProtoMessage

func (*RemoveInboundResponse) ProtoMessage()

func (*RemoveInboundResponse) ProtoReflect

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

func (*RemoveInboundResponse) Reset

func (x *RemoveInboundResponse) Reset()

func (*RemoveInboundResponse) String

func (x *RemoveInboundResponse) String() string

type RemoveOutboundRequest

type RemoveOutboundRequest struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveOutboundRequest) Descriptor deprecated

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

Deprecated: Use RemoveOutboundRequest.ProtoReflect.Descriptor instead.

func (*RemoveOutboundRequest) GetTag

func (x *RemoveOutboundRequest) GetTag() string

func (*RemoveOutboundRequest) ProtoMessage

func (*RemoveOutboundRequest) ProtoMessage()

func (*RemoveOutboundRequest) ProtoReflect

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

func (*RemoveOutboundRequest) Reset

func (x *RemoveOutboundRequest) Reset()

func (*RemoveOutboundRequest) String

func (x *RemoveOutboundRequest) String() string

type RemoveOutboundResponse

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

func (*RemoveOutboundResponse) Descriptor deprecated

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

Deprecated: Use RemoveOutboundResponse.ProtoReflect.Descriptor instead.

func (*RemoveOutboundResponse) ProtoMessage

func (*RemoveOutboundResponse) ProtoMessage()

func (*RemoveOutboundResponse) ProtoReflect

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

func (*RemoveOutboundResponse) Reset

func (x *RemoveOutboundResponse) Reset()

func (*RemoveOutboundResponse) String

func (x *RemoveOutboundResponse) String() string

type RemoveUserOperation

type RemoveUserOperation struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveUserOperation) ApplyInbound

func (op *RemoveUserOperation) ApplyInbound(ctx context.Context, handler inbound.Handler) error

ApplyInbound implements InboundOperation.

func (*RemoveUserOperation) Descriptor deprecated

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

Deprecated: Use RemoveUserOperation.ProtoReflect.Descriptor instead.

func (*RemoveUserOperation) GetEmail

func (x *RemoveUserOperation) GetEmail() string

func (*RemoveUserOperation) ProtoMessage

func (*RemoveUserOperation) ProtoMessage()

func (*RemoveUserOperation) ProtoReflect

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

func (*RemoveUserOperation) Reset

func (x *RemoveUserOperation) Reset()

func (*RemoveUserOperation) String

func (x *RemoveUserOperation) String() string

type UnimplementedHandlerServiceServer

type UnimplementedHandlerServiceServer struct {
}

UnimplementedHandlerServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHandlerServiceServer) AddInbound

func (*UnimplementedHandlerServiceServer) AddOutbound

func (*UnimplementedHandlerServiceServer) AlterInbound

func (*UnimplementedHandlerServiceServer) AlterOutbound

func (*UnimplementedHandlerServiceServer) RemoveInbound

func (*UnimplementedHandlerServiceServer) RemoveOutbound

Jump to

Keyboard shortcuts

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