forwarding

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package forwarding provides the URL parsing routines for forwarding sub-URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidProtocol

func IsValidProtocol(protocol string) bool

IsValidProtocol returns whether or not the specified protocol is valid for use in forwarding (either as a from or to address).

func Parse

func Parse(url string) (string, string, error)

Parse parses a forwarding sub-URL (which is stored as the Path component of an endpoint URL) into protocol and address components.

Types

This section is empty.

Jump to

Keyboard shortcuts

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