caddy

package
v0.0.0-...-2af0010 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddServices

func AddServices(c *gin.Context)

addTunnel adds new tunnel config

func AddServicesDirect

func AddServicesDirect(domain string, agentName string, port int) error

AddServicesDirect adds a service using direct arguments.

func ApplyRoutes

func ApplyRoutes(r *gin.RouterGroup)

ApplyRoutes applies router to gin Router

func MiddlewareForCaddy

func MiddlewareForCaddy() gin.HandlerFunc

NodeConfigMiddleware checks if NODE_CONFIG is set to "standard" or "hpc".

Types

type ServicePayload

type ServicePayload struct {
	Name      string `json:"name" binding:"required"`
	IPAddress string `json:"ipAddress" binding:"required"`
	Port      string `json:"port" binding:"required"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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