manager

package
v0.0.0-...-b6e34ba Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() map[string]config.Server

*

  • Returns map of servers with configurations

func Create

func Create(name string, cfg config.Server) error

*

  • Create new server and launch it

func Delete

func Delete(name string) error

*

  • Delete server stopping all active connections

func DumpConfig

func DumpConfig(format string) (string, error)

*

  • Dumps current [servers] section to
  • the config file

func Get

func Get(name string) interface{}

*

  • Returns server configuration by name

func Initialize

func Initialize(cfg config.Config)

*

  • Initialize manager from the initial/default configuration

func Stats

func Stats(name string) interface{}

*

  • Returns stats for the server

Types

This section is empty.

Jump to

Keyboard shortcuts

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