test

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTestOptions = server.Options{
	Host:           "localhost",
	Port:           4222,
	NoLog:          true,
	NoSigs:         true,
	MaxControlLine: 256,
}

DefaultTestOptions are default options for the unit tests.

Functions

func LoadConfig added in v0.7.2

func LoadConfig(configFile string) (opts *server.Options)

LoadConfig loads a configuration from a filename

func RunDefaultServer added in v0.6.2

func RunDefaultServer() *server.Server

RunDefaultServer starts a new Go routine based server using the default options

func RunServer

func RunServer(opts *server.Options) *server.Server

RunServer starts a new Go routine based server

func RunServerWithAuth added in v0.6.0

func RunServerWithAuth(opts *server.Options, auth server.Auth) *server.Server

RunServerWithAuth starts a new Go routine based server with auth

func RunServerWithConfig added in v0.6.2

func RunServerWithConfig(configFile string) (srv *server.Server, opts *server.Options)

RunServerWithConfig starts a new Go routine based server with a configuration file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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