healthcheck

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SetRouter = func(router fiber.Router) {
	router.Get("/healthcheck", healthcheck.Handler)
}

SetRouter 設定路由,當在不符合使用時,可以在自己的 project 覆蓋此變數

使用方法 (在 main.go 中): healthcheck.SetRouter(router)

注意必須放在 r.Use(NotFound) 之前

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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