Documentation
¶
Index ¶
- Constants
- Variables
- type Dns
- func (x *Dns) ClearHost()
- func (x *Dns) ClearTargetDomain()
- func (x *Dns) GetHost() string
- func (x *Dns) GetTargetDomain() string
- func (x *Dns) HasHost() bool
- func (x *Dns) HasTargetDomain() bool
- func (l *Dns) Latency(p netapi.Proxy) (*Reply, error)
- func (*Dns) ProtoMessage()
- func (x *Dns) ProtoReflect() protoreflect.Message
- func (x *Dns) Reset()
- func (x *Dns) SetHost(v string)
- func (x *Dns) SetTargetDomain(v string)
- func (x *Dns) String() string
- type DnsOverQuic
- func (x *DnsOverQuic) ClearHost()
- func (x *DnsOverQuic) ClearTargetDomain()
- func (x *DnsOverQuic) GetHost() string
- func (x *DnsOverQuic) GetTargetDomain() string
- func (x *DnsOverQuic) HasHost() bool
- func (x *DnsOverQuic) HasTargetDomain() bool
- func (l *DnsOverQuic) Latency(p netapi.Proxy) (*Reply, error)
- func (*DnsOverQuic) ProtoMessage()
- func (x *DnsOverQuic) ProtoReflect() protoreflect.Message
- func (x *DnsOverQuic) Reset()
- func (x *DnsOverQuic) SetHost(v string)
- func (x *DnsOverQuic) SetTargetDomain(v string)
- func (x *DnsOverQuic) String() string
- type DnsOverQuic_builder
- type Dns_builder
- type Error
- type Error_builder
- type Http
- func (x *Http) ClearUrl()
- func (x *Http) GetUrl() string
- func (x *Http) HasUrl() bool
- func (l *Http) Latency(p netapi.Proxy) (*Reply, error)
- func (*Http) ProtoMessage()
- func (x *Http) ProtoReflect() protoreflect.Message
- func (x *Http) Reset()
- func (x *Http) SetUrl(v string)
- func (x *Http) String() string
- type Http_builder
- type Ip
- func (x *Ip) ClearUrl()
- func (x *Ip) ClearUserAgent()
- func (x *Ip) GetUrl() string
- func (x *Ip) GetUserAgent() string
- func (x *Ip) HasUrl() bool
- func (x *Ip) HasUserAgent() bool
- func (l *Ip) Latency(p netapi.Proxy) (*Reply, error)
- func (*Ip) ProtoMessage()
- func (x *Ip) ProtoReflect() protoreflect.Message
- func (x *Ip) Reset()
- func (x *Ip) SetUrl(v string)
- func (x *Ip) SetUserAgent(v string)
- func (x *Ip) String() string
- type IpResponse
- func (x *IpResponse) ClearIpv4()
- func (x *IpResponse) ClearIpv6()
- func (x *IpResponse) GetIpv4() string
- func (x *IpResponse) GetIpv6() string
- func (x *IpResponse) HasIpv4() bool
- func (x *IpResponse) HasIpv6() bool
- func (*IpResponse) ProtoMessage()
- func (x *IpResponse) ProtoReflect() protoreflect.Message
- func (x *IpResponse) Reset()
- func (x *IpResponse) SetIpv4(v string)
- func (x *IpResponse) SetIpv6(v string)
- func (x *IpResponse) String() string
- type IpResponse_builder
- type Ip_builder
- type NatType
- type Protocol
- func (x *Protocol) ClearDns()
- func (x *Protocol) ClearDnsOverQuic()
- func (x *Protocol) ClearHttp()
- func (x *Protocol) ClearIp()
- func (x *Protocol) ClearProtocol()
- func (x *Protocol) ClearStun()
- func (x *Protocol) GetDns() *Dns
- func (x *Protocol) GetDnsOverQuic() *DnsOverQuic
- func (x *Protocol) GetHttp() *Http
- func (x *Protocol) GetIp() *Ip
- func (x *Protocol) GetStun() *Stun
- func (x *Protocol) HasDns() bool
- func (x *Protocol) HasDnsOverQuic() bool
- func (x *Protocol) HasHttp() bool
- func (x *Protocol) HasIp() bool
- func (x *Protocol) HasProtocol() bool
- func (x *Protocol) HasStun() bool
- func (l *Protocol) Latency(p netapi.Proxy) (*Reply, error)
- func (*Protocol) ProtoMessage()
- func (x *Protocol) ProtoReflect() protoreflect.Message
- func (x *Protocol) Reset()
- func (x *Protocol) SetDns(v *Dns)
- func (x *Protocol) SetDnsOverQuic(v *DnsOverQuic)
- func (x *Protocol) SetHttp(v *Http)
- func (x *Protocol) SetIp(v *Ip)
- func (x *Protocol) SetStun(v *Stun)
- func (x *Protocol) String() string
- func (x *Protocol) WhichProtocol() case_Protocol_Protocol
- type Protocol_builder
- type Reply
- func (x *Reply) ClearError()
- func (x *Reply) ClearIp()
- func (x *Reply) ClearLatency()
- func (x *Reply) ClearReply()
- func (x *Reply) ClearStun()
- func (x *Reply) GetError() *Error
- func (x *Reply) GetIp() *IpResponse
- func (x *Reply) GetLatency() *durationpb.Duration
- func (x *Reply) GetStun() *StunResponse
- func (x *Reply) HasError() bool
- func (x *Reply) HasIp() bool
- func (x *Reply) HasLatency() bool
- func (x *Reply) HasReply() bool
- func (x *Reply) HasStun() bool
- func (*Reply) ProtoMessage()
- func (x *Reply) ProtoReflect() protoreflect.Message
- func (x *Reply) Reset()
- func (x *Reply) SetError(v *Error)
- func (x *Reply) SetIp(v *IpResponse)
- func (x *Reply) SetLatency(v *durationpb.Duration)
- func (x *Reply) SetStun(v *StunResponse)
- func (x *Reply) String() string
- func (x *Reply) WhichReply() case_Reply_Reply
- type Reply_builder
- type Request
- func (x *Request) ClearHash()
- func (x *Request) ClearId()
- func (x *Request) ClearIpv6()
- func (x *Request) ClearProtocol()
- func (x *Request) GetHash() string
- func (x *Request) GetId() string
- func (x *Request) GetIpv6() bool
- func (x *Request) GetProtocol() *Protocol
- func (x *Request) HasHash() bool
- func (x *Request) HasId() bool
- func (x *Request) HasIpv6() bool
- func (x *Request) HasProtocol() bool
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) SetHash(v string)
- func (x *Request) SetId(v string)
- func (x *Request) SetIpv6(v bool)
- func (x *Request) SetProtocol(v *Protocol)
- func (x *Request) String() string
- type Request_builder
- type Requests
- type Requests_builder
- type Response
- type Response_builder
- type Stun
- func (x *Stun) ClearHost()
- func (x *Stun) ClearTcp()
- func (x *Stun) GetHost() string
- func (x *Stun) GetTcp() bool
- func (x *Stun) HasHost() bool
- func (x *Stun) HasTcp() bool
- func (l *Stun) Latency(p netapi.Proxy) (*Reply, error)
- func (*Stun) ProtoMessage()
- func (x *Stun) ProtoReflect() protoreflect.Message
- func (x *Stun) Reset()
- func (x *Stun) SetHost(v string)
- func (x *Stun) SetTcp(v bool)
- func (x *Stun) String() string
- type StunResponse
- func (x *StunResponse) ClearFiltering()
- func (x *StunResponse) ClearMappedAddress()
- func (x *StunResponse) ClearMapping()
- func (x *StunResponse) ClearOtherAddress()
- func (x *StunResponse) ClearResponseOriginAddress()
- func (x *StunResponse) ClearSoftware()
- func (x *StunResponse) ClearXorMappedAddress()
- func (x *StunResponse) GetFiltering() NatType
- func (x *StunResponse) GetMappedAddress() string
- func (x *StunResponse) GetMapping() NatType
- func (x *StunResponse) GetOtherAddress() string
- func (x *StunResponse) GetResponseOriginAddress() string
- func (x *StunResponse) GetSoftware() string
- func (x *StunResponse) GetXorMappedAddress() string
- func (x *StunResponse) HasFiltering() bool
- func (x *StunResponse) HasMappedAddress() bool
- func (x *StunResponse) HasMapping() bool
- func (x *StunResponse) HasOtherAddress() bool
- func (x *StunResponse) HasResponseOriginAddress() bool
- func (x *StunResponse) HasSoftware() bool
- func (x *StunResponse) HasXorMappedAddress() bool
- func (*StunResponse) ProtoMessage()
- func (x *StunResponse) ProtoReflect() protoreflect.Message
- func (x *StunResponse) Reset()
- func (x *StunResponse) SetFiltering(v NatType)
- func (x *StunResponse) SetMappedAddress(v string)
- func (x *StunResponse) SetMapping(v NatType)
- func (x *StunResponse) SetOtherAddress(v string)
- func (x *StunResponse) SetResponseOriginAddress(v string)
- func (x *StunResponse) SetSoftware(v string)
- func (x *StunResponse) SetXorMappedAddress(v string)
- func (x *StunResponse) String() string
- type StunResponse_builder
- type Stun_builder
Constants ¶
View Source
const Protocol_DnsOverQuic_case case_Protocol_Protocol = 3
View Source
const Protocol_Dns_case case_Protocol_Protocol = 2
View Source
const Protocol_Http_case case_Protocol_Protocol = 1
View Source
const Protocol_Ip_case case_Protocol_Protocol = 4
View Source
const Protocol_Protocol_not_set_case case_Protocol_Protocol = 0
View Source
const Protocol_Stun_case case_Protocol_Protocol = 5
View Source
const Reply_Error_case case_Reply_Reply = 4
View Source
const Reply_Ip_case case_Reply_Reply = 2
View Source
const Reply_Latency_case case_Reply_Reply = 1
View Source
const Reply_Reply_not_set_case case_Reply_Reply = 0
View Source
const Reply_Stun_case case_Reply_Reply = 3
Variables ¶
View Source
var ( NatType_name = map[int32]string{ 0: "NAT_UNKNOWN", 1: "NAT_NO_RESULT", 2: "NAT_EndpointIndependentNoNAT", 3: "NAT_EndpointIndependent", 4: "NAT_AddressDependent", 5: "NAT_AddressAndPortDependent", 6: "NAT_ServerNotSupportChangePort", } NatType_value = map[string]int32{ "NAT_UNKNOWN": 0, "NAT_NO_RESULT": 1, "NAT_EndpointIndependentNoNAT": 2, "NAT_EndpointIndependent": 3, "NAT_AddressDependent": 4, "NAT_AddressAndPortDependent": 5, "NAT_ServerNotSupportChangePort": 6, } )
Enum value maps for NatType.
View Source
var File_node_latency_latency_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Dns ¶
type Dns struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Dns) ClearTargetDomain ¶ added in v0.3.8
func (x *Dns) ClearTargetDomain()
func (*Dns) GetTargetDomain ¶
func (*Dns) HasTargetDomain ¶ added in v0.3.8
func (*Dns) ProtoMessage ¶
func (*Dns) ProtoMessage()
func (*Dns) ProtoReflect ¶
func (x *Dns) ProtoReflect() protoreflect.Message
func (*Dns) SetTargetDomain ¶ added in v0.3.8
type DnsOverQuic ¶
type DnsOverQuic struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*DnsOverQuic) ClearHost ¶ added in v0.3.8
func (x *DnsOverQuic) ClearHost()
func (*DnsOverQuic) ClearTargetDomain ¶ added in v0.3.8
func (x *DnsOverQuic) ClearTargetDomain()
func (*DnsOverQuic) GetHost ¶
func (x *DnsOverQuic) GetHost() string
func (*DnsOverQuic) GetTargetDomain ¶
func (x *DnsOverQuic) GetTargetDomain() string
func (*DnsOverQuic) HasHost ¶ added in v0.3.8
func (x *DnsOverQuic) HasHost() bool
func (*DnsOverQuic) HasTargetDomain ¶ added in v0.3.8
func (x *DnsOverQuic) HasTargetDomain() bool
func (*DnsOverQuic) Latency ¶ added in v0.3.8
func (l *DnsOverQuic) Latency(p netapi.Proxy) (*Reply, error)
func (*DnsOverQuic) ProtoMessage ¶
func (*DnsOverQuic) ProtoMessage()
func (*DnsOverQuic) ProtoReflect ¶
func (x *DnsOverQuic) ProtoReflect() protoreflect.Message
func (*DnsOverQuic) Reset ¶
func (x *DnsOverQuic) Reset()
func (*DnsOverQuic) SetHost ¶ added in v0.3.8
func (x *DnsOverQuic) SetHost(v string)
func (*DnsOverQuic) SetTargetDomain ¶ added in v0.3.8
func (x *DnsOverQuic) SetTargetDomain(v string)
func (*DnsOverQuic) String ¶
func (x *DnsOverQuic) String() string
type DnsOverQuic_builder ¶ added in v0.3.8
type DnsOverQuic_builder struct {
Host *string
TargetDomain *string
// contains filtered or unexported fields
}
func (DnsOverQuic_builder) Build ¶ added in v0.3.8
func (b0 DnsOverQuic_builder) Build() *DnsOverQuic
type Dns_builder ¶ added in v0.3.8
type Dns_builder struct {
Host *string
TargetDomain *string
// contains filtered or unexported fields
}
func (Dns_builder) Build ¶ added in v0.3.8
func (b0 Dns_builder) Build() *Dns
type Error ¶ added in v0.3.8
type Error struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Error) ProtoMessage ¶ added in v0.3.8
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶ added in v0.3.8
func (x *Error) ProtoReflect() protoreflect.Message
type Error_builder ¶ added in v0.3.8
type Error_builder struct {
Msg *string
// contains filtered or unexported fields
}
func (Error_builder) Build ¶ added in v0.3.8
func (b0 Error_builder) Build() *Error
type Http ¶
type Http struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
type Http_builder ¶ added in v0.3.8
type Http_builder struct {
Url *string
// contains filtered or unexported fields
}
func (Http_builder) Build ¶ added in v0.3.8
func (b0 Http_builder) Build() *Http
type Ip ¶ added in v0.3.6
type Ip struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Ip) ClearUserAgent ¶ added in v0.3.8
func (x *Ip) ClearUserAgent()
func (*Ip) GetUserAgent ¶ added in v0.3.6
func (*Ip) HasUserAgent ¶ added in v0.3.8
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
func (*Ip) SetUserAgent ¶ added in v0.3.8
type IpResponse ¶ added in v0.3.6
type IpResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*IpResponse) ClearIpv4 ¶ added in v0.3.8
func (x *IpResponse) ClearIpv4()
func (*IpResponse) ClearIpv6 ¶ added in v0.3.8
func (x *IpResponse) ClearIpv6()
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) HasIpv4 ¶ added in v0.3.8
func (x *IpResponse) HasIpv4() bool
func (*IpResponse) HasIpv6 ¶ added in v0.3.8
func (x *IpResponse) HasIpv6() bool
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) SetIpv4 ¶ added in v0.3.8
func (x *IpResponse) SetIpv4(v string)
func (*IpResponse) SetIpv6 ¶ added in v0.3.8
func (x *IpResponse) SetIpv6(v string)
func (*IpResponse) String ¶ added in v0.3.6
func (x *IpResponse) String() string
type IpResponse_builder ¶ added in v0.3.8
type IpResponse_builder struct {
Ipv4 *string
Ipv6 *string
// contains filtered or unexported fields
}
func (IpResponse_builder) Build ¶ added in v0.3.8
func (b0 IpResponse_builder) Build() *IpResponse
type Ip_builder ¶ added in v0.3.8
func (Ip_builder) Build ¶ added in v0.3.8
func (b0 Ip_builder) Build() *Ip
type NatType ¶ added in v0.3.7
type NatType int32
const ( NatType_NAT_UNKNOWN NatType = 0 NatType_NAT_NO_RESULT NatType = 1 NatType_NAT_EndpointIndependentNoNAT NatType = 2 NatType_NAT_EndpointIndependent NatType = 3 NatType_NAT_AddressDependent NatType = 4 NatType_NAT_AddressAndPortDependent NatType = 5 NatType_NAT_ServerNotSupportChangePort NatType = 6 )
func (NatType) Descriptor ¶ added in v0.3.7
func (NatType) Descriptor() protoreflect.EnumDescriptor
func (NatType) Number ¶ added in v0.3.7
func (x NatType) Number() protoreflect.EnumNumber
func (NatType) Type ¶ added in v0.3.7
func (NatType) Type() protoreflect.EnumType
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func (*Protocol) ClearDnsOverQuic ¶ added in v0.3.8
func (x *Protocol) ClearDnsOverQuic()
func (*Protocol) ClearProtocol ¶ added in v0.3.8
func (x *Protocol) ClearProtocol()
func (*Protocol) GetDnsOverQuic ¶
func (x *Protocol) GetDnsOverQuic() *DnsOverQuic
func (*Protocol) HasDnsOverQuic ¶ added in v0.3.8
func (*Protocol) HasProtocol ¶ added in v0.3.8
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
func (*Protocol) SetDnsOverQuic ¶ added in v0.3.8
func (x *Protocol) SetDnsOverQuic(v *DnsOverQuic)
func (*Protocol) WhichProtocol ¶ added in v0.3.8
func (x *Protocol) WhichProtocol() case_Protocol_Protocol
type Protocol_builder ¶ added in v0.3.8
type Protocol_builder struct {
// Fields of oneof xxx_hidden_Protocol:
Http *Http
Dns *Dns
DnsOverQuic *DnsOverQuic
Ip *Ip
Stun *Stun
// contains filtered or unexported fields
}
func (Protocol_builder) Build ¶ added in v0.3.8
func (b0 Protocol_builder) Build() *Protocol
type Reply ¶ added in v0.3.6
type Reply struct {
// contains filtered or unexported fields
}
func (*Reply) ClearError ¶ added in v0.3.8
func (x *Reply) ClearError()
func (*Reply) ClearLatency ¶ added in v0.3.8
func (x *Reply) ClearLatency()
func (*Reply) ClearReply ¶ added in v0.3.8
func (x *Reply) ClearReply()
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) GetStun ¶ added in v0.3.7
func (x *Reply) GetStun() *StunResponse
func (*Reply) HasLatency ¶ added in v0.3.8
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
func (*Reply) SetIp ¶ added in v0.3.8
func (x *Reply) SetIp(v *IpResponse)
func (*Reply) SetLatency ¶ added in v0.3.8
func (x *Reply) SetLatency(v *durationpb.Duration)
func (*Reply) SetStun ¶ added in v0.3.8
func (x *Reply) SetStun(v *StunResponse)
func (*Reply) WhichReply ¶ added in v0.3.8
func (x *Reply) WhichReply() case_Reply_Reply
type Reply_builder ¶ added in v0.3.8
type Reply_builder struct {
// Fields of oneof xxx_hidden_Reply:
Latency *durationpb.Duration
Ip *IpResponse
Stun *StunResponse
Error *Error
// contains filtered or unexported fields
}
func (Reply_builder) Build ¶ added in v0.3.8
func (b0 Reply_builder) Build() *Reply
type Request ¶
type Request struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Request) ClearProtocol ¶ added in v0.3.8
func (x *Request) ClearProtocol()
func (*Request) GetProtocol ¶
func (*Request) HasProtocol ¶ added in v0.3.8
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) SetProtocol ¶ added in v0.3.8
type Request_builder ¶ added in v0.3.8
type Request_builder struct {
Id *string
Hash *string
Ipv6 *bool
Protocol *Protocol
// contains filtered or unexported fields
}
func (Request_builder) Build ¶ added in v0.3.8
func (b0 Request_builder) Build() *Request
type Requests ¶
type Requests struct {
// contains filtered or unexported fields
}
func (*Requests) GetRequests ¶
func (*Requests) ProtoMessage ¶
func (*Requests) ProtoMessage()
func (*Requests) ProtoReflect ¶
func (x *Requests) ProtoReflect() protoreflect.Message
func (*Requests) SetRequests ¶ added in v0.3.8
type Requests_builder ¶ added in v0.3.8
type Requests_builder struct {
Requests []*Request
// contains filtered or unexported fields
}
func (Requests_builder) Build ¶ added in v0.3.8
func (b0 Requests_builder) Build() *Requests
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
func (*Response) GetIdLatencyMap ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
func (*Response) SetIdLatencyMap ¶ added in v0.3.8
type Response_builder ¶ added in v0.3.8
type Response_builder struct {
IdLatencyMap map[string]*Reply
// contains filtered or unexported fields
}
func (Response_builder) Build ¶ added in v0.3.8
func (b0 Response_builder) Build() *Response
type Stun ¶ added in v0.3.7
type Stun struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Stun) ProtoMessage ¶ added in v0.3.7
func (*Stun) ProtoMessage()
func (*Stun) ProtoReflect ¶ added in v0.3.7
func (x *Stun) ProtoReflect() protoreflect.Message
type StunResponse ¶ added in v0.3.7
type StunResponse struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*StunResponse) ClearFiltering ¶ added in v0.3.8
func (x *StunResponse) ClearFiltering()
func (*StunResponse) ClearMappedAddress ¶ added in v0.3.8
func (x *StunResponse) ClearMappedAddress()
func (*StunResponse) ClearMapping ¶ added in v0.3.8
func (x *StunResponse) ClearMapping()
func (*StunResponse) ClearOtherAddress ¶ added in v0.3.8
func (x *StunResponse) ClearOtherAddress()
func (*StunResponse) ClearResponseOriginAddress ¶ added in v0.3.8
func (x *StunResponse) ClearResponseOriginAddress()
func (*StunResponse) ClearSoftware ¶ added in v0.3.8
func (x *StunResponse) ClearSoftware()
func (*StunResponse) ClearXorMappedAddress ¶ added in v0.3.8
func (x *StunResponse) ClearXorMappedAddress()
func (*StunResponse) GetFiltering ¶ added in v0.3.7
func (x *StunResponse) GetFiltering() NatType
func (*StunResponse) GetMappedAddress ¶ added in v0.3.7
func (x *StunResponse) GetMappedAddress() string
func (*StunResponse) GetMapping ¶ added in v0.3.7
func (x *StunResponse) GetMapping() NatType
func (*StunResponse) GetOtherAddress ¶ added in v0.3.7
func (x *StunResponse) GetOtherAddress() string
func (*StunResponse) GetResponseOriginAddress ¶ added in v0.3.7
func (x *StunResponse) GetResponseOriginAddress() string
func (*StunResponse) GetSoftware ¶ added in v0.3.7
func (x *StunResponse) GetSoftware() string
func (*StunResponse) GetXorMappedAddress ¶ added in v0.3.7
func (x *StunResponse) GetXorMappedAddress() string
func (*StunResponse) HasFiltering ¶ added in v0.3.8
func (x *StunResponse) HasFiltering() bool
func (*StunResponse) HasMappedAddress ¶ added in v0.3.8
func (x *StunResponse) HasMappedAddress() bool
func (*StunResponse) HasMapping ¶ added in v0.3.8
func (x *StunResponse) HasMapping() bool
func (*StunResponse) HasOtherAddress ¶ added in v0.3.8
func (x *StunResponse) HasOtherAddress() bool
func (*StunResponse) HasResponseOriginAddress ¶ added in v0.3.8
func (x *StunResponse) HasResponseOriginAddress() bool
func (*StunResponse) HasSoftware ¶ added in v0.3.8
func (x *StunResponse) HasSoftware() bool
func (*StunResponse) HasXorMappedAddress ¶ added in v0.3.8
func (x *StunResponse) HasXorMappedAddress() bool
func (*StunResponse) ProtoMessage ¶ added in v0.3.7
func (*StunResponse) ProtoMessage()
func (*StunResponse) ProtoReflect ¶ added in v0.3.7
func (x *StunResponse) ProtoReflect() protoreflect.Message
func (*StunResponse) Reset ¶ added in v0.3.7
func (x *StunResponse) Reset()
func (*StunResponse) SetFiltering ¶ added in v0.3.8
func (x *StunResponse) SetFiltering(v NatType)
func (*StunResponse) SetMappedAddress ¶ added in v0.3.8
func (x *StunResponse) SetMappedAddress(v string)
func (*StunResponse) SetMapping ¶ added in v0.3.8
func (x *StunResponse) SetMapping(v NatType)
func (*StunResponse) SetOtherAddress ¶ added in v0.3.8
func (x *StunResponse) SetOtherAddress(v string)
func (*StunResponse) SetResponseOriginAddress ¶ added in v0.3.8
func (x *StunResponse) SetResponseOriginAddress(v string)
func (*StunResponse) SetSoftware ¶ added in v0.3.8
func (x *StunResponse) SetSoftware(v string)
func (*StunResponse) SetXorMappedAddress ¶ added in v0.3.8
func (x *StunResponse) SetXorMappedAddress(v string)
func (*StunResponse) String ¶ added in v0.3.7
func (x *StunResponse) String() string
type StunResponse_builder ¶ added in v0.3.8
type StunResponse_builder struct {
XorMappedAddress *string
MappedAddress *string
OtherAddress *string
ResponseOriginAddress *string
Software *string
Mapping *NatType
Filtering *NatType
// contains filtered or unexported fields
}
func (StunResponse_builder) Build ¶ added in v0.3.8
func (b0 StunResponse_builder) Build() *StunResponse
type Stun_builder ¶ added in v0.3.8
func (Stun_builder) Build ¶ added in v0.3.8
func (b0 Stun_builder) Build() *Stun
Click to show internal directories.
Click to hide internal directories.