Files
lambda/types.go

27 lines
362 B
Go
Raw Normal View History

2026-01-29 21:35:36 +00:00
package main
import (
2026-01-30 10:40:38 +00:00
"sync"
2026-01-29 21:35:36 +00:00
"github.com/diamondburned/gotk4/pkg/gtk/v4"
)
type chatTab struct {
isMuc bool
msgs *gtk.ListBox
}
type lambdaConfig struct {
Server string
Username string
Password string
Insecure bool
Nick string
}
2026-01-30 10:40:38 +00:00
type mucUnit struct {
// key: OccupantID
// value: last user presence
Members sync.Map
}