Documentation ¶
Index ¶
- func AddAsset(groupName, name, value string)
- func Bytes(name string) []byte
- func Entries() []string
- func Group(name string) (result *lib.FileGroup, err error)
- func MustBytes(name string) ([]byte, error)
- func MustString(name string) (string, error)
- func NewFileserver(dir string) func(c *znet.Context)
- func Reset()
- func String(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAsset ¶
func AddAsset(groupName, name, value string)
AddAsset adds the given asset to the root context
func MustString ¶
MustString gets the asset value by name
func NewFileserver ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.