Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signal ¶
type Signal struct {
// contains filtered or unexported fields
}
Signal represents the signals supported by the collector.
func MustNewSignal ¶
MustNewSignal creates a Signal. It panics if the Signal is invalid. A signal must consist of 1 to 62 lowercase ASCII alphabetic characters.
func NewSignal ¶
NewSignal creates a Signal. It returns an error if the Signal is invalid. A Signal must consist of 1 to 62 lowercase ASCII alphabetic characters.
func (Signal) MarshalText ¶
MarshalText marshals the Signal.
Click to show internal directories.
Click to hide internal directories.