router

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(r *gin.Engine)

Mount mounts all api routers.

func MountApisixHealthz added in v1.4.0

func MountApisixHealthz(r *gin.Engine, state *HealthState)

MountApisixHealthz mounts apisix healthz route.

func MountWebhooks added in v1.3.0

func MountWebhooks(r *gin.Engine, co *apisix.ClusterOptions)

MountWebhooks mounts webhook related routes.

Types

type HealthState added in v1.4.0

type HealthState struct {
	sync.RWMutex

	Err error
}

HealthState stores healthcheck err of APISIX

Jump to

Keyboard shortcuts

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