wailsruntime

package
v0.0.0-...-eb5064c Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
}

func NewLog

func NewLog() *Logger

func (*Logger) LogDebug

func (w *Logger) LogDebug(ctx context.Context, message string)

func (*Logger) LogDebugf

func (w *Logger) LogDebugf(ctx context.Context, format string, args ...any)

func (*Logger) LogError

func (w *Logger) LogError(ctx context.Context, message string)

func (*Logger) LogErrorf

func (w *Logger) LogErrorf(ctx context.Context, format string, args ...any)

func (*Logger) LogFatal

func (w *Logger) LogFatal(ctx context.Context, message string)

func (*Logger) LogFatalf

func (w *Logger) LogFatalf(ctx context.Context, format string, args ...any)

func (*Logger) LogInfo

func (w *Logger) LogInfo(ctx context.Context, message string)

func (*Logger) LogInfof

func (w *Logger) LogInfof(ctx context.Context, format string, args ...any)

func (*Logger) LogPrint

func (w *Logger) LogPrint(ctx context.Context, message string)

func (*Logger) LogPrintf

func (w *Logger) LogPrintf(ctx context.Context, format string, args ...any)

func (*Logger) LogTrace

func (w *Logger) LogTrace(ctx context.Context, message string)

func (*Logger) LogTracef

func (w *Logger) LogTracef(ctx context.Context, format string, args ...any)

func (*Logger) LogWarning

func (w *Logger) LogWarning(ctx context.Context, message string)

func (*Logger) LogWarningf

func (w *Logger) LogWarningf(ctx context.Context, format string, args ...any)

type WailsRuntime

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

func NewWailsRuntime

func NewWailsRuntime(
	appCtx interfaces.AppContext,
) *WailsRuntime

func (*WailsRuntime) EventsEmit

func (w *WailsRuntime) EventsEmit(
	eventName string,
	optionalData ...any,
)

func (*WailsRuntime) OpenFileDialog

func (w *WailsRuntime) OpenFileDialog(
	dialogOptions runtime.OpenDialogOptions,
) (string, error)

func (*WailsRuntime) SaveFileDialog

func (w *WailsRuntime) SaveFileDialog(
	dialogOptions runtime.SaveDialogOptions,
) (string, error)

Jump to

Keyboard shortcuts

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