assets

package
v0.27.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	Frpc = 1
	Frps = 2
)

Functions

func Load

func Load(path string, t int) (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