latency

package
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

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) ClearHost added in v0.3.8

func (x *Dns) ClearHost()

func (*Dns) ClearTargetDomain added in v0.3.8

func (x *Dns) ClearTargetDomain()

func (*Dns) GetHost

func (x *Dns) GetHost() string

func (*Dns) GetTargetDomain

func (x *Dns) GetTargetDomain() string

func (*Dns) HasHost added in v0.3.8

func (x *Dns) HasHost() bool

func (*Dns) HasTargetDomain added in v0.3.8

func (x *Dns) HasTargetDomain() bool

func (*Dns) Latency added in v0.3.8

func (l *Dns) Latency(p netapi.Proxy) (*Reply, error)

func (*Dns) ProtoMessage

func (*Dns) ProtoMessage()

func (*Dns) ProtoReflect

func (x *Dns) ProtoReflect() protoreflect.Message

func (*Dns) Reset

func (x *Dns) Reset()

func (*Dns) SetHost added in v0.3.8

func (x *Dns) SetHost(v string)

func (*Dns) SetTargetDomain added in v0.3.8

func (x *Dns) SetTargetDomain(v string)

func (*Dns) String

func (x *Dns) String() string

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) ClearMsg added in v0.3.8

func (x *Error) ClearMsg()

func (*Error) GetMsg added in v0.3.8

func (x *Error) GetMsg() string

func (*Error) HasMsg added in v0.3.8

func (x *Error) HasMsg() bool

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

func (*Error) Reset added in v0.3.8

func (x *Error) Reset()

func (*Error) SetMsg added in v0.3.8

func (x *Error) SetMsg(v string)

func (*Error) String added in v0.3.8

func (x *Error) String() string

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) ClearUrl added in v0.3.8

func (x *Http) ClearUrl()

func (*Http) GetUrl

func (x *Http) GetUrl() string

func (*Http) HasUrl added in v0.3.8

func (x *Http) HasUrl() bool

func (*Http) Latency added in v0.3.8

func (l *Http) Latency(p netapi.Proxy) (*Reply, error)

func (*Http) ProtoMessage

func (*Http) ProtoMessage()

func (*Http) ProtoReflect

func (x *Http) ProtoReflect() protoreflect.Message

func (*Http) Reset

func (x *Http) Reset()

func (*Http) SetUrl added in v0.3.8

func (x *Http) SetUrl(v string)

func (*Http) String

func (x *Http) String() string

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) ClearUrl added in v0.3.8

func (x *Ip) ClearUrl()

func (*Ip) ClearUserAgent added in v0.3.8

func (x *Ip) ClearUserAgent()

func (*Ip) GetUrl added in v0.3.6

func (x *Ip) GetUrl() string

func (*Ip) GetUserAgent added in v0.3.6

func (x *Ip) GetUserAgent() string

func (*Ip) HasUrl added in v0.3.8

func (x *Ip) HasUrl() bool

func (*Ip) HasUserAgent added in v0.3.8

func (x *Ip) HasUserAgent() bool

func (*Ip) Latency added in v0.3.8

func (l *Ip) Latency(p netapi.Proxy) (*Reply, error)

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) Reset added in v0.3.6

func (x *Ip) Reset()

func (*Ip) SetUrl added in v0.3.8

func (x *Ip) SetUrl(v string)

func (*Ip) SetUserAgent added in v0.3.8

func (x *Ip) SetUserAgent(v string)

func (*Ip) String added in v0.3.6

func (x *Ip) String() string

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

type Ip_builder struct {
	Url       *string
	UserAgent *string
	// contains filtered or unexported fields
}

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) Enum added in v0.3.7

func (x NatType) Enum() *NatType

func (NatType) Number added in v0.3.7

func (x NatType) Number() protoreflect.EnumNumber

func (NatType) String added in v0.3.7

func (x NatType) String() string

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) ClearDns added in v0.3.8

func (x *Protocol) ClearDns()

func (*Protocol) ClearDnsOverQuic added in v0.3.8

func (x *Protocol) ClearDnsOverQuic()

func (*Protocol) ClearHttp added in v0.3.8

func (x *Protocol) ClearHttp()

func (*Protocol) ClearIp added in v0.3.8

func (x *Protocol) ClearIp()

func (*Protocol) ClearProtocol added in v0.3.8

func (x *Protocol) ClearProtocol()

func (*Protocol) ClearStun added in v0.3.8

func (x *Protocol) ClearStun()

func (*Protocol) GetDns

func (x *Protocol) GetDns() *Dns

func (*Protocol) GetDnsOverQuic

func (x *Protocol) GetDnsOverQuic() *DnsOverQuic

func (*Protocol) GetHttp

func (x *Protocol) GetHttp() *Http

func (*Protocol) GetIp added in v0.3.6

func (x *Protocol) GetIp() *Ip

func (*Protocol) GetStun added in v0.3.7

func (x *Protocol) GetStun() *Stun

func (*Protocol) HasDns added in v0.3.8

func (x *Protocol) HasDns() bool

func (*Protocol) HasDnsOverQuic added in v0.3.8

func (x *Protocol) HasDnsOverQuic() bool

func (*Protocol) HasHttp added in v0.3.8

func (x *Protocol) HasHttp() bool

func (*Protocol) HasIp added in v0.3.8

func (x *Protocol) HasIp() bool

func (*Protocol) HasProtocol added in v0.3.8

