29 lines
479 B
Go
29 lines
479 B
Go
package blas
|
|
|
|
import (
|
|
"context"
|
|
"dynatron.me/x/blasphem/pkg/auth"
|
|
"dynatron.me/x/blasphem/pkg/blas/core"
|
|
"dynatron.me/x/blasphem/pkg/bus"
|
|
"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
|
|
}
|
|
|
|
var _ Core = (*core.Blas)(nil)
|
|
|
|
type Shutdowner interface {
|
|
ShutdownBlas(context.Context) error
|
|
}
|
|
|
|
type Versioner interface {
|
|
Version() string
|
|
}
|