parsers

package
v0.0.0-...-9336d3e Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppURL

func GetAppURL(gc *gin.Context) string

GetAppURL to get /app url if not configured by user

func GetDomainName

func GetDomainName(uri string) string

GetDomainName function to get domain name

func GetHost

func GetHost(c *gin.Context) string

GetHost returns hostname from request context if EnvKeyAuthorizerURL is set it is given highest priority. if X-Authorizer-URL header is set it is given second highest priority if above 2 are not set the requesting host name is used

func GetHostParts

func GetHostParts(uri string) (string, string)

GetHostName function returns hostname and port

Types

This section is empty.

Jump to

Keyboard shortcuts

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