dns_proxy.go 215 B

123456789101112
  1. package conf
  2. import (
  3. "github.com/golang/protobuf/proto"
  4. "v2ray.com/core/proxy/dns"
  5. )
  6. type DnsOutboundConfig struct{}
  7. func (c *DnsOutboundConfig) Build() (proto.Message, error) {
  8. return new(dns.Config), nil
  9. }