user

package
v0.0.0-...-4061f55 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx *fasthttp.RequestCtx)

Create a new user

func Delete

func Delete(ctx *fasthttp.RequestCtx)

Delete a user

func FromUser

func FromUser(query *gorm.DB, ctx *fasthttp.RequestCtx) *gorm.DB

FromUser filters DB queries by user.

func Get

func Get(ctx *fasthttp.RequestCtx)

Get a specific user

func GetUser

func GetUser(ctx *fasthttp.RequestCtx) uint

GetUser from the URL path.

func List

func List(ctx *fasthttp.RequestCtx)

List all users

func Update

func Update(ctx *fasthttp.RequestCtx)

Update a user

Types

This section is empty.

Jump to

Keyboard shortcuts

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