blasphem/pkg/components/components.go

18 lines
242 B
Go
Raw Permalink Normal View History

2022-12-20 16:26:04 -05:00
package components
import ()
type Componenter interface {
Component(ComponentKey) Component
Components() ComponentStore
}
type (
ComponentStore map[ComponentKey]Component
ComponentKey string
Component interface {
Shutdown()
}
)