healthcheck

package
v3.0.0-alpha7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: OSL-3.0 Imports: 5 Imported by: 6

Documentation

Overview

Package healthcheck provides a healthcheck endpoint under the default route /status/healthcheck Usage: Register your own Status via Dingo: injector.BindMap(new(healthcheck.Status), "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 {
	// contains filtered or unexported fields
}

Module entry point for the flamingo healthcheck module

func (*Module) Configure

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

Configure dependency injection

func (*Module) DefaultConfig

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

DefaultConfig for healthcheck module

func (*Module) Inject

func (m *Module) Inject(
	controller *controllers.Healthcheck,
	config *struct {
		CheckSession    bool   `inject:"config:healthcheck.checkSession"`
		CheckAuthServer bool   `inject:"config:healthcheck.checkAuth"`
		CheckPath       string `inject:"config:healthcheck.checkPath"`
		PingPath        string `inject:"config:healthcheck.pingPath"`
		SessionBackend  string `inject:"config:session.backend"`
	},
)

Inject dependencies

Directories

Path Synopsis
domain
interfaces

Jump to

Keyboard shortcuts

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