service

package
v0.0.0-...-3c0c84d Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangePassword

func ChangePassword(ctx *gin.Context)

func DeleteRestaurant

func DeleteRestaurant(ctx *gin.Context)

func GetAllRestaurants

func GetAllRestaurants(ctx *gin.Context)

func GetCurrentUser

func GetCurrentUser(ctx *gin.Context)

func GetCustomRestaurants

func GetCustomRestaurants(ctx *gin.Context)

func InsertRestaurant

func InsertRestaurant(ctx *gin.Context)

func InsertUser

func InsertUser(ctx *gin.Context)

func UserLogin

func UserLogin(ctx *gin.Context)

func UserLogout

func UserLogout(ctx *gin.Context)

Types

type MyError

type MyError struct {
	When time.Time
	Err  string
}

func (*MyError) Error

func (e *MyError) Error() string

Jump to

Keyboard shortcuts

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