Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoStreamFn = func(path string) error { return fmt.Errorf("%s is not a known stream", path) }
ErrNoStreamFn is used to create dynamic errors for unknown hosts requested as stream
View Source
var ErrStreamAlreadyActive = errors.New("Stream is already active")
ErrStreamAlreadyActive is an error describing that we cannot restart the stream because it's already running
Functions ¶
func ExitHandler ¶
func ExitHandler() chan bool
ExitHandler is a function that can recognise when the application is being closed and cleans up all background running processes
func GetRouter ¶
func GetRouter(config *config.Specification) *httprouter.Router
GetRouter returns the return for the application
func SetupLogger ¶
func SetupLogger(spec *config.Specification)
SetupLogger sets the logger for the proper settings based on the environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.