Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceProgram ¶
type ServiceProgram struct { ServiceName string DisplayName string Description string Port int StartServiceHandler func(port int) StopServiceHandler func() }
define service program
func (*ServiceProgram) Launch ¶
func (p *ServiceProgram) Launch()
Launch will initialize and start the service for operations
Launch is called from within main() to start the service
Click to show internal directories.
Click to hide internal directories.