api

package
v0.0.0-...-9b4f6c4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chain

func Chain(middlewares ...func(*App) bool) func(http.ResponseWriter, *http.Request)

func GetAllTasks

func GetAllTasks(app *App) bool

func HealthCheck

func HealthCheck(app *App) bool

func Login

func Login(app *App) bool

func PostUser

func PostUser(app *App) bool

func Router

func Router() *mux.Router

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(w http.ResponseWriter, r *http.Request) *App

type PostUserData

type PostUserData struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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