middlewares

package
v0.1.42 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Recovery

func Recovery() cronContext.HandleFunc

崩溃日志中间件

func SetParams

func SetParams(str ...string) cronContext.HandleFunc

SetParams 设置参数, 如果参数为空,使用默认传参

func WithTimeout

func WithTimeout(duration time.Duration) cronContext.HandleFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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