Documentation
¶
Index ¶
- Variables
- func CheckedUnmarshal(doc *yaml.Node, dst interface{}) error
- func Max[T constraints.Ordered](x, y T) T
- func Min[T constraints.Ordered](x, y T) T
- func Must[V any](value V, err error) V
- func ResolveInterface(spec string) (*net.Interface, error)
- func SplitAndResolveAddrSpec(spec string) (string, *net.Interface, error)
- type BoundDialer
- type BoundDialerContextKey
- type BoundDialerContextValue
- type BoundDialerDefaultSink
- type IPAddr
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CheckedUnmarshal ¶
func Max ¶
func Max[T constraints.Ordered](x, y T) T
func Min ¶
func Min[T constraints.Ordered](x, y T) T
Types ¶
type BoundDialer ¶
type BoundDialer struct {
// contains filtered or unexported fields
}
func NewBoundDialer ¶
func NewBoundDialer(defaultDialer BoundDialerDefaultSink, defaultHints string) *BoundDialer
func (*BoundDialer) DialContext ¶
type BoundDialerContextKey ¶
type BoundDialerContextKey struct{}
type BoundDialerContextValue ¶
type BoundDialerDefaultSink ¶
type IPAddr ¶
func (*IPAddr) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.