seperate dns retrieval into its own model
This commit is contained in:
parent
ef2dbcede5
commit
a6bcb9be38
5 changed files with 179 additions and 72 deletions
|
|
@ -8,6 +8,7 @@ const (
|
|||
PageLogin Page = iota
|
||||
PageMenu
|
||||
PageListDomains
|
||||
PageDNSRetrieve
|
||||
)
|
||||
|
||||
type SwitchPageMsg struct {
|
||||
|
|
@ -18,7 +19,10 @@ type SessionReadyMsg struct {
|
|||
Client *porkbun.Client
|
||||
}
|
||||
|
||||
type ListDomainsMsg struct {
|
||||
type ListDomainsMsg struct{}
|
||||
|
||||
type DNSRetrieveMsg struct {
|
||||
Domain string
|
||||
}
|
||||
|
||||
type ErrorMsg error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue