tools

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseUrl

func GetBaseUrl(c *gin.Context) string

Get the base URL for the current request. For example:

- http://localhost:8080/@renniesaurus/live becomes http://localhost:8080

- https://yt.4lch4.com/@renniesaurus/live becomes https://yt.4lch4.com

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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