healthcheck

package
v2.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: OSL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Flamingo Package that provides a healthcheck endpoint under the default route /status/healthcheck Usage:

Register your own Status via Dingo:
injector.BindMap((*healthcheck.Status)(nil), "yourServiceName").To(yourServiceNameApi.Status{})

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	CheckSession    bool   `inject:"config:healthcheck.checkSession"`
	CheckAuthServer bool   `inject:"config:healthcheck.checkAuth"`
	SessionBackend  string `inject:"config:session.backend"`
}

func (*Module) Configure

func (m *Module) Configure(injector *dingo.Injector)

func (*Module) DefaultConfig

func (m *Module) DefaultConfig() config.Map

Directories

Path Synopsis
domain
interfaces

Jump to

Keyboard shortcuts

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