errs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoResponse = errors.New("不需要返回 response")

ErrNoResponse 是一个 sentinel 错误。 也就是说,你可以通过返回这个 ErrNoResponse 来告诉 ginx 不需要继续写响应。 大多数情况下,这意味着你已经写回了响应。

View Source
var ErrSessionKeyNotFound = errors.New("session 中没找到对应的 key")
View Source
var ErrUnauthorized = errors.New("未授权")

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