vanilla

package module
v0.0.0-...-39adbb5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DBName of the mongo
	DBName string = "vanilla"
	// UserCollection name
	UserCollection string = "users"
)

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware() gin.HandlerFunc

CORSMiddleware allow all

func Run

func Run(addr string)

Run the server

func Stop

func Stop()

Stop the server

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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