Documentation ¶
Overview ¶
Code generated for package templates by go-bindata DO NOT EDIT. (@generated) sources: ../../../templates/admin/base/page.tmpl ../../../templates/admin/base/search.tmpl ../../../templates/admin/config.tmpl ../../../templates/admin/dashboard.tmpl ../../../templates/admin/domain/list.tmpl ../../../templates/admin/domain/new.tmpl ../../../templates/admin/log/list.tmpl ../../../templates/admin/monitor.tmpl ../../../templates/admin/navbar.tmpl ../../../templates/admin/notice.tmpl ../../../templates/admin/user/edit.tmpl ../../../templates/admin/user/list.tmpl ../../../templates/admin/user/new.tmpl ../../../templates/base/alert.tmpl ../../../templates/base/footer.tmpl ../../../templates/base/header.tmpl ../../../templates/install.tmpl ../../../templates/mail/content.tmpl ../../../templates/mail/content_html.tmpl ../../../templates/mail/list.tmpl ../../../templates/mail/navbar.tmpl ../../../templates/mail/navbar_bid.tmpl ../../../templates/mail/new.tmpl ../../../templates/mail/page.tmpl ../../../templates/status/404.tmpl ../../../templates/status/500.tmpl ../../../templates/user/auth/activate.tmpl ../../../templates/user/auth/forgot_passwd.tmpl ../../../templates/user/auth/login.tmpl ../../../templates/user/auth/prohibit_login.tmpl ../../../templates/user/auth/reset_passwd.tmpl ../../../templates/user/auth/signup.tmpl ../../../templates/user/profile.tmpl ../../../templates/user/settings/auth_password.tmpl ../../../templates/user/settings/client.tmpl ../../../templates/user/settings/navbar.tmpl ../../../templates/user/settings/password.tmpl ../../../templates/user/settings/profile.tmpl
Index ¶
- func Asset(name string) ([]byte, error)
- func AssetDir(name string) ([]string, error)
- func AssetInfo(name string) (os.FileInfo, error)
- func AssetNames() []string
- func MustAsset(name string) []byte
- func NewTemplateFileSystem(dir, customDir string) macaron.TemplateFileSystem
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
func AssetDir ¶
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:
data/ foo.txt img/ a.png b.png
then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.
func AssetInfo ¶
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
func MustAsset ¶
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
func NewTemplateFileSystem ¶
func NewTemplateFileSystem(dir, customDir string) macaron.TemplateFileSystem
NewTemplateFileSystem returns a macaron.TemplateFileSystem instance for embedded assets. The argument "dir" can be used to serve subset of embedded assets. Template file found under the "customDir" on disk has higher precedence over embedded assets.
func RestoreAsset ¶
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶
RestoreAssets restores an asset under the given directory recursively
Types ¶
This section is empty.