package api import ( "errors" ) type ReactorCoordinator interface { Start() error Ping() error } type reactorCoordinator struct { id string } func StartReactor(id string) ReactorCoordinator { return &reactorCoordinator{id:id} }