Documentation ¶
Index ¶
- Variables
- func LoadConfig(configFile string) (opts *server.Options)
- func RunDefaultServer() *server.Server
- func RunServer(opts *server.Options) *server.Server
- func RunServerWithAuth(opts *server.Options, auth server.Auth) *server.Server
- func RunServerWithConfig(configFile string) (srv *server.Server, opts *server.Options)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTestOptions = server.Options{ Host: "localhost", Port: 4222, NoLog: true, NoSigs: true, }
DefaultTestOptions are default options for the unit tests.
Functions ¶
func LoadConfig ¶ added in v0.7.2
LoadConfig loads a configuration from a filename
func RunDefaultServer ¶ added in v0.6.2
RunDefaultServer starts a new Go routine based server using the default options
func RunServerWithAuth ¶ added in v0.6.0
RunServerWithAuth starts a new Go routine based server with auth
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.