23 lines
296 B
Go
23 lines
296 B
Go
package database
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.dragse.it/anthrove/otter-space-sdk/pkg/models"
|
|
)
|
|
|
|
type OtterSpace interface {
|
|
// Connect establishes a connection to the database.
|
|
Connect(ctx context.Context, config models.DatabaseConfig) error
|
|
|
|
User
|
|
|
|
Source
|
|
|
|
TagAlias
|
|
|
|
TagGroup
|
|
|
|
UserSource
|
|
}
|