Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeSplashFiles ¶
MakeSplashFiles make splash screen that use as landing page or first screen user see when open GUI app.
Types ¶
type Assets ¶
type Assets struct { GUI protocol.FileDirectory MainHTMLDir protocol.FileDirectory // files name is just language in iso format e.g. "en", "fa", // OldBrowsers protocol.FileDirectory // files name is just language in iso format e.g. "en", "fa", ContentEncodings []string }
func (*Assets) ReloadByCLI ¶
func (a *Assets) ReloadByCLI()
ReloadByCLI block function and must call by seprate goroutine, otherwise it can block other app logic!
type MakeNewPageReq ¶
type MakeNewPageRes ¶
type MakeNewPageRes struct {
JS, HTML, CSS, JSON []byte
}
func MakeNewPage ¶
func MakeNewPage(req *MakeNewPageReq) (res *MakeNewPageRes, err error)
MakeNewPage generate 4 files for a ui page.
Click to show internal directories.
Click to hide internal directories.