http

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHttpServer

func StartHttpServer()

Types

type HttpAPI

type HttpAPI struct{}
var API HttpAPI = HttpAPI{}

func (*HttpAPI) Health

func (this *HttpAPI) Health(r render.Render)

Health api endpoint, returns ok

func (*HttpAPI) RegisterEndpoints

func (this *HttpAPI) RegisterEndpoints(m *martini.ClassicMartini)

RegisterEndpoints define all api endpoints

Jump to

Keyboard shortcuts

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