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 ¶
type ExternalServer struct {
// contains filtered or unexported fields
}
func (*ExternalServer) Credentials ¶
func (*ExternalServer) Disallow ¶
func (a *ExternalServer) Disallow(username string)
type Generator ¶
func (*Generator) AllocatePacketConn ¶
type InternalServer ¶
type InternalServer struct {
// contains filtered or unexported fields
}
func (*InternalServer) Credentials ¶
func (*InternalServer) Disallow ¶
func (a *InternalServer) Disallow(username string)
type RelayAddressGeneratorNone ¶
type RelayAddressGeneratorNone struct{}
func (*RelayAddressGeneratorNone) AllocateConn ¶
func (*RelayAddressGeneratorNone) AllocatePacketConn ¶
func (r *RelayAddressGeneratorNone) AllocatePacketConn(network string, requestedPort int) (net.PacketConn, net.Addr, error)
func (*RelayAddressGeneratorNone) Validate ¶
func (r *RelayAddressGeneratorNone) Validate() error
type RelayAddressGeneratorPortRange ¶
type RelayAddressGeneratorPortRange struct { MinPort uint16 MaxPort uint16 Rand randutil.MathRandomGenerator }
func (*RelayAddressGeneratorPortRange) AllocateConn ¶
func (*RelayAddressGeneratorPortRange) AllocatePacketConn ¶
func (r *RelayAddressGeneratorPortRange) AllocatePacketConn(network string, requestedPort int) (net.PacketConn, net.Addr, error)
func (*RelayAddressGeneratorPortRange) Validate ¶
func (r *RelayAddressGeneratorPortRange) Validate() error
Click to show internal directories.
Click to hide internal directories.