Add note to Init.

This commit is contained in:
Daniel Theophanes
2013-03-02 22:45:38 -08:00
parent 57aa116070
commit 8225bb2b82
+1
View File
@@ -20,6 +20,7 @@ type Config struct {
// Init is optional and may be nil.
// If Init returns an error, that error is logged to the logger
// and the service start is aborted.
// Init should not block.
Init func(c *Config) error
s service.Service