1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- // Code generated by protoc-gen-go.
- // source: v2ray.com/core/app/dns/config.proto
- // DO NOT EDIT!
- /*
- Package dns is a generated protocol buffer package.
- It is generated from these files:
- v2ray.com/core/app/dns/config.proto
- It has these top-level messages:
- Config
- */
- package dns
- 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_net2 "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 {
- NameServers []*v2ray_core_common_net2.Endpoint `protobuf:"bytes,1,rep,name=NameServers,json=nameServers" json:"NameServers,omitempty"`
- Hosts map[string]*v2ray_core_common_net.IPOrDomain `protobuf:"bytes,2,rep,name=Hosts,json=hosts" json:"Hosts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- }
- 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) GetNameServers() []*v2ray_core_common_net2.Endpoint {
- if m != nil {
- return m.NameServers
- }
- return nil
- }
- func (m *Config) GetHosts() map[string]*v2ray_core_common_net.IPOrDomain {
- if m != nil {
- return m.Hosts
- }
- return nil
- }
- func init() {
- proto.RegisterType((*Config)(nil), "v2ray.core.app.dns.Config")
- }
- func init() { proto.RegisterFile("v2ray.com/core/app/dns/config.proto", fileDescriptor0) }
- var fileDescriptor0 = []byte{
- // 276 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 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