Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseErr ¶
func ResponseErr(c *app.RequestContext, err error)
func ResponseErrWithRetry ¶
func ResponseErrWithRetry(c *app.RequestContext, err error)
func ResponseOk ¶
func ResponseOk(c *app.RequestContext, data any)
Types ¶
type BencodeRender ¶
type BencodeRender struct {
Data any
}
func (BencodeRender) WriteContentType ¶
func (r BencodeRender) WriteContentType(resp *protocol.Response)
type FastBencode ¶
Click to show internal directories.
Click to hide internal directories.