webrtc

package
v5.52.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_app_webrtc_config_proto protoreflect.FileDescriptor
View Source
var File_app_webrtc_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Acceptor

type Acceptor struct {
	Tag                  string                      `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	ServerConfig         *anypb.Any                  `protobuf:"bytes,1,opt,name=server_config,json=serverConfig,proto3" json:"server_config,omitempty"`
	PortForwarderAccepts []*UDPPortForwarderAcceptor `protobuf:"bytes,2,rep,name=port_forwarder_accepts,json=portForwarderAccepts,proto3" json:"port_forwarder_accepts,omitempty"`
	AcceptOnTag          string                      `protobuf:"bytes,4,opt,name=accept_on_tag,json=acceptOnTag,proto3" json:"accept_on_tag,omitempty"`
	// contains filtered or unexported fields
}

func (*Acceptor) Descriptor deprecated

func (*Acceptor) Descriptor() ([]byte, []int)

Deprecated: Use Acceptor.ProtoReflect.Descriptor instead.

func (*Acceptor) GetAcceptOnTag

func (x *Acceptor) GetAcceptOnTag() string

func (*Acceptor) GetPortForwarderAccepts

func (x *Acceptor) GetPortForwarderAccepts() []*UDPPortForwarderAcceptor

func (*Acceptor) GetServerConfig

func (x *Acceptor) GetServerConfig() *anypb.Any

func (*Acceptor) GetTag

func (x *Acceptor) GetTag() string

func (*Acceptor) ProtoMessage

func (*Acceptor) ProtoMessage()

func (*Acceptor) ProtoReflect

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

func (*Acceptor) Reset

func (x *Acceptor) Reset()

func (*Acceptor) String

func (x *Acceptor) String() string

type ClientConfig

type ClientConfig struct {
	RoundTripperClient *anypb.Any `protobuf:"bytes,1,opt,name=round_tripper_client,json=roundTripperClient,proto3" json:"round_tripper_client,omitempty"`
	SecurityConfig     *anypb.Any `protobuf:"bytes,2,opt,name=security_config,json=securityConfig,proto3" json:"security_config,omitempty"`
	Dest               string     `protobuf:"bytes,3,opt,name=dest,proto3" json:"dest,omitempty"`
	OutboundTag        string     `protobuf:"bytes,4,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"`
	ServerIdentity     []byte     `protobuf:"bytes,5,opt,name=server_identity,json=serverIdentity,proto3" json:"server_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientConfig) Descriptor deprecated

func (*ClientConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead.

func (*ClientConfig) GetDest

func (x *ClientConfig) GetDest() string

func (*ClientConfig) GetOutboundTag

func (x *ClientConfig) GetOutboundTag() string

func (*ClientConfig) GetRoundTripperClient

func (x *ClientConfig) GetRoundTripperClient() *anypb.Any

func (*ClientConfig) GetSecurityConfig

func (x *ClientConfig) GetSecurityConfig() *anypb.Any

func (*ClientConfig) GetServerIdentity

func (x *ClientConfig) GetServerIdentity() []byte

func (*ClientConfig) ProtoMessage

func (*ClientConfig) ProtoMessage()

func (*ClientConfig) ProtoReflect

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

func (*ClientConfig) Reset

func (x *ClientConfig) Reset()

func (*ClientConfig) String

func (x *ClientConfig) String() string

type Config

type Config struct {
	Listener       []*LocalWebRTCListener       `protobuf:"bytes,1,rep,name=listener,proto3" json:"listener,omitempty"`
	SystemListener []*LocalWebRTCSystemListener `protobuf:"bytes,2,rep,name=system_listener,json=systemListener,proto3" json:"system_listener,omitempty"`
	Acceptors      []*Acceptor                  `protobuf:"bytes,3,rep,name=acceptors,proto3" json:"acceptors,omitempty"`
	Remotes        []*Remote                    `protobuf:"bytes,4,rep,name=remotes,proto3" json:"remotes,omitempty"`
	Connection     []*RemoteConnections         `protobuf:"bytes,5,rep,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetAcceptors

func (x *Config) GetAcceptors() []*Acceptor

func (*Config) GetConnection

func (x *Config) GetConnection() []*RemoteConnections

func (*Config) GetListener

func (x *Config) GetListener() []*LocalWebRTCListener

func (*Config) GetRemotes

func (x *Config) GetRemotes() []*Remote

func (*Config) GetSystemListener

func (x *Config) GetSystemListener() []*LocalWebRTCSystemListener

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ConnectionRequest

type ConnectionRequest struct {
	ReplyAddressTag []byte `protobuf:"bytes,1,opt,name=reply_address_tag,json=replyAddressTag,proto3" json:"reply_address_tag,omitempty"`
	// Supports trickle ICE by allowing incremental candidate updates.
	ConnectionSessionId []byte   `protobuf:"bytes,2,opt,name=connection_session_id,json=connectionSessionId,proto3" json:"connection_session_id,omitempty"`
	SessionDescription  []byte   `protobuf:"bytes,3,opt,name=session_description,json=sessionDescription,proto3" json:"session_description,omitempty"`
	Candidates          [][]byte `protobuf:"bytes,4,rep,name=candidates,proto3" json:"candidates,omitempty"`
	RequestPortBlossom  bool     `protobuf:"varint,5,opt,name=request_port_blossom,json=requestPortBlossom,proto3" json:"request_port_blossom,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionRequest) Descriptor deprecated

func (*ConnectionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionRequest.ProtoReflect.Descriptor instead.

func (*ConnectionRequest) GetCandidates

func (x *ConnectionRequest) GetCandidates() [][]byte

func (*ConnectionRequest) GetConnectionSessionId

func (x *ConnectionRequest) GetConnectionSessionId() []byte

func (*ConnectionRequest) GetReplyAddressTag

func (x *ConnectionRequest) GetReplyAddressTag() []byte

func (*ConnectionRequest) GetRequestPortBlossom

func (x *ConnectionRequest) GetRequestPortBlossom() bool

func (*ConnectionRequest) GetSessionDescription

func (x *ConnectionRequest) GetSessionDescription() []byte

func (*ConnectionRequest) ProtoMessage

func (*ConnectionRequest) ProtoMessage()

func (*ConnectionRequest) ProtoReflect

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

func (*ConnectionRequest) Reset

func (x *ConnectionRequest) Reset()

func (*ConnectionRequest) String

func (x *ConnectionRequest) String() string

type ConnectionResponse

type ConnectionResponse struct {
	ReplyAddressTag    []byte   `protobuf:"bytes,1,opt,name=reply_address_tag,json=replyAddressTag,proto3" json:"reply_address_tag,omitempty"`
	SessionDescription []byte   `protobuf:"bytes,3,opt,name=session_description,json=sessionDescription,proto3" json:"session_description,omitempty"`
	Candidates         [][]byte `protobuf:"bytes,4,rep,name=candidates,proto3" json:"candidates,omitempty"`
	StopPolling        bool     `protobuf:"varint,5,opt,name=stop_polling,json=stopPolling,proto3" json:"stop_polling,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionResponse) Descriptor deprecated

func (*ConnectionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionResponse.ProtoReflect.Descriptor instead.

func (*ConnectionResponse) GetCandidates

func (x *ConnectionResponse) GetCandidates() [][]byte

func (*ConnectionResponse) GetReplyAddressTag

func (x *ConnectionResponse) GetReplyAddressTag() []byte

func (*ConnectionResponse) GetSessionDescription

func (x *ConnectionResponse) GetSessionDescription() []byte

func (*ConnectionResponse) GetStopPolling

func (x *ConnectionResponse) GetStopPolling() bool

func (*ConnectionResponse) ProtoMessage

func (*ConnectionResponse) ProtoMessage()

func (*ConnectionResponse) ProtoReflect

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

func (*ConnectionResponse) Reset

func (x *ConnectionResponse) Reset()

func (*ConnectionResponse) String

func (x *ConnectionResponse) String() string

type LocalWebRTCListener

type LocalWebRTCListener struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// The connection will be sent from this outbound tag when supported by the listener runtime.
	ConnectVia         string                    `protobuf:"bytes,2,opt,name=connect_via,json=connectVia,proto3" json:"connect_via,omitempty"`
	PacketEncoding     packetaddr.PacketAddrType `` /* 150-byte string literal not displayed */
	StunServers        []string                  `protobuf:"bytes,4,rep,name=stun_servers,json=stunServers,proto3" json:"stun_servers,omitempty"`
	TurnServers        []*WebRTCTURNServer       `protobuf:"bytes,9,rep,name=turn_servers,json=turnServers,proto3" json:"turn_servers,omitempty"`
	UseIpv4            bool                      `protobuf:"varint,5,opt,name=use_ipv4,json=useIpv4,proto3" json:"use_ipv4,omitempty"`
	UseIpv6            bool                      `protobuf:"varint,6,opt,name=use_ipv6,json=useIpv6,proto3" json:"use_ipv6,omitempty"`
	RequestPortBlossom bool                      `protobuf:"varint,7,opt,name=request_port_blossom,json=requestPortBlossom,proto3" json:"request_port_blossom,omitempty"`
	AcceptPortBlossom  bool                      `protobuf:"varint,8,opt,name=accept_port_blossom,json=acceptPortBlossom,proto3" json:"accept_port_blossom,omitempty"`
	// Limits acceptor-side repeated port blossom. 0 uses the default 6 seconds.
	PortBlossomDurationSec                                                   uint32 `` /* 133-byte string literal not displayed */
	RequireRemoteFinishCandidateGatheringBeforeSendingOwnCandidateWorkaround bool   `` /* 295-byte string literal not displayed */
	// contains filtered or unexported fields
}

LocalWebRTCListener is an active WebRTC listener that gathers its own UDP candidates.

func (*LocalWebRTCListener) Descriptor deprecated

func (*LocalWebRTCListener) Descriptor() ([]byte, []int)

Deprecated: Use LocalWebRTCListener.ProtoReflect.Descriptor instead.

func (*LocalWebRTCListener) GetAcceptPortBlossom

func (x *LocalWebRTCListener) GetAcceptPortBlossom() bool

func (*LocalWebRTCListener) GetConnectVia

func (x *LocalWebRTCListener) GetConnectVia() string

func (*LocalWebRTCListener) GetPacketEncoding

func (x *LocalWebRTCListener) GetPacketEncoding() packetaddr.PacketAddrType

func (*LocalWebRTCListener) GetPortBlossomDurationSec

func (x *LocalWebRTCListener) GetPortBlossomDurationSec() uint32

func (*LocalWebRTCListener) GetRequestPortBlossom

func (x *LocalWebRTCListener) GetRequestPortBlossom() bool

func (*LocalWebRTCListener) GetRequireRemoteFinishCandidateGatheringBeforeSendingOwnCandidateWorkaround

func (x *LocalWebRTCListener) GetRequireRemoteFinishCandidateGatheringBeforeSendingOwnCandidateWorkaround() bool

func (*LocalWebRTCListener) GetStunServers

func (x *LocalWebRTCListener) GetStunServers() []string

func (*LocalWebRTCListener) GetTag

func (x *LocalWebRTCListener) GetTag() string

func (*LocalWebRTCListener) GetTurnServers

func (x *LocalWebRTCListener) GetTurnServers() []*WebRTCTURNServer

func (*LocalWebRTCListener) GetUseIpv4

func (x *LocalWebRTCListener) GetUseIpv4() bool

func (*LocalWebRTCListener) GetUseIpv6

func (x *LocalWebRTCListener) GetUseIpv6() bool

func (*LocalWebRTCListener) ProtoMessage

func (*LocalWebRTCListener) ProtoMessage()

func (*LocalWebRTCListener) ProtoReflect

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

func (*LocalWebRTCListener) Reset

func (x *LocalWebRTCListener) Reset()

func (*LocalWebRTCListener) String

func (x *LocalWebRTCListener) String() string

type LocalWebRTCSystemListener

type LocalWebRTCSystemListener struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// If set, then a UDP mux will be created on this port.
	LocalPort uint32 `protobuf:"varint,2,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
	// The ICE-lite local address.
	Ip                 []byte `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	Ipv6               []byte `protobuf:"bytes,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	RequestPortBlossom bool   `protobuf:"varint,7,opt,name=request_port_blossom,json=requestPortBlossom,proto3" json:"request_port_blossom,omitempty"`
	AcceptPortBlossom  bool   `protobuf:"varint,8,opt,name=accept_port_blossom,json=acceptPortBlossom,proto3" json:"accept_port_blossom,omitempty"`
	// Limits acceptor-side repeated port blossom. 0 uses the default 6 seconds.
	PortBlossomDurationSec uint32 `` /* 132-byte string literal not displayed */
	IpAddr                 string `protobuf:"bytes,68000,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"`
	Ipv6Addr               string `protobuf:"bytes,68001,opt,name=ipv6_addr,json=ipv6Addr,proto3" json:"ipv6_addr,omitempty"`
	// contains filtered or unexported fields
}

LocalWebRTCSystemListener is a passive WebRTC listener backed by a local packet socket.

func (*LocalWebRTCSystemListener) Descriptor deprecated

func (*LocalWebRTCSystemListener) Descriptor() ([]byte, []int)

Deprecated: Use LocalWebRTCSystemListener.ProtoReflect.Descriptor instead.

func (*LocalWebRTCSystemListener) GetAcceptPortBlossom

func (x *LocalWebRTCSystemListener) GetAcceptPortBlossom() bool

func (*LocalWebRTCSystemListener) GetIp

func (x *LocalWebRTCSystemListener) GetIp() []byte

func (*LocalWebRTCSystemListener) GetIpAddr

func (x *LocalWebRTCSystemListener) GetIpAddr() string

func (*LocalWebRTCSystemListener) GetIpv6

func (x *LocalWebRTCSystemListener) GetIpv6() []byte

func (*LocalWebRTCSystemListener) GetIpv6Addr

func (x *LocalWebRTCSystemListener) GetIpv6Addr() string

func (*LocalWebRTCSystemListener) GetLocalPort

func (x *LocalWebRTCSystemListener) GetLocalPort() uint32

func (*LocalWebRTCSystemListener) GetPortBlossomDurationSec

func (x *LocalWebRTCSystemListener) GetPortBlossomDurationSec() uint32

func (*LocalWebRTCSystemListener) GetRequestPortBlossom

func (x *LocalWebRTCSystemListener) GetRequestPortBlossom() bool

func (*LocalWebRTCSystemListener) GetTag

func (x *LocalWebRTCSystemListener) GetTag() string

func (*LocalWebRTCSystemListener) ProtoMessage

func (*LocalWebRTCSystemListener) ProtoMessage()

func (*LocalWebRTCSystemListener) ProtoReflect

func (*LocalWebRTCSystemListener) Reset

func (x *LocalWebRTCSystemListener) Reset()

func (*LocalWebRTCSystemListener) String

func (x *LocalWebRTCSystemListener) String() string

type Remote

type Remote struct {
	Tag          string     `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	ClientConfig *anypb.Any `protobuf:"bytes,1,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"`
	// contains filtered or unexported fields
}

func (*Remote) Descriptor deprecated

func (*Remote) Descriptor() ([]byte, []int)

Deprecated: Use Remote.ProtoReflect.Descriptor instead.

func (*Remote) GetClientConfig

func (x *Remote) GetClientConfig() *anypb.Any

func (*Remote) GetTag

func (x *Remote) GetTag() string

func (*Remote) ProtoMessage

func (*Remote) ProtoMessage()

func (*Remote) ProtoReflect

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

func (*Remote) Reset

func (x *Remote) Reset()

func (*Remote) String

func (x *Remote) String() string

type RemoteConnections

type RemoteConnections struct {
	RemoteTag        string                    `protobuf:"bytes,1,opt,name=remote_tag,json=remoteTag,proto3" json:"remote_tag,omitempty"`
	LocalListenerTag string                    `protobuf:"bytes,2,opt,name=local_listener_tag,json=localListenerTag,proto3" json:"local_listener_tag,omitempty"`
	PortForward      []*UDPPortForwarderRemote `protobuf:"bytes,3,rep,name=port_forward,json=portForward,proto3" json:"port_forward,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteConnections) Descriptor deprecated

func (*RemoteConnections) Descriptor() ([]byte, []int)

Deprecated: Use RemoteConnections.ProtoReflect.Descriptor instead.

func (*RemoteConnections) GetLocalListenerTag

func (x *RemoteConnections) GetLocalListenerTag() string

func (*RemoteConnections) GetPortForward

func (x *RemoteConnections) GetPortForward() []*UDPPortForwarderRemote

func (*RemoteConnections) GetRemoteTag

func (x *RemoteConnections) GetRemoteTag() string

func (*RemoteConnections) ProtoMessage

func (*RemoteConnections) ProtoMessage()

func (*RemoteConnections) ProtoReflect

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

func (*RemoteConnections) Reset

func (x *RemoteConnections) Reset()

func (*RemoteConnections) String

func (x *RemoteConnections) String() string

type ServerInverseRoleConfig

type ServerInverseRoleConfig struct {
	RoundTripperClient *anypb.Any `protobuf:"bytes,1,opt,name=round_tripper_client,json=roundTripperClient,proto3" json:"round_tripper_client,omitempty"`
	SecurityConfig     *anypb.Any `protobuf:"bytes,2,opt,name=security_config,json=securityConfig,proto3" json:"security_config,omitempty"`
	Dest               string     `protobuf:"bytes,3,opt,name=dest,proto3" json:"dest,omitempty"`
	OutboundTag        string     `protobuf:"bytes,4,opt,name=outbound_tag,json=outboundTag,proto3" json:"outbound_tag,omitempty"`
	ServerIdentity     []byte     `protobuf:"bytes,5,opt,name=server_identity,json=serverIdentity,proto3" json:"server_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInverseRoleConfig) Descriptor deprecated

func (*ServerInverseRoleConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerInverseRoleConfig.ProtoReflect.Descriptor instead.

func (*ServerInverseRoleConfig) GetDest

func (x *ServerInverseRoleConfig) GetDest() string

func (*ServerInverseRoleConfig) GetOutboundTag

func (x *ServerInverseRoleConfig) GetOutboundTag() string

func (*ServerInverseRoleConfig) GetRoundTripperClient

func (x *ServerInverseRoleConfig) GetRoundTripperClient() *anypb.Any

func (*ServerInverseRoleConfig) GetSecurityConfig

func (x *ServerInverseRoleConfig) GetSecurityConfig() *anypb.Any

func (*ServerInverseRoleConfig) GetServerIdentity

func (x *ServerInverseRoleConfig) GetServerIdentity() []byte

func (*ServerInverseRoleConfig) ProtoMessage

func (*ServerInverseRoleConfig) ProtoMessage()

func (*ServerInverseRoleConfig) ProtoReflect

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

func (*ServerInverseRoleConfig) Reset

func (x *ServerInverseRoleConfig) Reset()

func (*ServerInverseRoleConfig) String

func (x *ServerInverseRoleConfig) String() string

type UDPPortForwarderAcceptor

type UDPPortForwarderAcceptor struct {
	Tag        string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Port       uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Ip         []byte `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	ConnectVia string `protobuf:"bytes,4,opt,name=connect_via,json=connectVia,proto3" json:"connect_via,omitempty"`
	IpAddr     string `protobuf:"bytes,68000,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"`
	// contains filtered or unexported fields
}

func (*UDPPortForwarderAcceptor) Descriptor deprecated

func (*UDPPortForwarderAcceptor) Descriptor() ([]byte, []int)

Deprecated: Use UDPPortForwarderAcceptor.ProtoReflect.Descriptor instead.

func (*UDPPortForwarderAcceptor) GetConnectVia

func (x *UDPPortForwarderAcceptor) GetConnectVia() string

func (*UDPPortForwarderAcceptor) GetIp

func (x *UDPPortForwarderAcceptor) GetIp() []byte

func (*UDPPortForwarderAcceptor) GetIpAddr

func (x *UDPPortForwarderAcceptor) GetIpAddr() string

func (*UDPPortForwarderAcceptor) GetPort

func (x *UDPPortForwarderAcceptor) GetPort() uint32

func (*UDPPortForwarderAcceptor) GetTag

func (x *UDPPortForwarderAcceptor) GetTag() string

func (*UDPPortForwarderAcceptor) ProtoMessage

func (*UDPPortForwarderAcceptor) ProtoMessage()

func (*UDPPortForwarderAcceptor) ProtoReflect

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

func (*UDPPortForwarderAcceptor) Reset

func (x *UDPPortForwarderAcceptor) Reset()

func (*UDPPortForwarderAcceptor) String

func (x *UDPPortForwarderAcceptor) String() string

type UDPPortForwarderRemote

type UDPPortForwarderRemote struct {
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// Create a new outbound to accept UDP connection traffic for forwarding.
	AcceptConnectOn string `protobuf:"bytes,4,opt,name=accept_connect_on,json=acceptConnectOn,proto3" json:"accept_connect_on,omitempty"`
	// contains filtered or unexported fields
}

func (*UDPPortForwarderRemote) Descriptor deprecated

func (*UDPPortForwarderRemote) Descriptor() ([]byte, []int)

Deprecated: Use UDPPortForwarderRemote.ProtoReflect.Descriptor instead.

func (*UDPPortForwarderRemote) GetAcceptConnectOn

func (x *UDPPortForwarderRemote) GetAcceptConnectOn() string

func (*UDPPortForwarderRemote) GetTag

func (x *UDPPortForwarderRemote) GetTag() string

func (*UDPPortForwarderRemote) ProtoMessage

func (*UDPPortForwarderRemote) ProtoMessage()

func (*UDPPortForwarderRemote) ProtoReflect

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

func (*UDPPortForwarderRemote) Reset

func (x *UDPPortForwarderRemote) Reset()

func (*UDPPortForwarderRemote) String

func (x *UDPPortForwarderRemote) String() string

type WebRTC

type WebRTC struct {
	// contains filtered or unexported fields
}

func (*WebRTC) Close

func (w *WebRTC) Close() error

func (*WebRTC) Init

func (w *WebRTC) Init(ctx context.Context, config *Config, dispatcher routing.Dispatcher, outboundManager outbound.Manager, dnsClient featuredns.Client) error

func (*WebRTC) Start

func (w *WebRTC) Start() error

func (*WebRTC) Type

func (w *WebRTC) Type() interface{}

type WebRTCTURNServer

type WebRTCTURNServer struct {

	// Only UDP TURN URLs are supported for active listeners, for example:
	// turn:turn.example.com:3478?transport=udp
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*WebRTCTURNServer) Descriptor deprecated

func (*WebRTCTURNServer) Descriptor() ([]byte, []int)

Deprecated: Use WebRTCTURNServer.ProtoReflect.Descriptor instead.

func (*WebRTCTURNServer) GetPassword

func (x *WebRTCTURNServer) GetPassword() string

func (*WebRTCTURNServer) GetUrl

func (x *WebRTCTURNServer) GetUrl() string

func (*WebRTCTURNServer) GetUsername

func (x *WebRTCTURNServer) GetUsername() string

func (*WebRTCTURNServer) ProtoMessage

func (*WebRTCTURNServer) ProtoMessage()

func (*WebRTCTURNServer) ProtoReflect

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

func (*WebRTCTURNServer) Reset

func (x *WebRTCTURNServer) Reset()

func (*WebRTCTURNServer) String

func (x *WebRTCTURNServer) String() string

Jump to

Keyboard shortcuts

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