aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-05-24 04:38:34 +0000
committerr <r@freesoftwareextremist.com>2020-05-24 04:38:34 +0000
commitfd2a353770a5f3cea773a5c4465bf0fc2a2818d3 (patch)
tree91c13956af929b8cd0015b9169c7ce11b70b7023 /model
parent4b255673726a1b36fc0b99c3fd6cfcd4c949d372 (diff)
downloadbloat-fd2a353770a5f3cea773a5c4465bf0fc2a2818d3.tar.gz
bloat-fd2a353770a5f3cea773a5c4465bf0fc2a2818d3.zip
Refactor things
Diffstat (limited to 'model')
-rw-r--r--model/client.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/model/client.go b/model/client.go
index f0cd59d..931ddaa 100644
--- a/model/client.go
+++ b/model/client.go
@@ -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
}