Documentation ¶
Index ¶
- func LaunchWailsApp(app *WailsApp, assets embed.FS, appIcon []byte)
- type WailsApp
- type WailsLogger
- func (wailsLogger WailsLogger) Debug(message string)
- func (wailsLogger WailsLogger) Error(message string)
- func (wailsLogger WailsLogger) Fatal(message string)
- func (wailsLogger WailsLogger) Info(message string)
- func (wailsLogger WailsLogger) Print(message string)
- func (wailsLogger WailsLogger) Trace(message string)
- func (wailsLogger WailsLogger) Warning(message string)
- type WailsRequestRouterResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WailsApp ¶
type WailsApp struct {
// contains filtered or unexported fields
}
func (*WailsApp) WailsRequestRouter ¶
func (app *WailsApp) WailsRequestRouter(route string, method string, body string) WailsRequestRouterResponse
TODO: make this match echo
type WailsLogger ¶
type WailsLogger struct { }
func NewWailsLogger ¶
func NewWailsLogger() WailsLogger
func (WailsLogger) Debug ¶
func (wailsLogger WailsLogger) Debug(message string)
func (WailsLogger) Error ¶
func (wailsLogger WailsLogger) Error(message string)
func (WailsLogger) Fatal ¶
func (wailsLogger WailsLogger) Fatal(message string)
func (WailsLogger) Info ¶
func (wailsLogger WailsLogger) Info(message string)
func (WailsLogger) Print ¶
func (wailsLogger WailsLogger) Print(message string)
func (WailsLogger) Trace ¶
func (wailsLogger WailsLogger) Trace(message string)
func (WailsLogger) Warning ¶
func (wailsLogger WailsLogger) Warning(message string)
type WailsRequestRouterResponse ¶
type WailsRequestRouterResponse struct { Body interface{} `json:"body"` Error string `json:"error"` }
Click to show internal directories.
Click to hide internal directories.