otter-space-sdk/pkg/database/database.go
SoXX 373d31dd15
All checks were successful
Gitea Build Check / Build (push) Successful in 5m33s
Gitea Build Check / Build (pull_request) Successful in 5m11s
fix: change old git urls to anthrove urls
2024-07-19 22:01:04 +02:00

31 lines
716 B
Go

package database
import (
"context"
"git.anthrove.art/anthrove/otter-space-sdk/v2/pkg/models"
)
type OtterSpace interface {
// Connect establishes a connection to the database.
Connect(ctx context.Context, config models.DatabaseConfig) error
// Post contains all function that are needed to manage Posts
Post
// User contains all function that are needed to manage the AnthroveUser
User
// Source contains all function that are needed to manage the Source
Source
// Tag contains all functions that are used to manage Tag
Tag
// TagAlias contains all function that are needed to manage the TagAlias
TagAlias
// TagGroup contains all function that are needed to manage the TagGroup
TagGroup
}