api

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package api provides the HTTP api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigHandler added in v1.3.7

type ConfigHandler struct {
	Config interface{}
}

func (*ConfigHandler) ServeHTTP added in v1.3.7

func (h *ConfigHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type ManualHandler added in v1.3.7

type ManualHandler struct{}

ManualHandler provides a fetch and update handler for the manual overrides api.

func (*ManualHandler) ServeHTTP added in v1.3.7

func (h *ManualHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RoutesHandler added in v1.3.7

type RoutesHandler struct{}

func (*RoutesHandler) ServeHTTP added in v1.3.7

func (h *RoutesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type VersionHandler added in v1.3.7

type VersionHandler struct {
	Version string
}

func (*VersionHandler) ServeHTTP added in v1.3.7

func (h *VersionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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