db

package
v0.0.0-...-199b4de Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Token string

Functions

func DbHandler

func DbHandler(r *mux.Router)

func GetToken

func GetToken(t string)

Types

type Database

type Database struct {
	gorm.Model
	Name    string `json:"name"`
	Content string `json:"content"`
}

type Request

type Request struct {
	Content string `json:"content"`
}

Jump to

Keyboard shortcuts

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