Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultErrorPacket = NewErrorPacket()
)
Functions ¶
Types ¶
type ErrorPackager ¶
type ErrorPacket ¶
type ErrorPacket struct{}
func NewErrorPacket ¶
func NewErrorPacket() *ErrorPacket
func (*ErrorPacket) Error400 ¶ added in v1.1.1
func (e *ErrorPacket) Error400(c *context.Context) []byte
func (*ErrorPacket) Error404 ¶ added in v1.1.1
func (e *ErrorPacket) Error404(c *context.Context) []byte
Click to show internal directories.
Click to hide internal directories.