goat

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

README

goat

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 NewApp

func NewApp(basePath string) *App

func (*App) AddBean

func (this *App) AddBean(name string, bean interface{}) bool

func (*App) GetBean

func (this *App) GetBean(name string) interface{}

func (*App) Handle

func (this *App) Handle(req *http.Request, res http.ResponseWriter)

* Isolated goroutine

func (*App) RemoveBean

func (this *App) RemoveBean(name string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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