uri

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendParameters

func AppendParameters(uri string, params map[string]string) string

func GetComponent

func GetComponent(uri string) string

GetComponent returns the Camel component used in the URI.

func GetPathSegment

func GetPathSegment(uri string, pos int) string

GetPathSegment returns the path segment of the URI corresponding to the given position (0 based), if present.

func GetQueryParameter

func GetQueryParameter(uri string, param string) string

GetQueryParameter returns the given parameter from the uri, if present.

func HasCamelURIFormat

func HasCamelURIFormat(uri string) bool

HasCamelURIFormat tells if a given string may belong to a Camel URI, without checking any catalog.

Types

This section is empty.

Jump to

Keyboard shortcuts

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