30 lines
473 B
Go
30 lines
473 B
Go
|
package core
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"dynatron.me/x/blasphem/pkg/auth"
|
||
|
"dynatron.me/x/blasphem/pkg/bus"
|
||
|
"dynatron.me/x/blasphem/pkg/components"
|
||
|
"dynatron.me/x/blasphem/pkg/config"
|
||
|
"dynatron.me/x/blasphem/pkg/storage"
|
||
|
)
|
||
|
|
||
|
type Core interface {
|
||
|
auth.Authenticator
|
||
|
bus.Bus
|
||
|
storage.Store
|
||
|
config.Configured
|
||
|
Shutdowner
|
||
|
Versioner
|
||
|
components.Componenter
|
||
|
}
|
||
|
|
||
|
type Shutdowner interface {
|
||
|
ShutdownBlas(context.Context) error
|
||
|
}
|
||
|
|
||
|
type Versioner interface {
|
||
|
Version() string
|
||
|
}
|