app

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: BSD-3-Clause Imports: 20 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 *sqlx.DB
}

*

  • Class used to store our web-application.

func (*App) Initialize

func (a *App) Initialize(dbHost, dbPort, dbUser, dbPassword, dbName string)

*

  • Initialize the web-application with the database credentials.

func (*App) Run

func (a *App) Run(addr string)

*

  • Run the server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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