aboutsummaryrefslogtreecommitdiff
path: root/model/client.go
blob: 931ddaa4d8bc5d250c5aafd97b8ebfd008d2a083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package model

import (
	"io"

	"bloat/mastodon"
)

type ClientCtx struct {
	SessionID string
	CSRFToken string
}

type Client struct {
	*mastodon.Client
	Writer  io.Writer
	Ctx     ClientCtx
	Session Session
}