static

package
v0.0.0-...-de73072 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2019 License: GPL-3.0 Imports: 11 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFile

func GetFile(names ...string) (status int, File []byte, err error)

GetFile Get static file

func GetPage

func GetPage(names ...string) (status int, Page []byte, err error)

GetPage return the builted html

func Route

func Route(res http.ResponseWriter, req *http.Request)

Route decide return which Page

func SaveFile

func SaveFile(bytes []byte, names ...string) (err error)

SaveFile save static file

Types

This section is empty.

Jump to

Keyboard shortcuts

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