//
pkg.gl
Category
github.com/jakewright/home-automation
libraries
go
bootstrap
package
0.0.0-20201207183138-34c5bf1cd2ff
Repository:
https://github.com/jakewright/home-automation.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
23
Dependents
10
Files
433 SLOC
#
Functions
Init
Init performs standard service startup tasks and returns a Service.
SetupTest
SetupTest should be called in a TestMain() function to setup the various global state that code relies on.
#
Variables
Revision
Revision is the service's revision and should be set at build time to the current git commit hash.
#
Structs
Opts
Opts defines basic initialisation options for a service.
Service
Service represents a collection of processes.
#
Interfaces
Process
Process is a long-running task that provides service functionality.