app

package
v0.0.0-...-c0b3d08 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	DB      *gorm.DB
	Router  *mux.Router
	SignKey []byte
}

func NewApp

func NewApp(dbName string, signKey []byte) *App

func (App) Route

func (app App) Route()

func (*App) Run

func (app *App) Run(ip string)

Jump to

Keyboard shortcuts

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