Documentation
¶
Index ¶
- Variables
- type Dns
- type DnsOverQuic
- func (*DnsOverQuic) Descriptor() ([]byte, []int)deprecated
- func (x *DnsOverQuic) GetHost() string
- func (x *DnsOverQuic) GetTargetDomain() string
- func (*DnsOverQuic) ProtoMessage()
- func (x *DnsOverQuic) ProtoReflect() protoreflect.Message
- func (x *DnsOverQuic) Reset()
- func (x *DnsOverQuic) String() string
- type Http
- type Ip
- type IpResponse
- type Latencier
- type Protocol
- func (*Protocol) Descriptor() ([]byte, []int)deprecated
- func (x *Protocol) GetDns() *Dns
- func (x *Protocol) GetDnsOverQuic() *DnsOverQuic
- func (x *Protocol) GetHttp() *Http
- func (x *Protocol) GetIp() *Ip
- func (m *Protocol) GetProtocol() isProtocol_Protocol
- func (*Protocol) ProtoMessage()
- func (x *Protocol) ProtoReflect() protoreflect.Message
- func (x *Protocol) Reset()
- func (x *Protocol) String() string
- type Protocol_Dns
- type Protocol_DnsOverQuic
- type Protocol_Http
- type Protocol_Ip
- type Reply
- func (*Reply) Descriptor() ([]byte, []int)deprecated
- func (x *Reply) GetIp() *IpResponse
- func (x *Reply) GetLatency() *durationpb.Duration
- func (m *Reply) GetReply() isReply_Reply
- func (*Reply) ProtoMessage()
- func (x *Reply) ProtoReflect() protoreflect.Message
- func (x *Reply) Reset()
- func (x *Reply) String() string
- type Reply_Ip
- type Reply_Latency
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetHash() string
- func (x *Request) GetId() string
- func (x *Request) GetIpv6() bool
- func (x *Request) GetProtocol() *Protocol
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Requests
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var File_node_latency_latency_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Dns ¶
type Dns struct {
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
TargetDomain string `protobuf:"bytes,2,opt,name=target_domain,json=target_name,proto3" json:"target_domain,omitempty"`
// contains filtered or unexported fields
}
func (*Dns) Descriptor
deprecated
func (*Dns) GetTargetDomain ¶
func (*Dns) ProtoMessage ¶
func (*Dns) ProtoMessage()
func (*Dns) ProtoReflect ¶
func (x *Dns) ProtoReflect() protoreflect.Message
type DnsOverQuic ¶
type DnsOverQuic struct {
Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
TargetDomain string `protobuf:"bytes,2,opt,name=target_domain,json=target_name,proto3" json:"target_domain,omitempty"`
// contains filtered or unexported fields
}
func (*DnsOverQuic) Descriptor
deprecated
func (*DnsOverQuic) Descriptor() ([]byte, []int)
Deprecated: Use DnsOverQuic.ProtoReflect.Descriptor instead.
func (*DnsOverQuic) GetHost ¶
func (x *DnsOverQuic) GetHost() string
func (*DnsOverQuic) GetTargetDomain ¶
func (x *DnsOverQuic) GetTargetDomain() string
func (*DnsOverQuic) ProtoMessage ¶
func (*DnsOverQuic) ProtoMessage()
func (*DnsOverQuic) ProtoReflect ¶
func (x *DnsOverQuic) ProtoReflect() protoreflect.Message
func (*DnsOverQuic) Reset ¶
func (x *DnsOverQuic) Reset()
func (*DnsOverQuic) String ¶
func (x *DnsOverQuic) String() string
type Http ¶
type Http struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*Http) Descriptor
deprecated
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
type Ip ¶ added in v0.3.6
type Ip struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
UserAgent string `protobuf:"bytes,2,opt,name=user_agent,proto3" json:"user_agent,omitempty"`
// contains filtered or unexported fields
}
func (*Ip) Descriptor
deprecated
added in
v0.3.6
func (*Ip) GetUserAgent ¶ added in v0.3.6
func (*Ip) ProtoMessage ¶ added in v0.3.6
func (*Ip) ProtoMessage()
func (*Ip) ProtoReflect ¶ added in v0.3.6
func (x *Ip) ProtoReflect() protoreflect.Message
type IpResponse ¶ added in v0.3.6
type IpResponse struct {
Ipv4 string `protobuf:"bytes,1,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
Ipv6 string `protobuf:"bytes,2,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
// contains filtered or unexported fields
}
func (*IpResponse) Descriptor
deprecated
added in
v0.3.6
func (*IpResponse) Descriptor() ([]byte, []int)
Deprecated: Use IpResponse.ProtoReflect.Descriptor instead.
func (*IpResponse) GetIpv4 ¶ added in v0.3.6
func (x *IpResponse) GetIpv4() string
func (*IpResponse) GetIpv6 ¶ added in v0.3.6
func (x *IpResponse) GetIpv6() string
func (*IpResponse) ProtoMessage ¶ added in v0.3.6
func (*IpResponse) ProtoMessage()
func (*IpResponse) ProtoReflect ¶ added in v0.3.6
func (x *IpResponse) ProtoReflect() protoreflect.Message
func (*IpResponse) Reset ¶ added in v0.3.6
func (x *IpResponse) Reset()
func (*IpResponse) String ¶ added in v0.3.6
func (x *IpResponse) String() string
type Protocol ¶
type Protocol struct {
// Types that are assignable to Protocol:
//
// *Protocol_Http
// *Protocol_Dns
// *Protocol_DnsOverQuic
// *Protocol_Ip
Protocol isProtocol_Protocol `protobuf_oneof:"protocol"`
// contains filtered or unexported fields
}
func (*Protocol) Descriptor
deprecated
func (*Protocol) GetDnsOverQuic ¶
func (x *Protocol) GetDnsOverQuic() *DnsOverQuic
func (*Protocol) GetProtocol ¶
func (m *Protocol) GetProtocol() isProtocol_Protocol
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
type Protocol_Dns ¶
type Protocol_Dns struct {
Dns *Dns `protobuf:"bytes,2,opt,name=dns,proto3,oneof"`
}
type Protocol_DnsOverQuic ¶
type Protocol_DnsOverQuic struct {
DnsOverQuic *DnsOverQuic `protobuf:"bytes,3,opt,name=dns_over_quic,proto3,oneof"`
}
type Protocol_Http ¶
type Protocol_Http struct {
Http *Http `protobuf:"bytes,1,opt,name=http,proto3,oneof"`
}
type Protocol_Ip ¶ added in v0.3.6
type Protocol_Ip struct {
Ip *Ip `protobuf:"bytes,4,opt,name=ip,proto3,oneof"`
}
type Reply ¶ added in v0.3.6
type Reply struct {
// Types that are assignable to Reply:
//
// *Reply_Latency
// *Reply_Ip
Reply isReply_Reply `protobuf_oneof:"reply"`
// contains filtered or unexported fields
}
func (*Reply) Descriptor
deprecated
added in
v0.3.6
func (*Reply) GetIp ¶ added in v0.3.6
func (x *Reply) GetIp() *IpResponse
func (*Reply) GetLatency ¶ added in v0.3.6
func (x *Reply) GetLatency() *durationpb.Duration
func (*Reply) ProtoMessage ¶ added in v0.3.6
func (*Reply) ProtoMessage()
func (*Reply) ProtoReflect ¶ added in v0.3.6
func (x *Reply) ProtoReflect() protoreflect.Message
type Reply_Ip ¶ added in v0.3.6
type Reply_Ip struct {
Ip *IpResponse `protobuf:"bytes,2,opt,name=ip,proto3,oneof"`
}
type Reply_Latency ¶ added in v0.3.6
type Reply_Latency struct {
Latency *durationpb.Duration `protobuf:"bytes,1,opt,name=latency,proto3,oneof"`
}
type Request ¶
type Request struct {
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Ipv6 bool `protobuf:"varint,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
Protocol *Protocol `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
// contains filtered or unexported fields
}
func (*Request) Descriptor
deprecated
func (*Request) GetProtocol ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Requests ¶
type Requests struct {
Requests []*Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
// contains filtered or unexported fields
}
func (*Requests) Descriptor
deprecated
func (*Requests) GetRequests ¶
func (*Requests) ProtoMessage ¶
func (*Requests) ProtoMessage()
func (*Requests) ProtoReflect ¶
func (x *Requests) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct {
IdLatencyMap map[string]*Reply `` /* 169-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
func (*Response) GetIdLatencyMap ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.