package
Version:
v0.0.0-...-e0ed648
Opens a new window with list of versions in this module.
Published: Mar 7, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Reloader interface {
Reload()
}
Reloader interface contains a pointer to the agent instance the we can reload the agent on config push
type Server struct {
StateInput <-chan []byte
Reloader Reloader
}
Server handling for http, should be created by New
Reload webserver configuration
Run the server routine (should NOT be run in a go routine)
You have to call Reload at least once to really start the webserver
Source Files
¶
Click to show internal directories.
Click to hide internal directories.