middleware

package
v0.0.54-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSMiddleware

func CORSMiddleware(c *gin.Context)

func PortForwardingMiddleware

func PortForwardingMiddleware(ctx *gin.Context)

check if request hostname is a subdomain to be valid a subdomain must start with codebox-- and must match the following format codebox--<workspace_id>--<container_name>--<port_number>

Types

This section is empty.

Jump to

Keyboard shortcuts

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