handlers

package
v0.0.0-...-dd696da Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTaskToUser

func AddTaskToUser(queries *DB.Queries) httprouter.Handle

func GetTasksFromUser

func GetTasksFromUser(queries *DB.Queries) httprouter.Handle

func Refresh

func Refresh(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func RemoveTaskFromUser

func RemoveTaskFromUser(queries *DB.Queries) httprouter.Handle

func Signin

func Signin(queries *DB.Queries) httprouter.Handle

func Signup

func Signup(queries *DB.Queries) httprouter.Handle

func Welcome

func Welcome(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

Types

type Credentials

type Credentials struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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