Documentation
¶
Index ¶
- type BetterWR
- func (ctx *BetterWR) Header() http.Header
- func (ctx *BetterWR) ReadJson(s any) error
- func (ctx *BetterWR) ReadText() (string, error)
- func (ctx *BetterWR) WriteBytes(b []byte) error
- func (ctx *BetterWR) WriteJson(s any) error
- func (ctx *BetterWR) WriteStatus(code int)
- func (ctx *BetterWR) WriteText(s string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BetterWR ¶
type BetterWR struct {
ResponseWriter http.ResponseWriter
Request *http.Request
}
func (*BetterWR) WriteBytes ¶
func (*BetterWR) WriteStatus ¶
Click to show internal directories.
Click to hide internal directories.