handlers

package
v0.0.0-...-2cbf9d5 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package handlers contains the full set of handler functions and routes supported by the web api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API

func API(build string, index string, apiHost string, shutdown chan os.Signal, log *log.Logger) (http.Handler, error)

API constructs an http.Handler with all application routes defined.

Types

type Auth

type Auth struct {
	Token   string
	Expires time.Time
}

Auth holds authentication details

Jump to

Keyboard shortcuts

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