| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- // 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 com_v2ray_core_common_net "v2ray.com/core/common/net"
- import com_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 []*com_v2ray_core_common_net2.DestinationPB `protobuf:"bytes,1,rep,name=NameServers,json=nameServers" json:"NameServers,omitempty"`
- Hosts map[string]*com_v2ray_core_common_net.AddressPB `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() []*com_v2ray_core_common_net2.DestinationPB {
- if m != nil {
- return m.NameServers
- }
- return nil
- }
- func (m *Config) GetHosts() map[string]*com_v2ray_core_common_net.AddressPB {
- if m != nil {
- return m.Hosts
- }
- return nil
- }
- func init() {
- proto.RegisterType((*Config)(nil), "com.v2ray.core.app.dns.Config")
- }
- func init() { proto.RegisterFile("v2ray.com/core/app/dns/config.proto", fileDescriptor0) }
- var fileDescriptor0 = []byte{
- // 263 bytes of a gzipped FileDescriptorProto
-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