package
1.79.0-mod
Repository: https://github.com/sagernet/tailscale.git
Documentation: pkg.go.dev

# Functions

AppendStrings appends the string representation of each element in v to dst.
ByteSliceOf returns a ByteSlice for the provided slice.
ContainsPointers reports whether T contains any pointers, either explicitly or implicitly.
MapFnOf returns a MapFn for m.
MapOf returns a view over m.
MapSliceOf returns a MapSlice for the provided map.
SliceContains reports whether v contains element e.
SliceEqual is like the standard library's slices.Equal, but for two views.
SliceEqualAnyOrder reports whether a and b contain the same elements, regardless of order.
SliceOf returns a Slice for the provided slice for immutable values.
SliceOfViews returns a ViewSlice for x.

# Structs

ByteSlice is a read-only accessor for types that are backed by a []byte.
Map provides a read-only view of a map.
MapFn is like Map but with a func to convert values from T to V.
MapSlice is a view over a map whose values are slices.
Slice is a read-only accessor for a slice.
SliceMapKey represents a comparable unique key for a slice, based on its address and length.
SliceView wraps []T to provide accessors which return an immutable view V of T.

# Interfaces

Cloner is any type that has a Clone function returning a deep-clone of the receiver.
StructView represents the corresponding StructView of a Viewable.
ViewCloner is any type that has had View and Clone funcs generated using tailscale.com/cmd/viewer.

# Type aliases

MapRangeFn is the func called from a Map.Range call.