Documentation
¶
Index ¶
- func BinaryFileSystem(root string) *binaryFileSystem
- type WebServer
- func (This *WebServer) CreateBasicRoutes()
- func (This *WebServer) LoadConfiguration()
- func (This *WebServer) LoadHealthchecks(healthchecks []*domain.Healthcheck, notifiers []*domain.Notifier) error
- func (This *WebServer) RouteGeneral(c *gin.Context)
- func (This *WebServer) Start()
- func (This *WebServer) TestHealthchecksFile(load bool) error
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 (*WebServer) RouteGeneral ¶
func (*WebServer) TestHealthchecksFile ¶
Click to show internal directories.
Click to hide internal directories.