mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 10:58:48 +00:00
Refactor things
This commit is contained in:
parent
4b25567372
commit
fd2a353770
8 changed files with 458 additions and 610 deletions
|
@ -6,8 +6,14 @@ import (
|
|||
"bloat/mastodon"
|
||||
)
|
||||
|
||||
type ClientCtx struct {
|
||||
SessionID string
|
||||
CSRFToken string
|
||||
}
|
||||
|
||||
type Client struct {
|
||||
*mastodon.Client
|
||||
Writer io.Writer
|
||||
Ctx ClientCtx
|
||||
Session Session
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue