Documentation ¶
Index ¶
Constants ¶
View Source
const ( FindProcessAlways = "always" FindProcessStrict = "strict" FindProcessOff = "off" )
View Source
const ( TCP = "tcp" UDP = "udp" )
View Source
const (
SOCK_DIAG_BY_FAMILY = 20
)
Variables ¶
Functions ¶
Types ¶
type FindProcessMode ¶
type FindProcessMode string
func (FindProcessMode) Always ¶
func (m FindProcessMode) Always() bool
func (FindProcessMode) Off ¶
func (m FindProcessMode) Off() bool
func (*FindProcessMode) Set ¶
func (m *FindProcessMode) Set(value string) error
func (*FindProcessMode) UnmarshalJSON ¶
func (m *FindProcessMode) UnmarshalJSON(data []byte) error
func (*FindProcessMode) UnmarshalYAML ¶
func (m *FindProcessMode) UnmarshalYAML(unmarshal func(any) error) error
Click to show internal directories.
Click to hide internal directories.