Documentation ¶
Index ¶
- func GenerateEmbeddedPackage(targetDirPath, outputPath string) error
- func GenerateSelfPackage(srcPath, outputPath string) error
- func GoBuild(opt *BuildOption) (string, error)
- func GoGet(getPath string) (string, error)
- func PrintFs(fileSystem http.FileSystem) error
- func RemoveContents(dir string) error
- func WriteFs(fileSystem http.FileSystem, dst string) error
- type BuildOption
- type Option
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateEmbeddedPackage ¶
func GenerateSelfPackage ¶
func GoBuild ¶
func GoBuild(opt *BuildOption) (string, error)
func PrintFs ¶
func PrintFs(fileSystem http.FileSystem) error
func RemoveContents ¶
Types ¶
type BuildOption ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddApiHandler ¶
func (*Server) AddFileHandlerFromFs ¶
func (s *Server) AddFileHandlerFromFs(fs http.FileSystem) error
func (*Server) AddFileHandlerFromPath ¶
Click to show internal directories.
Click to hide internal directories.