controllers

package
v0.0.0-...-ee8eda9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthController

func NewAuthController(db *sql.DB,
	v validator.ValidateJSON) *auth

func NewHealthController

func NewHealthController() *health

Types

type AuthController

type AuthController interface {
	Refresh(w http.ResponseWriter, r *http.Request)
}

type HealthController

type HealthController interface {
	HealthGet(http.ResponseWriter, *http.Request)
}

Jump to

Keyboard shortcuts

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