This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
otter-space-sdk/pkg/database/database.go

23 lines
296 B
Go
Raw Normal View History

package database
2024-02-16 14:16:50 +00:00
import (
"context"
2024-02-16 20:51:09 +00:00
"git.dragse.it/anthrove/otter-space-sdk/pkg/models"
2024-02-16 14:16:50 +00:00
)
type OtterSpace interface {
// Connect establishes a connection to the database.
Connect(ctx context.Context, config models.DatabaseConfig) error
2024-02-16 14:16:50 +00:00
User
2024-02-16 14:16:50 +00:00
Source
2024-02-16 14:16:50 +00:00
TagAlias
2024-02-16 14:16:50 +00:00
TagGroup
2024-02-16 14:16:50 +00:00
UserSource
2024-02-16 14:16:50 +00:00
}