diff --git a/backend/backend/backend.go b/backend/backend/backend.go index c208b4f..6015f85 100644 --- a/backend/backend/backend.go +++ b/backend/backend/backend.go @@ -5,6 +5,7 @@ import ( "git.quimbo.fr/odwrtw/canape/backend/users" "github.com/jmoiron/sqlx" + polochon "github.com/odwrtw/polochon/lib" ) // Backend represents the data backend @@ -17,6 +18,11 @@ func (b *Backend) Name() string { return "canape-backend" } +// Status implements the Module interface +func (b *Backend) Status() (polochon.ModuleStatus, error) { + return polochon.StatusOK, nil +} + // GetUser gets the username from the UserBackend // Implements the UserBackend interface func (b *Backend) GetUser(username string) (auth.User, error) {