package roles import ( "context" "git.wzray.com/homelab/hivemind/internal/types" ) type Role interface { RegisterHandlers(types.Registrator) OnStartup(context.Context) error OnShutdown() error } type BaseRole struct{} func (r *BaseRole) RegisterHandlers(types.Registrator) {} func (r *BaseRole) OnStartup(context.Context) error { return nil } func (r *BaseRole) OnShutdown() error { return nil }