controller

package
v0.0.0-...-e4b16ce Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUser

func GetUser(c *gin.Context)

GetUser return the user from the database base on "id"

func GetUsers

func GetUsers(c *gin.Context)

GetUsers return all users from the database

func PostUser

func PostUser(c *gin.Context)

PostUser create a new user

func RootController

func RootController(c *gin.Context)

HelloWorld hey

Types

This section is empty.

Jump to

Keyboard shortcuts

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