app

package
v0.0.0-...-d98238c Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 12 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 {
	// contains filtered or unexported fields
}

func (*App) Delete

func (app *App) Delete(path string, f routeHandler)

func (*App) Get

func (app *App) Get(path string, f routeHandler)

func (*App) Handle

func (app *App) Handle(h hdlr, verifyRequest bool) func(w http.ResponseWriter, r *http.Request)

func (*App) Initialize

func (app *App) Initialize(dbConfig *config.DBConfig, redisConfig *config.RedisConfig)

func (*App) Post

func (app *App) Post(path string, f routeHandler)

func (*App) Put

func (app *App) Put(path string, f routeHandler)

func (*App) Run

func (app *App) Run(port string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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