azendpoint

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Endpoint

func Endpoint(u url.URL) *url.URL

Types

type EndpointAllowlist

type EndpointAllowlist struct {
	// contains filtered or unexported fields
}

func Allowlist

func Allowlist(allowedEndpoints []string) (*EndpointAllowlist, error)

func (*EndpointAllowlist) IsAllowed

func (v *EndpointAllowlist) IsAllowed(endpoint *url.URL) bool

Jump to

Keyboard shortcuts

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