Versions in this module Expand all Collapse all v1 v1.0.0 Jun 3, 2024 Changes in this version + const BandwidthLimitModeClient + const BandwidthLimitModeServer + const KB + const MB + type BandwidthQuantity struct + func NewBandwidthQuantity(s string) (BandwidthQuantity, error) + func (q *BandwidthQuantity) Bytes() int64 + func (q *BandwidthQuantity) Equal(u *BandwidthQuantity) bool + func (q *BandwidthQuantity) MarshalJSON() ([]byte, error) + func (q *BandwidthQuantity) String() string + func (q *BandwidthQuantity) UnmarshalJSON(b []byte) error + func (q *BandwidthQuantity) UnmarshalString(s string) error + type PortsRange struct + End int + Single int + Start int + func NewPortsRangeSliceFromString(str string) ([]PortsRange, error) + type PortsRangeSlice []PortsRange + func (p PortsRangeSlice) String() string