mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-09 16:38:08 -06:00
start adding mastodon api types
This commit is contained in:
parent
a7b01a44b6
commit
c558681f02
16 changed files with 388 additions and 114 deletions
|
|
@ -35,20 +35,20 @@ type Gotosocial interface {
|
|||
|
||||
func New(db db.DB, cache cache.Cache, clientAPI client.API, federationAPI pub.FederatingActor, config *config.Config) (Gotosocial, error) {
|
||||
return &gotosocial{
|
||||
db: db,
|
||||
cache: cache,
|
||||
clientAPI: clientAPI,
|
||||
federationAPI: federationAPI,
|
||||
config: config,
|
||||
db: db,
|
||||
cache: cache,
|
||||
clientAPI: clientAPI,
|
||||
federationAPI: federationAPI,
|
||||
config: config,
|
||||
}, nil
|
||||
}
|
||||
|
||||
type gotosocial struct {
|
||||
db db.DB
|
||||
cache cache.Cache
|
||||
clientAPI client.API
|
||||
federationAPI pub.FederatingActor
|
||||
config *config.Config
|
||||
db db.DB
|
||||
cache cache.Cache
|
||||
clientAPI client.API
|
||||
federationAPI pub.FederatingActor
|
||||
config *config.Config
|
||||
}
|
||||
|
||||
func (gts *gotosocial) Start(ctx context.Context) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue