Documentation ¶
Index ¶
- Constants
- func Error(err error)
- func ErrorF(format string, v ...interface{})
- func RegisterHandler(taskName string, handler TaskHandler)
- func Status(taskName string, running bool, pos int, total int, messages ...string)
- func StatusMessage(taskName string, messages ...string)
- type Task
- type TaskHandler
Constants ¶
View Source
const ( IndexerTask = "Indexer" ManagerTask = "Manager" )
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
func RegisterHandler(taskName string, handler TaskHandler)
func StatusMessage ¶
Types ¶
type TaskHandler ¶
type TaskHandler func(status Task)
Click to show internal directories.
Click to hide internal directories.