Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpContext ¶ added in v0.1.0
type HttpContext struct {
// contains filtered or unexported fields
}
func NewHttpContext ¶ added in v0.1.0
func NewHttpContext() *HttpContext
func (*HttpContext) Clear ¶ added in v0.1.0
func (hc *HttpContext) Clear()
func (*HttpContext) IsSkipResponse ¶ added in v0.1.0
func (hc *HttpContext) IsSkipResponse() bool
func (*HttpContext) LoadAndDelete ¶ added in v0.1.0
func (hc *HttpContext) LoadAndDelete(key string) (any, bool)
func (*HttpContext) SkipResponse ¶ added in v0.1.0
func (hc *HttpContext) SkipResponse()
func (*HttpContext) Store ¶ added in v0.1.0
func (hc *HttpContext) Store(key string, v any)
type HttpIntercept ¶
type HttpIntercept interface { // HttpIntercept // if return true, indicating interception and not executing backwards Http(rw http.ResponseWriter, req *http.Request, ctx *HttpContext) bool Order() def.HandlerOrder }
type MethodIntercept ¶
Click to show internal directories.
Click to hide internal directories.