func (x *Protocol) HasProtocol() bool

func (*Protocol) HasStun added in v0.3.8

func (x *Protocol) HasStun() bool

func (*Protocol) Latency added in v0.3.8

func (l *Protocol) Latency(p netapi.Proxy) (*Reply, error)

func (*Protocol) ProtoMessage

func (*Protocol) ProtoMessage()

func (*Protocol) ProtoReflect

func (x *Protocol) ProtoReflect() protoreflect.Message

func (*Protocol) Reset

func (x *Protocol) Reset()

func (*Protocol) SetDns added in v0.3.8

func (x *Protocol) SetDns(v *Dns)

func (*Protocol) SetDnsOverQuic added in v0.3.8

func (x *Protocol) SetDnsOverQuic(v *DnsOverQuic)

func (*Protocol) SetHttp added in v0.3.8

func (x *Protocol) SetHttp(v *Http)

func (*Protocol) SetIp added in v0.3.8

func (x *Protocol) SetIp(v *Ip)

func (*Protocol) SetStun added in v0.3.8

func (x *Protocol) SetStun(v *Stun)

func (*Protocol) String

func (x *Protocol) String() string

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) ClearIp added in v0.3.8

func (x *Reply) ClearIp()

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) ClearStun added in v0.3.8

func (x *Reply) ClearStun()

func (*Reply) GetError added in v0.3.8

func (x *Reply) GetError() *Error

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) HasError added in v0.3.8

func (x *Reply) HasError() bool

func (*Reply) HasIp added in v0.3.8

func (x *Reply) HasIp() bool

func (*Reply) HasLatency added in v0.3.8

func (x *Reply) HasLatency() bool

func (*Reply) HasReply added in v0.3.8

func (x *Reply) HasReply() bool

func (*Reply) HasStun added in v0.3.8

func (x *Reply) HasStun() bool

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) Reset added in v0.3.6

func (x *Reply) Reset()

func (*Reply) SetError added in v0.3.8

func (x *Reply) SetError(v *Error)

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) String added in v0.3.6

func (x *Reply) String() string

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) ClearHash added in v0.3.8

func (x *Request) ClearHash()

func (*Request) ClearId added in v0.3.8

func (x *Request) ClearId()

func (*Request) ClearIpv6 added in v0.3.8

func (x *Request) ClearIpv6()

func (*Request) ClearProtocol added in v0.3.8

func (x *Request) ClearProtocol()

func (*Request) GetHash

func (x *Request) GetHash() string

func (*Request) GetId

func (x *Request) GetId() string

func (*Request) GetIpv6 added in v0.3.5

func (x *Request) GetIpv6() bool

func (*Request) GetProtocol

func (x *Request) GetProtocol() *Protocol

func (*Request) HasHash added in v0.3.8

func (x *Request) HasHash() bool

func (*Request) HasId added in v0.3.8

func (x *Request) HasId() bool

func (*Request) HasIpv6 added in v0.3.8

func (x *Request) HasIpv6() bool

func (*Request) HasProtocol added in v0.3.8

func (x *Request) HasProtocol() bool

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) SetHash added in v0.3.8

func (x *Request) SetHash(v string)

func (*Request) SetId added in v0.3.8

func (x *Request) SetId(v string)

func (*Request) SetIpv6 added in v0.3.8

func (x *Request) SetIpv6(v bool)

func (*Request) SetProtocol added in v0.3.8

func (x *Request) SetProtocol(v *Protocol)

func (*Request) String

func (x *Request) String() string

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 (x *Requests) GetRequests() []*Request

func (*Requests) ProtoMessage

func (*Requests) ProtoMessage()

func (*Requests) ProtoReflect

func (x *Requests) ProtoReflect() protoreflect.Message

func (*Requests) Reset

func (x *Requests) Reset()

func (*Requests) SetRequests added in v0.3.8

func (x *Requests) SetRequests(v []*Request)

func (*Requests) String

func (x *Requests) String() string

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 (x *Response) GetIdLatencyMap() map[string]*Reply

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) SetIdLatencyMap added in v0.3.8

func (x *Response) SetIdLatencyMap(v map[string]*Reply)

func (*Response) String

func (x *Response) String() string

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) ClearHost added in v0.3.8

func (x *Stun) ClearHost()

func (*Stun) ClearTcp added in v0.3.8

func (x *Stun) ClearTcp()

func (*Stun) GetHost added in v0.3.7

func (x *Stun) GetHost() string

func (*Stun) GetTcp added in v0.3.7

func (x *Stun) GetTcp() bool

func (*Stun) HasHost added in v0.3.8

func (x *Stun) HasHost() bool

func (*Stun) HasTcp added in v0.3.8

func (x *Stun) HasTcp() bool

func (*Stun) Latency added in v0.3.8

func (l *Stun) Latency(p netapi.Proxy) (*Reply, error)

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

func (*Stun) Reset added in v0.3.7

func (x *Stun) Reset()

func (*Stun) SetHost added in v0.3.8

func (x *Stun) SetHost(v string)

func (*Stun) SetTcp added in v0.3.8

func (x *Stun) SetTcp(v bool)

func (*Stun) String added in v0.3.7

func (x *Stun) String() string

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

type Stun_builder struct {
	Host *string
	Tcp  *bool
	// contains filtered or unexported fields
}

func (Stun_builder) Build added in v0.3.8

func (b0 Stun_builder) Build() *Stun

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL