app

package
v0.0.0-...-466d66e Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryFileSystem

func BinaryFileSystem(root string) *binaryFileSystem

Types

type WebServer

type WebServer struct {
	Router            *gin.Engine
	Configuration     *domain.Configuration
	ConfigurationFile string
}
var (
	Server *WebServer
)

func NewWebServer

func NewWebServer() *WebServer

func (*WebServer) CreateBasicRoutes

func (This *WebServer) CreateBasicRoutes()

func (*WebServer) LoadConfiguration

func (This *WebServer) LoadConfiguration()

func (*WebServer) LoadHealthchecks

func (This *WebServer) LoadHealthchecks(healthchecks []*domain.Healthcheck, notifiers []*domain.Notifier) error

func (*WebServer) RouteGeneral

func (This *WebServer) RouteGeneral(c *gin.Context)

func (*WebServer) Start

func (This *WebServer) Start()

func (*WebServer) TestHealthchecksFile

func (This *WebServer) TestHealthchecksFile(load bool) error

Jump to

Keyboard shortcuts

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