Documentation ¶
Index ¶
- Variables
- func RegisterArchiveServer(s *grpc.Server, srv ArchiveServer)
- func RegisterFinderServer(s *grpc.Server, srv FinderServer)
- func RegisterResolvCheckServer(s *grpc.Server, srv ResolvCheckServer)
- func RegisterResolvCollectServer(s *grpc.Server, srv ResolvCollectServer)
- type ArchiveClient
- type ArchiveServer
- type FinderClient
- type FinderServer
- type GetResolvRequest
- type GetResolvResponse
- type ListResolvsRequest
- func (*ListResolvsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResolvsRequest) GetFilters() []*ResolvsFilter
- func (x *ListResolvsRequest) GetMax() int32
- func (x *ListResolvsRequest) GetNext() string
- func (x *ListResolvsRequest) GetReverse() bool
- func (*ListResolvsRequest) ProtoMessage()
- func (x *ListResolvsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResolvsRequest) Reset()
- func (x *ListResolvsRequest) String() string
- type ListResolvsResponse
- func (*ListResolvsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResolvsResponse) GetData() []*ResolvData
- func (x *ListResolvsResponse) GetNext() string
- func (*ListResolvsResponse) ProtoMessage()
- func (x *ListResolvsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResolvsResponse) Reset()
- func (x *ListResolvsResponse) String() string
- type ResolvCheckClient
- type ResolvCheckRequest
- func (*ResolvCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvCheckRequest) GetClientIp() string
- func (x *ResolvCheckRequest) GetName() string
- func (x *ResolvCheckRequest) GetResolvedIp() string
- func (*ResolvCheckRequest) ProtoMessage()
- func (x *ResolvCheckRequest) ProtoReflect() protoreflect.Message
- func (x *ResolvCheckRequest) Reset()
- func (x *ResolvCheckRequest) String() string
- type ResolvCheckResponse
- func (*ResolvCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvCheckResponse) GetLastTs() *timestamp.Timestamp
- func (x *ResolvCheckResponse) GetResult() bool
- func (x *ResolvCheckResponse) GetStoreTs() *timestamp.Timestamp
- func (*ResolvCheckResponse) ProtoMessage()
- func (x *ResolvCheckResponse) ProtoReflect() protoreflect.Message
- func (x *ResolvCheckResponse) Reset()
- func (x *ResolvCheckResponse) String() string
- type ResolvCheckServer
- type ResolvCollectClient
- type ResolvCollectRequest
- func (*ResolvCollectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvCollectRequest) GetClientIp() string
- func (x *ResolvCollectRequest) GetName() string
- func (x *ResolvCollectRequest) GetResolvedCnames() []string
- func (x *ResolvCollectRequest) GetResolvedIps() []string
- func (*ResolvCollectRequest) ProtoMessage()
- func (x *ResolvCollectRequest) ProtoReflect() protoreflect.Message
- func (x *ResolvCollectRequest) Reset()
- func (x *ResolvCollectRequest) String() string
- type ResolvCollectServer
- type ResolvData
- func (*ResolvData) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvData) GetClientIp() string
- func (x *ResolvData) GetDuration() int64
- func (x *ResolvData) GetId() string
- func (x *ResolvData) GetIsIpv6() bool
- func (x *ResolvData) GetName() string
- func (x *ResolvData) GetQid() int32
- func (x *ResolvData) GetQueryFlags() *ResolvData_QueryFlags
- func (x *ResolvData) GetResolvedCnames() []string
- func (x *ResolvData) GetResolvedIps() []string
- func (x *ResolvData) GetResponseFlags() *ResolvData_ResponseFlags
- func (x *ResolvData) GetReturnCode() int32
- func (x *ResolvData) GetServerIp() string
- func (x *ResolvData) GetTld() string
- func (x *ResolvData) GetTldPlusOne() string
- func (x *ResolvData) GetTs() *timestamp.Timestamp
- func (*ResolvData) ProtoMessage()
- func (x *ResolvData) ProtoReflect() protoreflect.Message
- func (x *ResolvData) Reset()
- func (x *ResolvData) String() string
- type ResolvData_QueryFlags
- func (*ResolvData_QueryFlags) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvData_QueryFlags) GetAuthenticatedData() bool
- func (x *ResolvData_QueryFlags) GetCheckingDisabled() bool
- func (x *ResolvData_QueryFlags) GetDo() bool
- func (*ResolvData_QueryFlags) ProtoMessage()
- func (x *ResolvData_QueryFlags) ProtoReflect() protoreflect.Message
- func (x *ResolvData_QueryFlags) Reset()
- func (x *ResolvData_QueryFlags) String() string
- type ResolvData_ResponseFlags
- func (*ResolvData_ResponseFlags) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvData_ResponseFlags) GetAuthenticatedData() bool
- func (*ResolvData_ResponseFlags) ProtoMessage()
- func (x *ResolvData_ResponseFlags) ProtoReflect() protoreflect.Message
- func (x *ResolvData_ResponseFlags) Reset()
- func (x *ResolvData_ResponseFlags) String() string
- type ResolvsFilter
- func (*ResolvsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvsFilter) GetClientIp() string
- func (x *ResolvsFilter) GetName() string
- func (x *ResolvsFilter) GetQid() int32
- func (x *ResolvsFilter) GetResolvedCname() string
- func (x *ResolvsFilter) GetResolvedIp() string
- func (x *ResolvsFilter) GetReturnCode() int32
- func (x *ResolvsFilter) GetServerIp() string
- func (x *ResolvsFilter) GetSince() *timestamp.Timestamp
- func (x *ResolvsFilter) GetTld() string
- func (x *ResolvsFilter) GetTldPlusOne() string
- func (x *ResolvsFilter) GetTo() *timestamp.Timestamp
- func (*ResolvsFilter) ProtoMessage()
- func (x *ResolvsFilter) ProtoReflect() protoreflect.Message
- func (x *ResolvsFilter) Reset()
- func (x *ResolvsFilter) String() string
- type SaveResolvRequest
- func (*SaveResolvRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveResolvRequest) GetResolv() *ResolvData
- func (*SaveResolvRequest) ProtoMessage()
- func (x *SaveResolvRequest) ProtoReflect() protoreflect.Message
- func (x *SaveResolvRequest) Reset()
- func (x *SaveResolvRequest) String() string
- type SaveResolvResponse
- type UnimplementedArchiveServer
- type UnimplementedFinderServer
- type UnimplementedResolvCheckServer
- type UnimplementedResolvCollectServer
Constants ¶
This section is empty.
Variables ¶
var File_github_com_luids_io_api_schemas_dnsutil_archive_proto protoreflect.FileDescriptor
var File_github_com_luids_io_api_schemas_dnsutil_common_proto protoreflect.FileDescriptor
var File_github_com_luids_io_api_schemas_dnsutil_finder_proto protoreflect.FileDescriptor
var File_github_com_luids_io_api_schemas_dnsutil_resolvcache_proto protoreflect.FileDescriptor
Functions ¶
func RegisterArchiveServer ¶
func RegisterArchiveServer(s *grpc.Server, srv ArchiveServer)
func RegisterFinderServer ¶
func RegisterFinderServer(s *grpc.Server, srv FinderServer)
func RegisterResolvCheckServer ¶
func RegisterResolvCheckServer(s *grpc.Server, srv ResolvCheckServer)
func RegisterResolvCollectServer ¶
func RegisterResolvCollectServer(s *grpc.Server, srv ResolvCollectServer)
Types ¶
type ArchiveClient ¶
type ArchiveClient interface {
SaveResolv(ctx context.Context, in *SaveResolvRequest, opts ...grpc.CallOption) (*SaveResolvResponse, error)
}
ArchiveClient is the client API for Archive service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewArchiveClient ¶
func NewArchiveClient(cc grpc.ClientConnInterface) ArchiveClient
type ArchiveServer ¶
type ArchiveServer interface {
SaveResolv(context.Context, *SaveResolvRequest) (*SaveResolvResponse, error)
}
ArchiveServer is the server API for Archive service.
type FinderClient ¶
type FinderClient interface { GetResolv(ctx context.Context, in *GetResolvRequest, opts ...grpc.CallOption) (*GetResolvResponse, error) ListResolvs(ctx context.Context, in *ListResolvsRequest, opts ...grpc.CallOption) (*ListResolvsResponse, error) }
FinderClient is the client API for Finder service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFinderClient ¶
func NewFinderClient(cc grpc.ClientConnInterface) FinderClient
type FinderServer ¶
type FinderServer interface { GetResolv(context.Context, *GetResolvRequest) (*GetResolvResponse, error) ListResolvs(context.Context, *ListResolvsRequest) (*ListResolvsResponse, error) }
FinderServer is the server API for Finder service.
type GetResolvRequest ¶
type GetResolvRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetResolvRequest) Descriptor
deprecated
func (*GetResolvRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResolvRequest.ProtoReflect.Descriptor instead.
func (*GetResolvRequest) GetId ¶
func (x *GetResolvRequest) GetId() string
func (*GetResolvRequest) ProtoMessage ¶
func (*GetResolvRequest) ProtoMessage()
func (*GetResolvRequest) ProtoReflect ¶
func (x *GetResolvRequest) ProtoReflect() protoreflect.Message
func (*GetResolvRequest) Reset ¶
func (x *GetResolvRequest) Reset()
func (*GetResolvRequest) String ¶
func (x *GetResolvRequest) String() string
type GetResolvResponse ¶
type GetResolvResponse struct { Data *ResolvData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetResolvResponse) Descriptor
deprecated
func (*GetResolvResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResolvResponse.ProtoReflect.Descriptor instead.
func (*GetResolvResponse) GetData ¶
func (x *GetResolvResponse) GetData() *ResolvData
func (*GetResolvResponse) ProtoMessage ¶
func (*GetResolvResponse) ProtoMessage()
func (*GetResolvResponse) ProtoReflect ¶
func (x *GetResolvResponse) ProtoReflect() protoreflect.Message
func (*GetResolvResponse) Reset ¶
func (x *GetResolvResponse) Reset()
func (*GetResolvResponse) String ¶
func (x *GetResolvResponse) String() string
type ListResolvsRequest ¶
type ListResolvsRequest struct { Max int32 `protobuf:"varint,1,opt,name=max,proto3" json:"max,omitempty"` Next string `protobuf:"bytes,2,opt,name=next,proto3" json:"next,omitempty"` Filters []*ResolvsFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` Reverse bool `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"` // contains filtered or unexported fields }
func (*ListResolvsRequest) Descriptor
deprecated
func (*ListResolvsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResolvsRequest.ProtoReflect.Descriptor instead.
func (*ListResolvsRequest) GetFilters ¶
func (x *ListResolvsRequest) GetFilters() []*ResolvsFilter
func (*ListResolvsRequest) GetMax ¶
func (x *ListResolvsRequest) GetMax() int32
func (*ListResolvsRequest) GetNext ¶
func (x *ListResolvsRequest) GetNext() string
func (*ListResolvsRequest) GetReverse ¶
func (x *ListResolvsRequest) GetReverse() bool
func (*ListResolvsRequest) ProtoMessage ¶
func (*ListResolvsRequest) ProtoMessage()
func (*ListResolvsRequest) ProtoReflect ¶
func (x *ListResolvsRequest) ProtoReflect() protoreflect.Message
func (*ListResolvsRequest) Reset ¶
func (x *ListResolvsRequest) Reset()
func (*ListResolvsRequest) String ¶
func (x *ListResolvsRequest) String() string
type ListResolvsResponse ¶
type ListResolvsResponse struct { Data []*ResolvData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Next string `protobuf:"bytes,2,opt,name=next,proto3" json:"next,omitempty"` // contains filtered or unexported fields }
func (*ListResolvsResponse) Descriptor
deprecated
func (*ListResolvsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResolvsResponse.ProtoReflect.Descriptor instead.
func (*ListResolvsResponse) GetData ¶
func (x *ListResolvsResponse) GetData() []*ResolvData
func (*ListResolvsResponse) GetNext ¶
func (x *ListResolvsResponse) GetNext() string
func (*ListResolvsResponse) ProtoMessage ¶
func (*ListResolvsResponse) ProtoMessage()
func (*ListResolvsResponse) ProtoReflect ¶
func (x *ListResolvsResponse) ProtoReflect() protoreflect.Message
func (*ListResolvsResponse) Reset ¶
func (x *ListResolvsResponse) Reset()
func (*ListResolvsResponse) String ¶
func (x *ListResolvsResponse) String() string
type ResolvCheckClient ¶
type ResolvCheckClient interface {
Check(ctx context.Context, in *ResolvCheckRequest, opts ...grpc.CallOption) (*ResolvCheckResponse, error)
}
ResolvCheckClient is the client API for ResolvCheck service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewResolvCheckClient ¶
func NewResolvCheckClient(cc grpc.ClientConnInterface) ResolvCheckClient
type ResolvCheckRequest ¶
type ResolvCheckRequest struct { ClientIp string `protobuf:"bytes,1,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` ResolvedIp string `protobuf:"bytes,2,opt,name=resolved_ip,json=resolvedIp,proto3" json:"resolved_ip,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ResolvCheckRequest) Descriptor
deprecated
func (*ResolvCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolvCheckRequest.ProtoReflect.Descriptor instead.
func (*ResolvCheckRequest) GetClientIp ¶
func (x *ResolvCheckRequest) GetClientIp() string
func (*ResolvCheckRequest) GetName ¶
func (x *ResolvCheckRequest) GetName() string
func (*ResolvCheckRequest) GetResolvedIp ¶
func (x *ResolvCheckRequest) GetResolvedIp() string
func (*ResolvCheckRequest) ProtoMessage ¶
func (*ResolvCheckRequest) ProtoMessage()
func (*ResolvCheckRequest) ProtoReflect ¶
func (x *ResolvCheckRequest) ProtoReflect() protoreflect.Message
func (*ResolvCheckRequest) Reset ¶
func (x *ResolvCheckRequest) Reset()
func (*ResolvCheckRequest) String ¶
func (x *ResolvCheckRequest) String() string
type ResolvCheckResponse ¶
type ResolvCheckResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` LastTs *timestamp.Timestamp `protobuf:"bytes,2,opt,name=last_ts,json=lastTs,proto3" json:"last_ts,omitempty"` StoreTs *timestamp.Timestamp `protobuf:"bytes,3,opt,name=store_ts,json=storeTs,proto3" json:"store_ts,omitempty"` // contains filtered or unexported fields }
func (*ResolvCheckResponse) Descriptor
deprecated
func (*ResolvCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolvCheckResponse.ProtoReflect.Descriptor instead.
func (*ResolvCheckResponse) GetLastTs ¶
func (x *ResolvCheckResponse) GetLastTs() *timestamp.Timestamp
func (*ResolvCheckResponse) GetResult ¶
func (x *ResolvCheckResponse) GetResult() bool
func (*ResolvCheckResponse) GetStoreTs ¶
func (x *ResolvCheckResponse) GetStoreTs() *timestamp.Timestamp
func (*ResolvCheckResponse) ProtoMessage ¶
func (*ResolvCheckResponse) ProtoMessage()
func (*ResolvCheckResponse) ProtoReflect ¶
func (x *ResolvCheckResponse) ProtoReflect() protoreflect.Message
func (*ResolvCheckResponse) Reset ¶
func (x *ResolvCheckResponse) Reset()
func (*ResolvCheckResponse) String ¶
func (x *ResolvCheckResponse) String() string
type ResolvCheckServer ¶
type ResolvCheckServer interface {
Check(context.Context, *ResolvCheckRequest) (*ResolvCheckResponse, error)
}
ResolvCheckServer is the server API for ResolvCheck service.
type ResolvCollectClient ¶
type ResolvCollectClient interface {
Collect(ctx context.Context, in *ResolvCollectRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}
ResolvCollectClient is the client API for ResolvCollect service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewResolvCollectClient ¶
func NewResolvCollectClient(cc grpc.ClientConnInterface) ResolvCollectClient
type ResolvCollectRequest ¶
type ResolvCollectRequest struct { ClientIp string `protobuf:"bytes,1,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ResolvedIps []string `protobuf:"bytes,3,rep,name=resolved_ips,json=resolvedIps,proto3" json:"resolved_ips,omitempty"` ResolvedCnames []string `protobuf:"bytes,4,rep,name=resolved_cnames,json=resolvedCnames,proto3" json:"resolved_cnames,omitempty"` // contains filtered or unexported fields }
func (*ResolvCollectRequest) Descriptor
deprecated
func (*ResolvCollectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolvCollectRequest.ProtoReflect.Descriptor instead.
func (*ResolvCollectRequest) GetClientIp ¶
func (x *ResolvCollectRequest) GetClientIp() string
func (*ResolvCollectRequest) GetName ¶
func (x *ResolvCollectRequest) GetName() string
func (*ResolvCollectRequest) GetResolvedCnames ¶
func (x *ResolvCollectRequest) GetResolvedCnames() []string
func (*ResolvCollectRequest) GetResolvedIps ¶
func (x *ResolvCollectRequest) GetResolvedIps() []string
func (*ResolvCollectRequest) ProtoMessage ¶
func (*ResolvCollectRequest) ProtoMessage()
func (*ResolvCollectRequest) ProtoReflect ¶
func (x *ResolvCollectRequest) ProtoReflect() protoreflect.Message
func (*ResolvCollectRequest) Reset ¶
func (x *ResolvCollectRequest) Reset()
func (*ResolvCollectRequest) String ¶
func (x *ResolvCollectRequest) String() string
type ResolvCollectServer ¶
type ResolvCollectServer interface {
Collect(context.Context, *ResolvCollectRequest) (*empty.Empty, error)
}
ResolvCollectServer is the server API for ResolvCollect service.
type ResolvData ¶
type ResolvData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Ts *timestamp.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` Duration int64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` ServerIp string `protobuf:"bytes,4,opt,name=server_ip,json=serverIp,proto3" json:"server_ip,omitempty"` ClientIp string `protobuf:"bytes,5,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` Qid int32 `protobuf:"varint,6,opt,name=qid,proto3" json:"qid,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` IsIpv6 bool `protobuf:"varint,8,opt,name=is_ipv6,json=isIpv6,proto3" json:"is_ipv6,omitempty"` QueryFlags *ResolvData_QueryFlags `protobuf:"bytes,9,opt,name=query_flags,json=queryFlags,proto3" json:"query_flags,omitempty"` ReturnCode int32 `protobuf:"varint,10,opt,name=return_code,json=returnCode,proto3" json:"return_code,omitempty"` ResolvedIps []string `protobuf:"bytes,11,rep,name=resolved_ips,json=resolvedIps,proto3" json:"resolved_ips,omitempty"` ResolvedCnames []string `protobuf:"bytes,12,rep,name=resolved_cnames,json=resolvedCnames,proto3" json:"resolved_cnames,omitempty"` ResponseFlags *ResolvData_ResponseFlags `protobuf:"bytes,13,opt,name=response_flags,json=responseFlags,proto3" json:"response_flags,omitempty"` Tld string `protobuf:"bytes,14,opt,name=tld,proto3" json:"tld,omitempty"` TldPlusOne string `protobuf:"bytes,15,opt,name=tld_plus_one,json=tldPlusOne,proto3" json:"tld_plus_one,omitempty"` // contains filtered or unexported fields }
func (*ResolvData) Descriptor
deprecated
func (*ResolvData) Descriptor() ([]byte, []int)
Deprecated: Use ResolvData.ProtoReflect.Descriptor instead.
func (*ResolvData) GetClientIp ¶
func (x *ResolvData) GetClientIp() string
func (*ResolvData) GetDuration ¶
func (x *ResolvData) GetDuration() int64
func (*ResolvData) GetId ¶
func (x *ResolvData) GetId() string
func (*ResolvData) GetIsIpv6 ¶
func (x *ResolvData) GetIsIpv6() bool
func (*ResolvData) GetName ¶
func (x *ResolvData) GetName() string
func (*ResolvData) GetQid ¶
func (x *ResolvData) GetQid() int32
func (*ResolvData) GetQueryFlags ¶
func (x *ResolvData) GetQueryFlags() *ResolvData_QueryFlags
func (*ResolvData) GetResolvedCnames ¶
func (x *ResolvData) GetResolvedCnames() []string
func (*ResolvData) GetResolvedIps ¶
func (x *ResolvData) GetResolvedIps() []string
func (*ResolvData) GetResponseFlags ¶
func (x *ResolvData) GetResponseFlags() *ResolvData_ResponseFlags
func (*ResolvData) GetReturnCode ¶
func (x *ResolvData) GetReturnCode() int32
func (*ResolvData) GetServerIp ¶
func (x *ResolvData) GetServerIp() string
func (*ResolvData) GetTld ¶
func (x *ResolvData) GetTld() string
func (*ResolvData) GetTldPlusOne ¶
func (x *ResolvData) GetTldPlusOne() string
func (*ResolvData) GetTs ¶
func (x *ResolvData) GetTs() *timestamp.Timestamp
func (*ResolvData) ProtoMessage ¶
func (*ResolvData) ProtoMessage()
func (*ResolvData) ProtoReflect ¶
func (x *ResolvData) ProtoReflect() protoreflect.Message
func (*ResolvData) Reset ¶
func (x *ResolvData) Reset()
func (*ResolvData) String ¶
func (x *ResolvData) String() string
type ResolvData_QueryFlags ¶
type ResolvData_QueryFlags struct { Do bool `protobuf:"varint,1,opt,name=do,proto3" json:"do,omitempty"` AuthenticatedData bool `protobuf:"varint,2,opt,name=authenticated_data,json=authenticatedData,proto3" json:"authenticated_data,omitempty"` CheckingDisabled bool `protobuf:"varint,3,opt,name=checking_disabled,json=checkingDisabled,proto3" json:"checking_disabled,omitempty"` // contains filtered or unexported fields }
func (*ResolvData_QueryFlags) Descriptor
deprecated
func (*ResolvData_QueryFlags) Descriptor() ([]byte, []int)
Deprecated: Use ResolvData_QueryFlags.ProtoReflect.Descriptor instead.
func (*ResolvData_QueryFlags) GetAuthenticatedData ¶
func (x *ResolvData_QueryFlags) GetAuthenticatedData() bool
func (*ResolvData_QueryFlags) GetCheckingDisabled ¶
func (x *ResolvData_QueryFlags) GetCheckingDisabled() bool
func (*ResolvData_QueryFlags) GetDo ¶
func (x *ResolvData_QueryFlags) GetDo() bool
func (*ResolvData_QueryFlags) ProtoMessage ¶
func (*ResolvData_QueryFlags) ProtoMessage()
func (*ResolvData_QueryFlags) ProtoReflect ¶
func (x *ResolvData_QueryFlags) ProtoReflect() protoreflect.Message
func (*ResolvData_QueryFlags) Reset ¶
func (x *ResolvData_QueryFlags) Reset()
func (*ResolvData_QueryFlags) String ¶
func (x *ResolvData_QueryFlags) String() string
type ResolvData_ResponseFlags ¶
type ResolvData_ResponseFlags struct { AuthenticatedData bool `protobuf:"varint,1,opt,name=authenticated_data,json=authenticatedData,proto3" json:"authenticated_data,omitempty"` // contains filtered or unexported fields }
func (*ResolvData_ResponseFlags) Descriptor
deprecated
func (*ResolvData_ResponseFlags) Descriptor() ([]byte, []int)
Deprecated: Use ResolvData_ResponseFlags.ProtoReflect.Descriptor instead.
func (*ResolvData_ResponseFlags) GetAuthenticatedData ¶
func (x *ResolvData_ResponseFlags) GetAuthenticatedData() bool
func (*ResolvData_ResponseFlags) ProtoMessage ¶
func (*ResolvData_ResponseFlags) ProtoMessage()
func (*ResolvData_ResponseFlags) ProtoReflect ¶
func (x *ResolvData_ResponseFlags) ProtoReflect() protoreflect.Message
func (*ResolvData_ResponseFlags) Reset ¶
func (x *ResolvData_ResponseFlags) Reset()
func (*ResolvData_ResponseFlags) String ¶
func (x *ResolvData_ResponseFlags) String() string
type ResolvsFilter ¶
type ResolvsFilter struct { Since *timestamp.Timestamp `protobuf:"bytes,1,opt,name=since,proto3" json:"since,omitempty"` To *timestamp.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` ServerIp string `protobuf:"bytes,3,opt,name=server_ip,json=serverIp,proto3" json:"server_ip,omitempty"` ClientIp string `protobuf:"bytes,4,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` ResolvedIp string `protobuf:"bytes,6,opt,name=resolved_ip,json=resolvedIp,proto3" json:"resolved_ip,omitempty"` ResolvedCname string `protobuf:"bytes,7,opt,name=resolved_cname,json=resolvedCname,proto3" json:"resolved_cname,omitempty"` Qid int32 `protobuf:"varint,8,opt,name=qid,proto3" json:"qid,omitempty"` ReturnCode int32 `protobuf:"varint,9,opt,name=return_code,json=returnCode,proto3" json:"return_code,omitempty"` Tld string `protobuf:"bytes,10,opt,name=tld,proto3" json:"tld,omitempty"` TldPlusOne string `protobuf:"bytes,11,opt,name=tld_plus_one,json=tldPlusOne,proto3" json:"tld_plus_one,omitempty"` // contains filtered or unexported fields }
func (*ResolvsFilter) Descriptor
deprecated
func (*ResolvsFilter) Descriptor() ([]byte, []int)
Deprecated: Use ResolvsFilter.ProtoReflect.Descriptor instead.
func (*ResolvsFilter) GetClientIp ¶
func (x *ResolvsFilter) GetClientIp() string
func (*ResolvsFilter) GetName ¶
func (x *ResolvsFilter) GetName() string
func (*ResolvsFilter) GetQid ¶
func (x *ResolvsFilter) GetQid() int32
func (*ResolvsFilter) GetResolvedCname ¶
func (x *ResolvsFilter) GetResolvedCname() string
func (*ResolvsFilter) GetResolvedIp ¶
func (x *ResolvsFilter) GetResolvedIp() string
func (*ResolvsFilter) GetReturnCode ¶
func (x *ResolvsFilter) GetReturnCode() int32
func (*ResolvsFilter) GetServerIp ¶
func (x *ResolvsFilter) GetServerIp() string
func (*ResolvsFilter) GetSince ¶
func (x *ResolvsFilter) GetSince() *timestamp.Timestamp
func (*ResolvsFilter) GetTld ¶
func (x *ResolvsFilter) GetTld() string
func (*ResolvsFilter) GetTldPlusOne ¶
func (x *ResolvsFilter) GetTldPlusOne() string
func (*ResolvsFilter) GetTo ¶
func (x *ResolvsFilter) GetTo() *timestamp.Timestamp
func (*ResolvsFilter) ProtoMessage ¶
func (*ResolvsFilter) ProtoMessage()
func (*ResolvsFilter) ProtoReflect ¶
func (x *ResolvsFilter) ProtoReflect() protoreflect.Message
func (*ResolvsFilter) Reset ¶
func (x *ResolvsFilter) Reset()
func (*ResolvsFilter) String ¶
func (x *ResolvsFilter) String() string
type SaveResolvRequest ¶
type SaveResolvRequest struct { Resolv *ResolvData `protobuf:"bytes,1,opt,name=resolv,proto3" json:"resolv,omitempty"` // contains filtered or unexported fields }
func (*SaveResolvRequest) Descriptor
deprecated
func (*SaveResolvRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveResolvRequest.ProtoReflect.Descriptor instead.
func (*SaveResolvRequest) GetResolv ¶
func (x *SaveResolvRequest) GetResolv() *ResolvData
func (*SaveResolvRequest) ProtoMessage ¶
func (*SaveResolvRequest) ProtoMessage()
func (*SaveResolvRequest) ProtoReflect ¶
func (x *SaveResolvRequest) ProtoReflect() protoreflect.Message
func (*SaveResolvRequest) Reset ¶
func (x *SaveResolvRequest) Reset()
func (*SaveResolvRequest) String ¶
func (x *SaveResolvRequest) String() string
type SaveResolvResponse ¶
type SaveResolvResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SaveResolvResponse) Descriptor
deprecated
func (*SaveResolvResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveResolvResponse.ProtoReflect.Descriptor instead.
func (*SaveResolvResponse) GetId ¶
func (x *SaveResolvResponse) GetId() string
func (*SaveResolvResponse) ProtoMessage ¶
func (*SaveResolvResponse) ProtoMessage()
func (*SaveResolvResponse) ProtoReflect ¶
func (x *SaveResolvResponse) ProtoReflect() protoreflect.Message
func (*SaveResolvResponse) Reset ¶
func (x *SaveResolvResponse) Reset()
func (*SaveResolvResponse) String ¶
func (x *SaveResolvResponse) String() string
type UnimplementedArchiveServer ¶
type UnimplementedArchiveServer struct { }
UnimplementedArchiveServer can be embedded to have forward compatible implementations.
func (*UnimplementedArchiveServer) SaveResolv ¶
func (*UnimplementedArchiveServer) SaveResolv(context.Context, *SaveResolvRequest) (*SaveResolvResponse, error)
type UnimplementedFinderServer ¶
type UnimplementedFinderServer struct { }
UnimplementedFinderServer can be embedded to have forward compatible implementations.
func (*UnimplementedFinderServer) GetResolv ¶
func (*UnimplementedFinderServer) GetResolv(context.Context, *GetResolvRequest) (*GetResolvResponse, error)
func (*UnimplementedFinderServer) ListResolvs ¶
func (*UnimplementedFinderServer) ListResolvs(context.Context, *ListResolvsRequest) (*ListResolvsResponse, error)
type UnimplementedResolvCheckServer ¶
type UnimplementedResolvCheckServer struct { }
UnimplementedResolvCheckServer can be embedded to have forward compatible implementations.
func (*UnimplementedResolvCheckServer) Check ¶
func (*UnimplementedResolvCheckServer) Check(context.Context, *ResolvCheckRequest) (*ResolvCheckResponse, error)
type UnimplementedResolvCollectServer ¶
type UnimplementedResolvCollectServer struct { }
UnimplementedResolvCollectServer can be embedded to have forward compatible implementations.
func (*UnimplementedResolvCollectServer) Collect ¶
func (*UnimplementedResolvCollectServer) Collect(context.Context, *ResolvCollectRequest) (*empty.Empty, error)