router

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router added in v1.0.0

type Router struct {
	*router.Router
	// contains filtered or unexported fields
}

func New

func New(api api.Handler) *Router

func (*Router) LiveHandler added in v1.0.0

func (r *Router) LiveHandler(ctx *fasthttp.RequestCtx)

LiveHandler consider liveness check successful if request reached the handler

func (*Router) ReadyHandler added in v1.0.0

func (r *Router) ReadyHandler(ctx *fasthttp.RequestCtx)

ReadyHandler check all dependency for service readiness

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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