major architecture refactor

This commit is contained in:
juancwu 2026-01-23 03:10:53 +00:00
commit f82d06dbf0
11 changed files with 636 additions and 272 deletions

View file

@ -0,0 +1,20 @@
package messages
import "git.juancwu.dev/juancwu/porkbacon/internal/porkbun"
type Page int
const (
PageLogin Page = iota
PageMenu
)
type SwitchPageMsg struct {
Page Page
}
type SessionReadyMsg struct {
Client *porkbun.Client
}
type ErrorMsg error