resource

package
v0.0.0-...-e7a9558 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResetDefaultBundle

func ResetDefaultBundle()

Types

type Resource

type Resource struct{}
var DefaultResource *Resource = &Resource{}

func (*Resource) Get

func (re *Resource) Get(path string) (resources.Resource, error)

func (*Resource) HandleStatic

func (re *Resource) HandleStatic(w http.ResponseWriter, r *http.Request, path string)

func (*Resource) Load

func (re *Resource) Load(path string) []byte

Jump to

Keyboard shortcuts

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