Categorygithub.com/hookya/hapi
modulepackage
0.0.2
Repository: https://github.com/hookya/hapi.git
Documentation: pkg.go.dev

# README

hapi

http框架

简化了gin的一些方法

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Traverse traverses a reflect.Value convertNilPtr: convert anonymous nil struct pointer to non-nil or not.
TraverseType traverses a reflect.Type but pointer to anonymous unexported struct fields are always traversed by TraverseType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

ContextKey is the key that a Context returns itself for.
DebugMode indicates HApi mode is debug.
EnvHApiMode indicates environment name for HApi mode.
ReleaseMode indicates HApi mode is release.
No description provided by the author
No description provided by the author
TestMode indicates HApi mode is test.
No description provided by the author

# Variables

DebugPrintRouteFunc indicates debug log output format.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
RouterGroup is used internally to configure router, a RouterGroup is associated with a prefix and an array of handlers (middleware).

# Interfaces

No description provided by the author
ResponseWriter ...

# Type aliases

HandlerFunc defines the handler used by gin middleware as return value.
HandlersChain defines a HandlerFunc slice.