localip

package module
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 87

README

localip

Go Report Card Go Reference

Provides a function for getting LocalIP and a random LocalPort.

[!NOTE]

This repository should be imported as code.cloudfoundry.org/localip.

Contributing

See the Contributing.md for more information on how to contribute.

Working Group Charter

This repository is maintained by App Runtime Platform under Diego area.

[!IMPORTANT]

Content in this file is managed by the CI task sync-readme and is generated by CI following a convention.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalIP

func LocalIP() (string, error)

func LocalPort

func LocalPort() (uint16, error)

Types

This section is empty.