Documentation ¶
Overview ¶
Package pids provides a typed process identifier.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pid ¶
type Pid uint32
Pid is a unique named type for process identifiers
- Pid implements fmt.Stringer
- Pid is constraints.Ordered
- Pid has Pid.IsNonZero Pid.Int Pid.Uint32 methods
func ConvertToPid ¶ added in v0.4.139
func ConvertToPid[T constraints.Integer](pid T) (typedPid Pid, err error)
ConvertToPid returns a typed value process identifier from any Integer type
func NewPid1 ¶
func NewPid1[T constraints.Integer](pid T) (typedPid Pid)
NewPid1 returns a typed value process identifier panicking on error
Click to show internal directories.
Click to hide internal directories.