shortcut

package
v7.6.76 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

package shortcut loads country specific shortcut subnet list from resources so the caller can check if an IP should be dialed directly or not. If there's no list for the country, a default list which includes private IP ranges are used.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Allow

func Allow(ctx context.Context, addr string) (shortcut.Method, net.IP)

Types

This section is empty.

Jump to

Keyboard shortcuts

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