author | Alberto Bertogli
<albertito@blitiri.com.ar> 2016-08-20 10:45:12 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2016-08-20 10:45:12 UTC |
parent | e40ff562bed26bd55afb90919a464d7c72037ad9 |
internal/dnstox/resolver.go | +1 | -1 |
internal/proto/dnss.pb.go | +8 | -3 |
diff --git a/internal/dnstox/resolver.go b/internal/dnstox/resolver.go index 6b3cf49..165a1be 100644 --- a/internal/dnstox/resolver.go +++ b/internal/dnstox/resolver.go @@ -57,7 +57,7 @@ func NewGRPCResolver(upstream, caFile string) *grpcResolver { func (g *grpcResolver) Init() error { var err error - var creds credentials.TransportAuthenticator + var creds credentials.TransportCredentials if g.CAFile == "" { creds = credentials.NewClientTLSFromCert(nil, "") } else { diff --git a/internal/proto/dnss.pb.go b/internal/proto/dnss.pb.go index ab459cb..8343eac 100644 --- a/internal/proto/dnss.pb.go +++ b/internal/proto/dnss.pb.go @@ -29,7 +29,9 @@ 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. -const _ = proto.ProtoPackageIsVersion1 +// 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 RawMsg struct { // DNS-encoded message. @@ -52,7 +54,7 @@ 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.SupportPackageIsVersion2 +const _ = grpc.SupportPackageIsVersion3 // Client API for DNSService service @@ -114,9 +116,12 @@ var _DNSService_serviceDesc = grpc.ServiceDesc{ Handler: _DNSService_Query_Handler, }, }, - Streams: []grpc.StreamDesc{}, + Streams: []grpc.StreamDesc{}, + Metadata: fileDescriptor0, } +func init() { proto.RegisterFile("dnss.proto", fileDescriptor0) } + var fileDescriptor0 = []byte{ // 102 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0xc9, 0x2b, 0x2e,