Documentation
¶
Index ¶
- func DebugAttachmentsEnabled() bool
- func GetHostIPv4(hostname string) (string, error)
- func GetLocalIPv4() (string, error)
- func PrefixHostIP() (string, error)
- type Map
- func (m *Map[K, V]) Clone() Map[K, V]
- func (m *Map[K, V]) Delete(key K)
- func (m *Map[K, V]) Exists(key K) bool
- func (m *Map[K, V]) Get(key K) (V, bool)
- func (m *Map[K, V]) Keys() []K
- func (m *Map[K, V]) Len() int
- func (m *Map[K, V]) Map() map[K]V
- func (m *Map[K, V]) Range(f func(key K, value V) bool)
- func (m *Map[K, V]) Set(key K, value V)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugAttachmentsEnabled ¶ added in v0.2.30
func DebugAttachmentsEnabled() bool
DebugAttachmentsEnabled reports whether attachment-related debug logging is enabled. It is intentionally coarse-grained and should never be used to print secrets or raw attachment bytes.
func GetHostIPv4 ¶ added in v0.2.1
func GetLocalIPv4 ¶ added in v0.2.1
func PrefixHostIP ¶ added in v0.2.1
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
func NewMap ¶
func NewMap[K comparable, V any]() Map[K, V]
Click to show internal directories.
Click to hide internal directories.