[feature] request blocking by http headers (#2409)

This commit is contained in:
kim
2023-12-18 14:18:25 +00:00
committed by GitHub
parent 07bd848028
commit 8ebb7775a3
36 changed files with 2561 additions and 81 deletions

View File

@@ -25,10 +25,6 @@ type Basic interface {
// For implementations that don't use tables, this can just return nil.
CreateTable(ctx context.Context, i interface{}) error
// CreateAllTables creates *all* tables necessary for the running of GoToSocial.
// Because it uses the 'if not exists' parameter it is safe to run against a GtS that's already been initialized.
CreateAllTables(ctx context.Context) error
// DropTable drops the table for the given interface.
// For implementations that don't use tables, this can just return nil.
DropTable(ctx context.Context, i interface{}) error