Documentation
¶
Index ¶
- Constants
- type Entry
- type ExternalServer
- type Generator
- type InternalServer
- type RelayAddressGeneratorNone
- type RelayAddressGeneratorPortRange
- func (r *RelayAddressGeneratorPortRange) AllocateConn(network string, requestedPort int) (net.Conn, net.Addr, error)
- func (r *RelayAddressGeneratorPortRange) AllocatePacketConn(network string, requestedPort int) (net.PacketConn, net.Addr, error)
- func (r *RelayAddressGeneratorPortRange) Validate() error
- type Server
Constants ¶
View Source
const Realm = "screego"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalServer ¶ added in v1.4.0
type ExternalServer struct {
// contains filtered or unexported fields
}
func (*ExternalServer) Credentials ¶ added in v1.4.0
func (*ExternalServer) Disallow ¶ added in v1.4.0
func (a *ExternalServer) Disallow(username string)
type Generator ¶ added in v1.1.0
type Generator struct {
turn.RelayAddressGenerator
IPProvider ipdns.Provider
}
func (*Generator) AllocatePacketConn ¶ added in v1.1.0
type InternalServer ¶ added in v1.4.0
type InternalServer struct {
// contains filtered or unexported fields
}
func (*InternalServer) Credentials ¶ added in v1.4.0
func (*InternalServer) Disallow ¶ added in v1.4.0
func (a *InternalServer) Disallow(username string)
type RelayAddressGeneratorNone ¶ added in v1.1.0
type RelayAddressGeneratorNone struct{}
func (*RelayAddressGeneratorNone) AllocateConn ¶ added in v1.1.0
func (*RelayAddressGeneratorNone) AllocatePacketConn ¶ added in v1.1.0
func (r *RelayAddressGeneratorNone) AllocatePacketConn(network string, requestedPort int) (net.PacketConn, net.Addr, error)
func (*RelayAddressGeneratorNone) Validate ¶ added in v1.1.0
func (r *RelayAddressGeneratorNone) Validate() error
type RelayAddressGeneratorPortRange ¶ added in v1.1.0
type RelayAddressGeneratorPortRange struct {
MinPort uint16
MaxPort uint16
Rand randutil.MathRandomGenerator
}
func (*RelayAddressGeneratorPortRange) AllocateConn ¶ added in v1.1.0
func (*RelayAddressGeneratorPortRange) AllocatePacketConn ¶ added in v1.1.0
func (r *RelayAddressGeneratorPortRange) AllocatePacketConn(network string, requestedPort int) (net.PacketConn, net.Addr, error)
func (*RelayAddressGeneratorPortRange) Validate ¶ added in v1.1.0
func (r *RelayAddressGeneratorPortRange) Validate() error
Click to show internal directories.
Click to hide internal directories.