server

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckingKey

func CheckingKey(key string) gin.HandlerFunc

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func (*App) Endpoint

func (app *App) Endpoint() func(c *gin.Context)

func (*App) EndpointHandler

func (app *App) EndpointHandler(ctx *gin.Context, hookId string, path string)

func (*App) FetchPluginInstallation

func (app *App) FetchPluginInstallation() gin.HandlerFunc

func (*App) InitClusterID

func (app *App) InitClusterID() gin.HandlerFunc

func (*App) RedirectPluginInvoke

func (app *App) RedirectPluginInvoke() gin.HandlerFunc

RedirectPluginInvoke redirects the request to the correct cluster node

func (*App) Run

func (app *App) Run(config *app.Config)

type EndpointHandler

type EndpointHandler func(ctx *gin.Context, hookId string, path string)

EndpointHandler is a function type that can be used to handle endpoint requests

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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