netutils

package
v0.0.0-...-c75ef29 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: BSD-2-Clause Imports: 3 Imported by: 7

Documentation

Overview

Package netutils implements some useful network utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPFromNetAddr

func IPFromNetAddr(addr net.Addr) string

func IPPortFromNetAddr

func IPPortFromNetAddr(addr net.Addr) (string, uint16)

func IPv4ToUInt32

func IPv4ToUInt32(ip string) uint32

func PortFromNetAddr

func PortFromNetAddr(addr net.Addr) uint16

func UInt32ToIPv4

func UInt32ToIPv4(ip uint32) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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