Versions in this module Expand all Collapse all v0 v0.1.1 Oct 16, 2024 v0.1.0 Oct 9, 2024 Changes in this version + func WithHostInfo(ctx context.Context, host *HostInfo) context.Context + type HostInfo struct + Arch string + DockerPlatform string + HostName string + HumanFriendlyHostName string + IP netip.Addr + NumCPUs int + OS string + func HostInfoFromContext(ctx context.Context) (*HostInfo, bool) + func MustHostInfo(ctx context.Context) *HostInfo + func NewHostInfo(ctx context.Context) *HostInfo