http

package
v0.0.0-...-b63ba6b Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPApi

type HTTPApi struct {
	UrlPrefix string
	// contains filtered or unexported fields
}

func New

func New() *HTTPApi

func (*HTTPApi) Routes

func (httpapi *HTTPApi) Routes(router *mux.Router)

Routes are all the routes from the API. It also sets the different middleware (json, cors, auth)

Jump to

Keyboard shortcuts

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