Documentation ¶
Index ¶
- func EmbedFSGetAllFilenames(efs *embed.FS) (files []string, err error)
- func GetEnvOrPanic(name string) string
- func ReadFileOrPanic(name string) []byte
- func RunOnExitSyscall(callback func(ctx context.Context))
- func SubEmbedFSAsHttpFs(efs *embed.FS, dir string) http.FileSystem
- func WrapBinaryContents(contents []byte, prepend []byte, append []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbedFSGetAllFilenames ¶
func GetEnvOrPanic ¶
func ReadFileOrPanic ¶
func RunOnExitSyscall ¶
func SubEmbedFSAsHttpFs ¶
func SubEmbedFSAsHttpFs(efs *embed.FS, dir string) http.FileSystem
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.