settings

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandler added in v1.8.0

func GetHandler(res http.ResponseWriter, req *http.Request, user *userutils.User)

GetHandler returns the user's settings swagger:route GET /settings settings settings Produces: - application/json responses:

200: settingsAPIResponse
default: Error

func Handler

func Handler(res http.ResponseWriter, req *http.Request, user *userutils.User)

func PostHandler added in v1.8.0

func PostHandler(res http.ResponseWriter, req *http.Request, user *userutils.User)

PostHandler handles the saving of user settings swagger:route POST /settings settings settingsAPIRequest Produces: - application/json responses:

200: settingsAPIResponse
default: Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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