Back to godoc.org

Package axyaserve

v0.0.0-...-e6cabe9
Latest Go to latest

The latest major version is .

Published: Nov 29, 2015 | License: MIT | Module: github.com/asartalo/axya

Index

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)

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)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier