bindata

package
v0.0.0-...-b50e879 Latest Latest
Warning

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

Go to latest
Published: May 10, 2016 License: BSD-2-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(name string) ([]byte, error)

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

func AssetDir(name string) ([]string, error)

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

func AssetInfo(name string) (os.FileInfo, error)

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 AssetNames

func AssetNames() []string

AssetNames returns the names of the assets.

func MustAsset

func MustAsset(name string) []byte

MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.

func RestoreAsset

func RestoreAsset(dir, name string) error

RestoreAsset restores an asset under the given directory

func RestoreAssets

func RestoreAssets(dir, name string) error

RestoreAssets restores an asset under the given directory recursively

func TemplatesClass_pythonTmpl

func TemplatesClass_pythonTmpl() (*asset, error)

func TemplatesClass_pythonTmplBytes

func TemplatesClass_pythonTmplBytes() ([]byte, error)

func TemplatesClient_helper_resourceTmpl

func TemplatesClient_helper_resourceTmpl() (*asset, error)

func TemplatesClient_helper_resourceTmplBytes

func TemplatesClient_helper_resourceTmplBytes() ([]byte, error)

func TemplatesClient_resourceTmpl

func TemplatesClient_resourceTmpl() (*asset, error)

func TemplatesClient_resourceTmplBytes

func TemplatesClient_resourceTmplBytes() ([]byte, error)

func TemplatesDateTmpl

func TemplatesDateTmpl() (*asset, error)

func TemplatesDateTmplBytes

func TemplatesDateTmplBytes() ([]byte, error)

func TemplatesGeneric_mainTmpl

func TemplatesGeneric_mainTmpl() (*asset, error)

func TemplatesGeneric_mainTmplBytes

func TemplatesGeneric_mainTmplBytes() ([]byte, error)

func TemplatesInput_validators_pythonTmpl

func TemplatesInput_validators_pythonTmpl() (*asset, error)

func TemplatesInput_validators_pythonTmplBytes

func TemplatesInput_validators_pythonTmplBytes() ([]byte, error)

func TemplatesOauth2_middlewareTmpl

func TemplatesOauth2_middlewareTmpl() (*asset, error)

func TemplatesOauth2_middlewareTmplBytes

func TemplatesOauth2_middlewareTmplBytes() ([]byte, error)

func TemplatesOauth2_middleware_pythonTmpl

func TemplatesOauth2_middleware_pythonTmpl() (*asset, error)

func TemplatesOauth2_middleware_pythonTmplBytes

func TemplatesOauth2_middleware_pythonTmplBytes() ([]byte, error)

func TemplatesPython_clientTmpl

func TemplatesPython_clientTmpl() (*asset, error)

func TemplatesPython_clientTmplBytes

func TemplatesPython_clientTmplBytes() ([]byte, error)

func TemplatesPython_client_utilsTmpl

func TemplatesPython_client_utilsTmpl() (*asset, error)

func TemplatesPython_client_utilsTmplBytes

func TemplatesPython_client_utilsTmplBytes() ([]byte, error)

func TemplatesPython_server_resourceTmpl

func TemplatesPython_server_resourceTmpl() (*asset, error)

func TemplatesPython_server_resourceTmplBytes

func TemplatesPython_server_resourceTmplBytes() ([]byte, error)

func TemplatesServer_mainTmpl

func TemplatesServer_mainTmpl() (*asset, error)

func TemplatesServer_mainTmplBytes

func TemplatesServer_mainTmplBytes() ([]byte, error)

func TemplatesServer_python_mainTmpl

func TemplatesServer_python_mainTmpl() (*asset, error)

func TemplatesServer_python_mainTmplBytes

func TemplatesServer_python_mainTmplBytes() ([]byte, error)

func TemplatesServer_resources_apiTmpl

func TemplatesServer_resources_apiTmpl() (*asset, error)

func TemplatesServer_resources_apiTmplBytes

func TemplatesServer_resources_apiTmplBytes() ([]byte, error)

func TemplatesServer_resources_interfaceTmpl

func TemplatesServer_resources_interfaceTmpl() (*asset, error)

func TemplatesServer_resources_interfaceTmplBytes

func TemplatesServer_resources_interfaceTmplBytes() ([]byte, error)

func TemplatesStructTmpl

func TemplatesStructTmpl() (*asset, error)

func TemplatesStructTmplBytes

func TemplatesStructTmplBytes() ([]byte, error)

func TemplatesStruct_input_validatorTmpl

func TemplatesStruct_input_validatorTmpl() (*asset, error)

func TemplatesStruct_input_validatorTmplBytes

func TemplatesStruct_input_validatorTmplBytes() ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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