mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
4.4 KiB
109 lines
4.4 KiB
8 years ago
|
// Code generated by protoc-gen-go.
|
||
|
// source: v2ray.com/core/proxy/dokodemo/config.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
/*
|
||
|
Package dokodemo is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
v2ray.com/core/proxy/dokodemo/config.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
Config
|
||
|
*/
|
||
|
package dokodemo
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import v2ray_core_common_net "v2ray.com/core/common/net"
|
||
|
import v2ray_core_common_net1 "v2ray.com/core/common/net"
|
||
|
|
||
|
// 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 Config struct {
|
||
|
Address *v2ray_core_common_net.IPOrDomain `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
|
||
|
Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
|
||
|
NetworkList *v2ray_core_common_net1.NetworkList `protobuf:"bytes,3,opt,name=network_list,json=networkList" json:"network_list,omitempty"`
|
||
|
Timeout uint32 `protobuf:"varint,4,opt,name=timeout" json:"timeout,omitempty"`
|
||
|
FollowRedirect bool `protobuf:"varint,5,opt,name=follow_redirect,json=followRedirect" json:"follow_redirect,omitempty"`
|
||
|
}
|
||
|
|
||
|
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{0} }
|
||
|
|
||
|
func (m *Config) GetAddress() *v2ray_core_common_net.IPOrDomain {
|
||
|
if m != nil {
|
||
|
return m.Address
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetPort() uint32 {
|
||
|
if m != nil {
|
||
|
return m.Port
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetNetworkList() *v2ray_core_common_net1.NetworkList {
|
||
|
if m != nil {
|
||
|
return m.NetworkList
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetTimeout() uint32 {
|
||
|
if m != nil {
|
||
|
return m.Timeout
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *Config) GetFollowRedirect() bool {
|
||
|
if m != nil {
|
||
|
return m.FollowRedirect
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*Config)(nil), "v2ray.core.proxy.dokodemo.Config")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("v2ray.com/core/proxy/dokodemo/config.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 293 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0x4f, 0x4b, 0xfb, 0x30,
|
||
|
0x18, 0xc7, 0xe9, 0x7e, 0xfb, 0x6d, 0x23, 0xf5, 0x0f, 0xe4, 0x94, 0x09, 0x42, 0xdd, 0x65, 0xc5,
|
||
|
0x43, 0x02, 0xf5, 0xe8, 0x6d, 0x9b, 0x07, 0x41, 0xb4, 0xe4, 0xe0, 0xc1, 0xcb, 0xa8, 0x69, 0x26,
|
||
|
0x61, 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