controllers

package
v0.0.0-...-5ebc70a Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoomController

type RoomController struct {
	Closed observer.Property[bool]
	// contains filtered or unexported fields
}

func NewRoomController

func NewRoomController() *RoomController

func (*RoomController) Container

func (rc *RoomController) Container(params map[string]string) fyne.CanvasObject

func (*RoomController) InitConns

func (rc *RoomController) InitConns(host, username string) error

type Settings

type Settings struct {
	Host     string
	Username string
}

type SettingsController

type SettingsController struct {
	Submittion observer.Property[Settings]
	Error      observer.Property[string]
}

func NewSettingsController

func NewSettingsController() *SettingsController

func (*SettingsController) Container

func (sc *SettingsController) Container(ctx context.Context) fyne.CanvasObject

func (*SettingsController) ValidateSettings

func (sc *SettingsController) ValidateSettings(sets Settings) error

Jump to

Keyboard shortcuts

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