Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2020 v0.0.0 Sep 4, 2019 Changes in this version + const APP + const APP_BYTE_SIZE + const MAJOR + const MINOR + const REV + const SIGNATURE_BYTE_SIZE + func Version() string + type Builder interface + AddZipPath func(zipPath string) error + Build func() error + SetExePath func(exePath string) error + SetOutPath func(outPath string) + func NewZgokBuilder() Builder + type File interface + Bytes func() []byte + Close func() error + FileInfo func() os.FileInfo + Path func() string + Read func(p []byte) (int, error) + Readdir func(count int) ([]os.FileInfo, error) + Seek func(offset int64, whence int) (int64, error) + SetBytes func(content []byte) + SetFileInfo func(fileInfo os.FileInfo) + SetNewReader func() + SetPath func(path string) + Stat func() (os.FileInfo, error) + func NewZgokFile() File + type FileSystem interface + AddFile func(file File) + FileServer func(basePath string) http.Handler + GetFile func(path string) (File, error) + Open func(name string) (http.File, error) + Paths func() []string + ReadFile func(path string) ([]byte, error) + ReadFileString func(path string) (string, error) + SetSignature func(signature Signature) + Signature func() Signature + String func() string + SubFileSystem func(rootPath string) (FileSystem, error) + func NewFileSystem() FileSystem + func RestoreFileSystem(path string) (FileSystem, error) + type Signature interface + Dump func() ([]byte, error) + ExeSize func() int64 + SetExeSize func(exeSize int64) + SetZipSize func(zipSize int64) + String func() string + TotalSize func() int64 + ZipSize func() int64 + func NewSignature() Signature + func RestoreSignature(data []byte) (Signature, error) + type Unzipper struct + func NewUnzipper(zipBytes *[]byte) *Unzipper + func (u *Unzipper) Unzip() (FileSystem, error) + type Zipper struct + func NewZipper() *Zipper + func (z *Zipper) Add(path string) error + func (z *Zipper) Bytes() ([]byte, error) + func (z *Zipper) Close() error