handlers

package
v0.0.0-...-27aa214 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package handlers implements http handlers for api endpoints

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(w http.ResponseWriter, req *http.Request)

CreateUser creates a new user

func DeleteUser

func DeleteUser(w http.ResponseWriter, req *http.Request)

DeleteUser deletes a specific user

func Get

func Get(w http.ResponseWriter, req *http.Request)

Get returns all users

func GetUser

func GetUser(w http.ResponseWriter, req *http.Request)

GetUser return a specific user

func UpdateUser

func UpdateUser(w http.ResponseWriter, req *http.Request)

UpdateUser updates a specific user

Types

This section is empty.

Jump to

Keyboard shortcuts

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