Documentation ¶
Index ¶
- type Context
- func (ctx *Context) ID() sonyflake.ID
- func (c *Context) PrintDebug(v ...interface{})
- func (c *Context) PrintDebugf(format string, v ...interface{})
- func (c *Context) PrintError(v ...interface{})
- func (c *Context) PrintErrorf(format string, v ...interface{})
- func (c *Context) PrintFatal(v ...interface{})
- func (c *Context) PrintFatalf(format string, v ...interface{})
- func (c *Context) PrintInfo(v ...interface{})
- func (c *Context) PrintInfof(format string, v ...interface{})
- func (c *Context) PrintWarn(v ...interface{})
- func (c *Context) PrintWarnf(format string, v ...interface{})
- func (c *Context) ResponseData(v interface{})
- func (c *Context) ResponseError(err error)
- func (c *Context) ResponseStream(reader io.Reader, opts ...func(c *Context))
- func (c *Context) ResponseWebCode(code webserver.Code)
- func (c *Context) ResponseWebError(err *webserver.WebError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
func (*Context) PrintDebugf ¶
PrintDebugf .
func (*Context) PrintErrorf ¶
PrintErrorf .
func (*Context) PrintFatalf ¶
PrintFatalf .
func (*Context) PrintInfof ¶
PrintInfof .
func (*Context) PrintWarnf ¶
PrintWarnf .
func (*Context) ResponseStream ¶
ResponseStream .
func (*Context) ResponseWebCode ¶
ResponseWebCode .
func (*Context) ResponseWebError ¶
ResponseWebError .
Click to show internal directories.
Click to hide internal directories.