parsers

package
v0.0.0-...-1726717 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 3 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 the authorizer host URL from the request context. Priority: X-Authorizer-URL header, then scheme (X-Forwarded-Proto) + host (X-Forwarded-Host or Request.Host). Headers are validated to prevent host header injection attacks.

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