mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-08-31 08:44:16 -04:00
522 lines
22 KiB
Go
522 lines
22 KiB
Go
package command
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import v2ray_core_common_protocol "v2ray.com/core/common/protocol"
|
|
import v2ray_core_common_serial "v2ray.com/core/common/serial"
|
|
import v2ray_core "v2ray.com/core"
|
|
|
|
import (
|
|
"context"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type AddUserOperation struct {
|
|
User *v2ray_core_common_protocol.User `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"`
|
|
}
|
|
|
|
func (m *AddUserOperation) Reset() { *m = AddUserOperation{} }
|
|
func (m *AddUserOperation) String() string { return proto.CompactTextString(m) }
|
|
func (*AddUserOperation) ProtoMessage() {}
|
|
func (*AddUserOperation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *AddUserOperation) GetUser() *v2ray_core_common_protocol.User {
|
|
if m != nil {
|
|
return m.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveUserOperation struct {
|
|
Email string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
|
|
}
|
|
|
|
func (m *RemoveUserOperation) Reset() { *m = RemoveUserOperation{} }
|
|
func (m *RemoveUserOperation) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveUserOperation) ProtoMessage() {}
|
|
func (*RemoveUserOperation) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
func (m *RemoveUserOperation) GetEmail() string {
|
|
if m != nil {
|
|
return m.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddInboundRequest struct {
|
|
Inbound *v2ray_core.InboundHandlerConfig `protobuf:"bytes,1,opt,name=inbound" json:"inbound,omitempty"`
|
|
}
|
|
|
|
func (m *AddInboundRequest) Reset() { *m = AddInboundRequest{} }
|
|
func (m *AddInboundRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AddInboundRequest) ProtoMessage() {}
|
|
func (*AddInboundRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
|
|
|
func (m *AddInboundRequest) GetInbound() *v2ray_core.InboundHandlerConfig {
|
|
if m != nil {
|
|
return m.Inbound
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddInboundResponse struct {
|
|
}
|
|
|
|
func (m *AddInboundResponse) Reset() { *m = AddInboundResponse{} }
|
|
func (m *AddInboundResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AddInboundResponse) ProtoMessage() {}
|
|
func (*AddInboundResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
|
|
|
type RemoveInboundRequest struct {
|
|
Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
|
|
}
|
|
|
|
func (m *RemoveInboundRequest) Reset() { *m = RemoveInboundRequest{} }
|
|
func (m *RemoveInboundRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveInboundRequest) ProtoMessage() {}
|
|
func (*RemoveInboundRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
|
|
|
func (m *RemoveInboundRequest) GetTag() string {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveInboundResponse struct {
|
|
}
|
|
|
|
func (m *RemoveInboundResponse) Reset() { *m = RemoveInboundResponse{} }
|
|
func (m *RemoveInboundResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveInboundResponse) ProtoMessage() {}
|
|
func (*RemoveInboundResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
|
|
|
type AlterInboundRequest struct {
|
|
Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
|
|
Operation *v2ray_core_common_serial.TypedMessage `protobuf:"bytes,2,opt,name=operation" json:"operation,omitempty"`
|
|
}
|
|
|
|
func (m *AlterInboundRequest) Reset() { *m = AlterInboundRequest{} }
|
|
func (m *AlterInboundRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AlterInboundRequest) ProtoMessage() {}
|
|
func (*AlterInboundRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
|
|
|
func (m *AlterInboundRequest) GetTag() string {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AlterInboundRequest) GetOperation() *v2ray_core_common_serial.TypedMessage {
|
|
if m != nil {
|
|
return m.Operation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AlterInboundResponse struct {
|
|
}
|
|
|
|
func (m *AlterInboundResponse) Reset() { *m = AlterInboundResponse{} }
|
|
func (m *AlterInboundResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AlterInboundResponse) ProtoMessage() {}
|
|
func (*AlterInboundResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
|
|
|
type AddOutboundRequest struct {
|
|
Outbound *v2ray_core.OutboundHandlerConfig `protobuf:"bytes,1,opt,name=outbound" json:"outbound,omitempty"`
|
|
}
|
|
|
|
func (m *AddOutboundRequest) Reset() { *m = AddOutboundRequest{} }
|
|
func (m *AddOutboundRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AddOutboundRequest) ProtoMessage() {}
|
|
func (*AddOutboundRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
|
|
|
func (m *AddOutboundRequest) GetOutbound() *v2ray_core.OutboundHandlerConfig {
|
|
if m != nil {
|
|
return m.Outbound
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddOutboundResponse struct {
|
|
}
|
|
|
|
func (m *AddOutboundResponse) Reset() { *m = AddOutboundResponse{} }
|
|
func (m *AddOutboundResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AddOutboundResponse) ProtoMessage() {}
|
|
func (*AddOutboundResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
|
|
|
type RemoveOutboundRequest struct {
|
|
Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
|
|
}
|
|
|
|
func (m *RemoveOutboundRequest) Reset() { *m = RemoveOutboundRequest{} }
|
|
func (m *RemoveOutboundRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveOutboundRequest) ProtoMessage() {}
|
|
func (*RemoveOutboundRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
|
|
|
func (m *RemoveOutboundRequest) GetTag() string {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemoveOutboundResponse struct {
|
|
}
|
|
|
|
func (m *RemoveOutboundResponse) Reset() { *m = RemoveOutboundResponse{} }
|
|
func (m *RemoveOutboundResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveOutboundResponse) ProtoMessage() {}
|
|
func (*RemoveOutboundResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
|
|
|
type AlterOutboundRequest struct {
|
|
Tag string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
|
|
Operation *v2ray_core_common_serial.TypedMessage `protobuf:"bytes,2,opt,name=operation" json:"operation,omitempty"`
|
|
}
|
|
|
|
func (m *AlterOutboundRequest) Reset() { *m = AlterOutboundRequest{} }
|
|
func (m *AlterOutboundRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*AlterOutboundRequest) ProtoMessage() {}
|
|
func (*AlterOutboundRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
|
|
|
func (m *AlterOutboundRequest) GetTag() string {
|
|
if m != nil {
|
|
return m.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *AlterOutboundRequest) GetOperation() *v2ray_core_common_serial.TypedMessage {
|
|
if m != nil {
|
|
return m.Operation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AlterOutboundResponse struct {
|
|
}
|
|
|
|
func (m *AlterOutboundResponse) Reset() { *m = AlterOutboundResponse{} }
|
|
func (m *AlterOutboundResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*AlterOutboundResponse) ProtoMessage() {}
|
|
func (*AlterOutboundResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
|
|
|
|
type Config struct {
|
|
}
|
|
|
|
func (m *Config) Reset() { *m = Config{} }
|
|
func (m *Config) String() string { return proto.CompactTextString(m) }
|
|
func (*Config) ProtoMessage() {}
|
|
func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
|
|
|
|
func init() {
|
|
proto.RegisterType((*AddUserOperation)(nil), "v2ray.core.app.proxyman.command.AddUserOperation")
|
|
proto.RegisterType((*RemoveUserOperation)(nil), "v2ray.core.app.proxyman.command.RemoveUserOperation")
|
|
proto.RegisterType((*AddInboundRequest)(nil), "v2ray.core.app.proxyman.command.AddInboundRequest")
|
|
proto.RegisterType((*AddInboundResponse)(nil), "v2ray.core.app.proxyman.command.AddInboundResponse")
|
|
proto.RegisterType((*RemoveInboundRequest)(nil), "v2ray.core.app.proxyman.command.RemoveInboundRequest")
|
|
proto.RegisterType((*RemoveInboundResponse)(nil), "v2ray.core.app.proxyman.command.RemoveInboundResponse")
|
|
proto.RegisterType((*AlterInboundRequest)(nil), "v2ray.core.app.proxyman.command.AlterInboundRequest")
|
|
proto.RegisterType((*AlterInboundResponse)(nil), "v2ray.core.app.proxyman.command.AlterInboundResponse")
|
|
proto.RegisterType((*AddOutboundRequest)(nil), "v2ray.core.app.proxyman.command.AddOutboundRequest")
|
|
proto.RegisterType((*AddOutboundResponse)(nil), "v2ray.core.app.proxyman.command.AddOutboundResponse")
|
|
proto.RegisterType((*RemoveOutboundRequest)(nil), "v2ray.core.app.proxyman.command.RemoveOutboundRequest")
|
|
proto.RegisterType((*RemoveOutboundResponse)(nil), "v2ray.core.app.proxyman.command.RemoveOutboundResponse")
|
|
proto.RegisterType((*AlterOutboundRequest)(nil), "v2ray.core.app.proxyman.command.AlterOutboundRequest")
|
|
proto.RegisterType((*AlterOutboundResponse)(nil), "v2ray.core.app.proxyman.command.AlterOutboundResponse")
|
|
proto.RegisterType((*Config)(nil), "v2ray.core.app.proxyman.command.Config")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// Client API for HandlerService service
|
|
|
|
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)
|
|
}
|
|
|
|
type handlerServiceClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewHandlerServiceClient(cc *grpc.ClientConn) HandlerServiceClient {
|
|
return &handlerServiceClient{cc}
|
|
}
|
|
|
|
func (c *handlerServiceClient) AddInbound(ctx context.Context, in *AddInboundRequest, opts ...grpc.CallOption) (*AddInboundResponse, error) {
|
|
out := new(AddInboundResponse)
|
|
err := grpc.Invoke(ctx, "/v2ray.core.app.proxyman.command.HandlerService/AddInbound", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *handlerServiceClient) RemoveInbound(ctx context.Context, in *RemoveInboundRequest, opts ...grpc.CallOption) (*RemoveInboundResponse, error) {
|
|
out := new(RemoveInboundResponse)
|
|
err := grpc.Invoke(ctx, "/v2ray.core.app.proxyman.command.HandlerService/RemoveInbound", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *handlerServiceClient) AlterInbound(ctx context.Context, in *AlterInboundRequest, opts ...grpc.CallOption) (*AlterInboundResponse, error) {
|
|
out := new(AlterInboundResponse)
|
|
err := grpc.Invoke(ctx, "/v2ray.core.app.proxyman.command.HandlerService/AlterInbound", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *handlerServiceClient) AddOutbound(ctx context.Context, in *AddOutboundRequest, opts ...grpc.CallOption) (*AddOutboundResponse, error) {
|
|
out := new(AddOutboundResponse)
|
|
err := grpc.Invoke(ctx, "/v2ray.core.app.proxyman.command.HandlerService/AddOutbound", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *handlerServiceClient) RemoveOutbound(ctx context.Context, in *RemoveOutboundRequest, opts ...grpc.CallOption) (*RemoveOutboundResponse, error) {
|
|
out := new(RemoveOutboundResponse)
|
|
err := grpc.Invoke(ctx, "/v2ray.core.app.proxyman.command.HandlerService/RemoveOutbound", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *handlerServiceClient) AlterOutbound(ctx context.Context, in *AlterOutboundRequest, opts ...grpc.CallOption) (*AlterOutboundResponse, error) {
|
|
out := new(AlterOutboundResponse)
|
|
err := grpc.Invoke(ctx, "/v2ray.core.app.proxyman.command.HandlerService/AlterOutbound", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// Server API for HandlerService service
|
|
|
|
type HandlerServiceServer interface {
|
|
AddInbound(context.Context, *AddInboundRequest) (*AddInboundResponse, error)
|
|
RemoveInbound(context.Context, *RemoveInboundRequest) (*RemoveInboundResponse, error)
|
|
AlterInbound(context.Context, *AlterInboundRequest) (*AlterInboundResponse, error)
|
|
AddOutbound(context.Context, *AddOutboundRequest) (*AddOutboundResponse, error)
|
|
RemoveOutbound(context.Context, *RemoveOutboundRequest) (*RemoveOutboundResponse, error)
|
|
AlterOutbound(context.Context, *AlterOutboundRequest) (*AlterOutboundResponse, error)
|
|
}
|
|
|
|
func RegisterHandlerServiceServer(s *grpc.Server, srv HandlerServiceServer) {
|
|
s.RegisterService(&_HandlerService_serviceDesc, srv)
|
|
}
|
|
|
|
func _HandlerService_AddInbound_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddInboundRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HandlerServiceServer).AddInbound(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/v2ray.core.app.proxyman.command.HandlerService/AddInbound",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HandlerServiceServer).AddInbound(ctx, req.(*AddInboundRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HandlerService_RemoveInbound_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RemoveInboundRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HandlerServiceServer).RemoveInbound(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/v2ray.core.app.proxyman.command.HandlerService/RemoveInbound",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HandlerServiceServer).RemoveInbound(ctx, req.(*RemoveInboundRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HandlerService_AlterInbound_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AlterInboundRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HandlerServiceServer).AlterInbound(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/v2ray.core.app.proxyman.command.HandlerService/AlterInbound",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HandlerServiceServer).AlterInbound(ctx, req.(*AlterInboundRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HandlerService_AddOutbound_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddOutboundRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HandlerServiceServer).AddOutbound(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/v2ray.core.app.proxyman.command.HandlerService/AddOutbound",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HandlerServiceServer).AddOutbound(ctx, req.(*AddOutboundRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HandlerService_RemoveOutbound_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RemoveOutboundRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HandlerServiceServer).RemoveOutbound(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/v2ray.core.app.proxyman.command.HandlerService/RemoveOutbound",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HandlerServiceServer).RemoveOutbound(ctx, req.(*RemoveOutboundRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _HandlerService_AlterOutbound_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AlterOutboundRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(HandlerServiceServer).AlterOutbound(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/v2ray.core.app.proxyman.command.HandlerService/AlterOutbound",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(HandlerServiceServer).AlterOutbound(ctx, req.(*AlterOutboundRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _HandlerService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "v2ray.core.app.proxyman.command.HandlerService",
|
|
HandlerType: (*HandlerServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "AddInbound",
|
|
Handler: _HandlerService_AddInbound_Handler,
|
|
},
|
|
{
|
|
MethodName: "RemoveInbound",
|
|
Handler: _HandlerService_RemoveInbound_Handler,
|
|
},
|
|
{
|
|
MethodName: "AlterInbound",
|
|
Handler: _HandlerService_AlterInbound_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddOutbound",
|
|
Handler: _HandlerService_AddOutbound_Handler,
|
|
},
|
|
{
|
|
MethodName: "RemoveOutbound",
|
|
Handler: _HandlerService_RemoveOutbound_Handler,
|
|
},
|
|
{
|
|
MethodName: "AlterOutbound",
|
|
Handler: _HandlerService_AlterOutbound_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "v2ray.com/core/app/proxyman/command/command.proto",
|
|
}
|
|
|
|
func init() { proto.RegisterFile("v2ray.com/core/app/proxyman/command/command.proto", fileDescriptor0) }
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 557 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdf, 0x6b, 0xd3, 0x40,
|
|
0x1c, 0xb7, 0x53, 0xbb, 0xed, 0x3b, 0x1d, 0xf3, 0xda, 0x6e, 0x25, 0x3e, 0x6c, 0x46, 0x90, 0x0d,
|
|
0xe1, 0xa2, 0x59, 0x37, 0x41, 0xf0, 0xa1, 0xd6, 0x87, 0xf9, 0x20, 0x1d, 0x99, 0xfa, 0xe0, 0x8b,
|
|
0xdc, 0x92, 0xb3, 0x04, 0x92, 0xbb, 0xf3, 0x92, 0x56, 0x2b, 0x08, 0x82, 0xff, 0x80, 0x7f, 0x87,
|
|
0x7f, 0xa5, 0x24, 0x77, 0xd7, 0x25, 0x69, 0x21, 0x0d, 0xf8, 0xd4, 0xf4, 0xfa, 0xf9, 0xf5, 0xfd,
|
|
0xde, 0x27, 0x14, 0x9e, 0xcf, 0x5c, 0x49, 0xe6, 0xd8, 0xe7, 0xb1, 0xe3, 0x73, 0x49, 0x1d, 0x22,
|
|
0x84, 0x23, 0x24, 0xff, 0x3e, 0x8f, 0x09, 0x73, 0x7c, 0x1e, 0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