api

package
v1.5.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardHandler

type DashboardHandler struct{}

DashboardHandler expose dashboard routes

func (DashboardHandler) AddRoutes

func (g DashboardHandler) AddRoutes(router *mux.Router)

AddRoutes add dashboard routes on a router

type DebugHandler

type DebugHandler struct{}

DebugHandler expose debug routes

func (DebugHandler) AddRoutes

func (g DebugHandler) AddRoutes(router *mux.Router)

AddRoutes add debug routes on a router

type Handler

type Handler struct {
	EntryPoint            string `description:"EntryPoint" export:"true"`
	Dashboard             bool   `description:"Activate dashboard" export:"true"`
	Debug                 bool   `export:"true"`
	CurrentConfigurations *safe.Safe
	Statistics            *types.Statistics `description:"Enable more detailed statistics" export:"true"`
	Stats                 *thoas_stats.Stats
	StatsRecorder         *middlewares.StatsRecorder
}

Handler expose api routes

func (Handler) AddRoutes

func (p Handler) AddRoutes(router *mux.Router)

AddRoutes add api routes on a router

Jump to

Keyboard shortcuts

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