extipraw

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

package extipraw provides an implementation of extip.ExternalIPAddressGetter that gets the external IP address from an environmental variable value.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalIPAddressGetter

type ExternalIPAddressGetter net.IP

ExternalIPAddressGetter implements extip.ExternalIPAddressGetter by providing itself as the external IP address.

func (ExternalIPAddressGetter) GetExternalIPAddress

func (g ExternalIPAddressGetter) GetExternalIPAddress(ctx context.Context) (net.IP, error)

GetExternalIPAddress implements extip.ExternalIPAddressGetter.

Jump to

Keyboard shortcuts

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