axyaserve

package
v0.0.0-...-e6cabe9 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2015 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectLiveReload

func InjectLiveReload(html string) string

func MainHandler

func MainHandler(port int, dir string) *gin.Engine

func SeedDb

func SeedDb()

func StartServer

func StartServer(port int, staticDir string)

Types

type Injector

type Injector struct {
	// contains filtered or unexported fields
}

func NewInjector

func NewInjector(original http.Handler) *Injector

func (*Injector) Inject

func (lr *Injector) Inject(mimetype string, injectionFunc func(string) string)

func (*Injector) ServeHTTP

func (lr *Injector) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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