peepeepoopoo

This commit is contained in:
tobi 2025-01-05 13:28:10 +01:00
commit bb0395de08
81 changed files with 2932 additions and 601 deletions

View file

@ -19,6 +19,7 @@ package state
import (
"codeberg.org/gruf/go-mutexes"
"github.com/superseriousbusiness/gotosocial/internal/actions"
"github.com/superseriousbusiness/gotosocial/internal/cache"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/storage"
@ -61,9 +62,14 @@ type State struct {
// Storage provides access to the storage driver.
Storage *storage.Driver
// Workers provides access to this state's collection of worker pools.
// Workers provides access to this
// state's collection of worker pools.
Workers workers.Workers
// Struct to manage running admin
// actions (and locks thereupon).
Actions *actions.Actions
// prevent pass-by-value.
_ nocopy
}