Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentConfig ¶
type ComponentConfig struct {
TrafficShaperEnabled bool
}
ComponentConfig holds inputs needed to build the block-node component.
type ComponentResult ¶
type ComponentResult struct {
Monitors []daemonkit.MonitorRunner
}
ComponentResult contains the monitors built by NewComponent.
func NewComponent ¶
func NewComponent(cfg ComponentConfig) (ComponentResult, error)
NewComponent constructs all enabled monitors for the block-node component.
Click to show internal directories.
Click to hide internal directories.