Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(config *models.Config, tls bool, authMethods []models.AuthMethod, allowedSubnets *models.SubnetChecker, blockedSubnets *models.SubnetChecker, allowedRemoteSubnets *models.SubnetChecker) (*Server, error)
func (*Server) FreeTCPPort ¶
func (*Server) FreeUDPPort ¶
func (*Server) GetTCPPort ¶
func (*Server) GetUDPPort ¶
Click to show internal directories.
Click to hide internal directories.