From fd2a353770a5f3cea773a5c4465bf0fc2a2818d3 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 24 May 2020 04:38:34 +0000 Subject: Refactor things --- model/client.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'model') 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 } -- cgit v1.2.3