diff options
author | r <r@freesoftwareextremist.com> | 2020-05-24 04:38:34 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-05-24 04:38:34 +0000 |
commit | fd2a353770a5f3cea773a5c4465bf0fc2a2818d3 (patch) | |
tree | 91c13956af929b8cd0015b9169c7ce11b70b7023 /model | |
parent | 4b255673726a1b36fc0b99c3fd6cfcd4c949d372 (diff) | |
download | bloat-fd2a353770a5f3cea773a5c4465bf0fc2a2818d3.tar.gz bloat-fd2a353770a5f3cea773a5c4465bf0fc2a2818d3.zip |
Refactor things
Diffstat (limited to 'model')
-rw-r--r-- | model/client.go | 6 |
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 } |