iputil

package
v0.0.0-...-da58d23 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package iputil is a collection of utilities for manipulating IP addresses that has been extracted from UFS because it is not UFS-specific.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPv4IntToStr

func IPv4IntToStr(ipAddress uint32) string

IPv4IntToStr returns a string ipv4 address

Ipv6 addresses, or non-parseable strings will return an error.

func IPv4StrToInt

func IPv4StrToInt(ipAddress string) (uint32, error)

IPv4StrToInt returns an uint32 address from the given ipv4 address string.

IPv6 addresses or non-parseable strings will return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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