Versions in this module Expand all Collapse all v1 v1.2.17 Nov 30, 2021 Changes in this version + func IsFunction(in interface{}, num ...int) bool + func JsonCheck(req *http.Request) bool + func NewHandler() core.Handler + func QueryCheck(req *http.Request) bool + func UriCheck(params gin.Params) bool + type Context struct + func NewContext(ctx *gin.Context) *Context + func (c *Context) Abort() + func (c *Context) Cookie(name string) (string, error) + func (c *Context) Deadline() (time.Time, bool) + func (c *Context) Done() <-chan struct{} + func (c *Context) Err() error + func (c *Context) Fail(err error) + func (c *Context) File(r io.Reader, filename string, context ...interface{}) + func (c *Context) Get(k string) interface{} + func (c *Context) GetHeader(key string) string + func (c *Context) GetRawData() ([]byte, error) + func (c *Context) HTML(r io.Reader, context ...interface{}) + func (c *Context) Header(key, value string) + func (c *Context) IsAborted() bool + func (c *Context) JSON(code int, i interface{}) + func (c *Context) MultipartForm() (*multipart.Form, error) + func (c *Context) Next() + func (c *Context) Param(k string) string + func (c *Context) Query(k string) string + func (c *Context) Request() *http.Request + func (c *Context) ResponseWriter() http.ResponseWriter + func (c *Context) Set(k string, v interface{}) + func (c *Context) SetCookie(name, value string, maxAge int, path, domain string, secure, httpOnly bool) + func (c *Context) SetRequest(r *http.Request) + func (c *Context) ShouldBindBody(ptr interface{}) error + func (c *Context) ShouldBindWith(v interface{}) error + func (c *Context) Status(code int) + func (c *Context) String(data string, context ...interface{}) + func (c *Context) Success(data interface{}) + func (c *Context) Value(key interface{}) interface{} + func (c *Context) XML(r io.Reader, context ...interface{}) + func (ctx *Context) QueryBool(key string, init ...bool) bool + func (ctx *Context) QueryInt(key string, init ...int) int + func (ctx *Context) QueryRange(key string, init ...string) (string, string) + func (ctx *Context) QueryString(key string, init ...string) string + func (ctx *Context) SaveUploadedFile(file *multipart.FileHeader, dst string) error + func (ctx *Context) SpanId() string + func (ctx *Context) TraceId() string + func (ctx *Context) Visit(fn func(key, val string) bool)