util

package
v0.0.0-...-4a75788 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// K8Protocol just represents the protocol used in order to specify that
	// gurl should forward requests to Kubernetes.
	K8Protocol = "k8"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type URI

type URI struct {
	Protocol string
	Context  string
	Host     string
	Port     string
	Service  string
	RPC      string
}

URI represents a deconstructed uri structure

func ParseURI

func ParseURI(uri string) (*URI, error)

ParseURI parses a string URI against the regexp and returns it in an expected format

Jump to

Keyboard shortcuts

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