parse

package
v0.0.0-...-682ebcb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIP

func ParseIP(s string) (netip.Addr, error)

func ParseMappings

func ParseMappings(mappings string) (map[string]string, error)

Parse a string in the format:

"foo:bar,baz:buz,foz:rab"

Into a map:

{"foo": "bar", "baz": "buz", "foz": "rab"}

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL