hfwContext

package
v0.0.0-...-e964040 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	*gin.Context
	// contains filtered or unexported fields
}

func Warp

func Warp(ctx *gin.Context) *Context

Warp .

func (*Context) ID

func (ctx *Context) ID() sonyflake.ID

ID .

func (*Context) PrintDebug

func (c *Context) PrintDebug(v ...interface{})

PrintDebug .

func (*Context) PrintDebugf

func (c *Context) PrintDebugf(format string, v ...interface{})

PrintDebugf .

func (*Context) PrintError

func (c *Context) PrintError(v ...interface{})

PrintError .

func (*Context) PrintErrorf

func (c *Context) PrintErrorf(format string, v ...interface{})

PrintErrorf .

func (*Context) PrintFatal

func (c *Context) PrintFatal(v ...interface{})

PrintFatal .

func (*Context) PrintFatalf

func (c *Context) PrintFatalf(format string, v ...interface{})

PrintFatalf .

func (*Context) PrintInfo

func (c *Context) PrintInfo(v ...interface{})

PrintInfo .

func (*Context) PrintInfof

func (c *Context) PrintInfof(format string, v ...interface{})

PrintInfof .

func (*Context) PrintWarn

func (c *Context) PrintWarn(v ...interface{})

PrintWarn .

func (*Context) PrintWarnf

func (c *Context) PrintWarnf(format string, v ...interface{})

PrintWarnf .

func (*Context) ResponseData

func (c *Context) ResponseData(v interface{})

ResponseData .

func (*Context) ResponseError

func (c *Context) ResponseError(err error)

ResponseError .

func (*Context) ResponseStream

func (c *Context) ResponseStream(reader io.Reader, opts ...func(c *Context))

ResponseStream .

func (*Context) ResponseWebCode

func (c *Context) ResponseWebCode(code webserver.Code)

ResponseWebCode .

func (*Context) ResponseWebError

func (c *Context) ResponseWebError(err *webserver.WebError)

ResponseWebError .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL