controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfigLog

func CreateConfigLog(rw http.ResponseWriter, r *http.Request)

func CreateUser

func CreateUser(rw http.ResponseWriter, r *http.Request)

CreateUser create new user in the database

func DeleteUser

func DeleteUser(rw http.ResponseWriter, r *http.Request)

DeleteUser removes the user from database

func GetConfigLogs

func GetConfigLogs(rw http.ResponseWriter, r *http.Request)

GetConfigLogs handles GET requests and returns all config logs from

func GetUser

func GetUser(rw http.ResponseWriter, r *http.Request)

GetUser list one user from database

func GetUsers

func GetUsers(rw http.ResponseWriter, r *http.Request)

GetUsers list all user from database

func UpdateUser

func UpdateUser(rw http.ResponseWriter, r *http.Request)

UpdateUser modify user information in the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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