assets

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: Apache-2.0 Imports: 5 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// store static files in memory by statik
	FileSystem http.FileSystem
)

Functions

func Load

func Load(path string) (err error)

if path is empty, load assets in memory or set FileSystem using disk files

func ReadFile

func ReadFile(file string) (content string, err error)

Types

This section is empty.

Directories

Path Synopsis
frpc
frps

Jump to

Keyboard shortcuts

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