status

package
v0.94.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package status 用于处理与状态码相关的功能

Index

Constants

View Source
const FileHeader = "// 此文件由工具产生,请勿手动修改!\n\n"

Variables

This section is empty.

Functions

func IsProblemStatus

func IsProblemStatus(status int) bool

Types

type Pair

type Pair struct {
	Name  string
	Value int
}

func Get

func Get() ([]Pair, error)

Get 从 net/http/status.go 获取所有的状态码

func (Pair) ID

func (p Pair) ID() string

Jump to

Keyboard shortcuts

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