api

package
v0.0.0-...-0f3e1e6 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 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

type ConfigHandler struct {
	Config interface{}
}

func (*ConfigHandler) ServeHTTP

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

type ManualHandler

type ManualHandler struct{}

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

func (*ManualHandler) ServeHTTP

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

type RoutesHandler

type RoutesHandler struct{}

func (*RoutesHandler) ServeHTTP

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

type VersionHandler

type VersionHandler struct {
	Version string
}

func (*VersionHandler) ServeHTTP

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