mirror of https://github.com/status-im/consul.git
14 lines
355 B
Go
14 lines
355 B
Go
package demo
|
|
|
|
import "github.com/hashicorp/consul/internal/controller"
|
|
|
|
// RegisterControllers registers controllers for the demo types. Should only be
|
|
// called in dev mode.
|
|
func RegisterControllers(mgr *controller.Manager) {
|
|
mgr.Register(artistController())
|
|
}
|
|
|
|
func artistController() controller.Controller {
|
|
return controller.ForType(TypeV2Artist)
|
|
}
|