bloat/model/client.go

20 lines
211 B
Go
Raw Normal View History

2019-12-21 13:13:21 +02:00
package model
2020-01-28 19:51:00 +02:00
import (
"io"
2020-02-01 13:31:44 +02:00
"bloat/mastodon"
2020-01-28 19:51:00 +02:00
)
2019-12-21 13:13:21 +02:00
2020-05-24 07:38:34 +03:00
type ClientCtx struct {
SessionID string
CSRFToken string
}
2019-12-21 13:13:21 +02:00
type Client struct {
*mastodon.Client
2020-01-28 19:51:00 +02:00
Writer io.Writer
2020-05-24 07:38:34 +03:00
Ctx ClientCtx
2019-12-21 13:13:21 +02:00
Session Session
}