wails

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchWailsApp

func LaunchWailsApp(app *WailsApp, assets embed.FS, appIcon []byte)

Types

type WailsApp

type WailsApp struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(svc service.Service) *WailsApp

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL