mirror of
https://github.com/netbirdio/service.git
synced 2026-05-22 17:08:14 -07:00
Add note to Init.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user