MCPcopy Create free account

hub / github.com/Away0x/gin_bbs / functions

Functions1,103 in github.com/Away0x/gin_bbs

↓ 487 callersFunction$
()
public/js/jquery.min.js:3
↓ 199 callersFunction$
()
resources/editor/js/jquery.min.js:3
↓ 87 callersFunctionnewNode
(mime, extension string, matchFunc matchFunc, children ...*node)
pkg/mimetype/node.go:16
↓ 65 callersMethodmatch
match does a depth-first search on the matchers tree. it returns the deepest successful matcher for which all the children fail.
pkg/mimetype/node.go:27
↓ 60 callersMethodRegister
Register 注册路由
pkg/ginutils/router/register.go:27
↓ 57 callersFunctionNew
New -
pkg/errno/errno.go:15
↓ 47 callersFunctionSendErrorResponse
SendErrorResponse 带错误的响应
app/controllers/response.go:66
↓ 47 callersMethoderror
error records an error and switches to the error state.
pkg/mimetype/internal/json/json.go:532
↓ 43 callersFunctionn
(a,b)
public/js/jquery.min.js:2
↓ 43 callersFunctionn
(a,b)
resources/editor/js/jquery.min.js:2
↓ 42 callersFunctionisFunction
( obj )
public/js/app.js:4614
↓ 39 callersFunctionjQuery
( selector, context )
public/js/app.js:4688
↓ 34 callersMethodError
Error -
pkg/errno/errno.go:50
↓ 34 callersFunctionM
(a,b)
public/js/simditor.min.js:8
↓ 34 callersFunctionM
(a,b)
resources/editor/js/simditor.min.js:8
↓ 34 callersFunctionextend
(child, parent)
public/js/simditor.js:23
↓ 34 callersFunctionextend
(child, parent)
resources/editor/js/simditor.js:23
↓ 29 callersFunctionRequiredValidator
RequiredValidator : value 必须存在
pkg/ginutils/validate/validators.go:21
↓ 28 callersFunctionSendOKResponse
SendOKResponse 成功响应
app/controllers/response.go:61
↓ 25 callersFunctionRedirectRouter
RedirectRouter : 路由重定向 use router name
app/controllers/redirect.go:24
↓ 25 callersMethodreset
()
pkg/mimetype/internal/json/json.go:99
↓ 21 callersFunctiondetect
(in []byte, sigs []sig)
pkg/mimetype/internal/matchers/signature.go:117
↓ 21 callersFunctionoa
(a)
public/js/jquery.min.js:2
↓ 21 callersFunctionoa
(a)
resources/editor/js/jquery.min.js:2
↓ 20 callersFunctiond
(a)
public/js/jquery.min.js:3
↓ 20 callersFunctiond
(a)
resources/editor/js/jquery.min.js:3
↓ 19 callersFunctionRender404
Render404 -
app/controllers/render.go:91
↓ 18 callersMethodGroup
Group 注册路由组
pkg/ginutils/router/register.go:20
↓ 18 callersFunctionRender
Render : 渲染 html
app/controllers/render.go:32
↓ 18 callersFunction_objectSpread
(target)
public/js/app.js:140
↓ 17 callersFunctionNewDangerFlash
NewDangerFlash : 新建一条 danger flash,并保存
pkg/ginutils/flash/flash.go:118
↓ 17 callersMethodSet
Set message to flash
pkg/ginutils/flash/flash.go:42
↓ 15 callersFunctionJ
(a,b)
public/js/jquery.min.js:2
↓ 15 callersFunctionJ
(a,b)
resources/editor/js/jquery.min.js:2
↓ 15 callersFunctionb
(c,e)
public/js/jquery.min.js:2
↓ 15 callersFunctionb
(c,e)
resources/editor/js/jquery.min.js:2
↓ 14 callersFunctionGetToken
GetToken 获取 token
routes/wrapper/get_token.go:13
↓ 14 callersFunctionTokenAuth
TokenAuth token 验证
routes/middleware/token.go:12
↓ 14 callersFunctiongetAll
( context, tag )
public/js/app.js:9282
↓ 13 callersFunctionGetUser
GetUser 获取用户
routes/wrapper/get_user.go:12
↓ 13 callersFunctionNewSuccessFlash
NewSuccessFlash : 新建一条 success flash,并保存
pkg/ginutils/flash/flash.go:97
↓ 13 callersFunctionc
()
public/js/simditor.min.js:8
↓ 13 callersFunctionc
()
resources/editor/js/simditor.min.js:8
↓ 13 callersFunctiong
()
public/js/jquery.min.js:3
↓ 13 callersFunctiong
()
resources/editor/js/jquery.min.js:3
↓ 12 callersFunctionGetIntParam
GetIntParam : 从 path params 中获取 int 参数 http://a.com/xx/1 => 获取到 int 1
pkg/ginutils/param.go:11
↓ 12 callersFunctionRun
执行验证
pkg/ginutils/validate/validate.go:43
↓ 12 callersFunctionja
(a)
public/js/jquery.min.js:2
↓ 12 callersFunctionja
(a)
resources/editor/js/jquery.min.js:2
↓ 11 callersFunctionAuth
Auth 用户已登录才能访问
routes/middleware/auth.go:12
↓ 11 callersMethodLink
Link 生成 topic show link
app/models/topic/get.go:156
↓ 11 callersFunction_createClass
(Constructor, protoProps, staticProps)
public/js/app.js:119
↓ 11 callersFunctione
(a,b)
public/js/jquery.min.js:4
↓ 11 callersFunctione
(a,b)
resources/editor/js/jquery.min.js:4
↓ 10 callersFunctionGetGinUtilsConfig
GetGinUtilsConfig 获取 ginutils 配置
pkg/ginutils/ginutils.go:37
↓ 10 callersFunctionRandomCreateBytes
RandomCreateBytes generate random []byte by specify chars.
pkg/ginutils/utils/rand.go:19
↓ 10 callersFunction__webpack_require__
(moduleId)
public/js/app.js:6
↓ 10 callersFunctionassert
* Support testing using an element * @param {Function} fn Passed the created element and returns a boolean result
public/js/app.js:5438
↓ 10 callersFunctioncomplete
()
public/js/app.js:1392
↓ 10 callersFunctiondropAndCreateTable
dropAndCreateTable - 清空表
database/factory/factory.go:8
↓ 10 callersFunctionia
(a)
public/js/jquery.min.js:2
↓ 10 callersFunctionia
(a)
resources/editor/js/jquery.min.js:2
↓ 10 callersFunctionmarkFunction
* Mark a function for special use by Sizzle * @param {Function} fn The function to mark
public/js/app.js:5429
↓ 10 callersFunctionnewXmlSig
(localName, xmlns string)
pkg/mimetype/internal/matchers/signature.go:24
↓ 10 callersFunctionnodeName
( elem, name )
public/js/app.js:7366
↓ 9 callersFunctionRedirect
Redirect : 路由重定向 use path
app/controllers/redirect.go:14
↓ 9 callersMethodSave
Save flash
pkg/ginutils/flash/flash.go:87
↓ 9 callersFunctionb
(b)
public/js/module.min.js:3
↓ 9 callersFunctionb
(b)
resources/editor/js/module.min.js:3
↓ 9 callersMethodrender
()
taro-app/src/app.tsx:57
↓ 9 callersFunctionresolve
( depth, deferred, handler, special )
public/js/app.js:8083
↓ 8 callersMethodCreate
Create -
app/models/link/link.go:29
↓ 8 callersFunctionMinLengthValidator
MinLengthValidator -
pkg/ginutils/validate/validators.go:32
↓ 8 callersFunctionNewUserViewModelSerializer
NewUserViewModelSerializer 用户数据展示
app/viewmodels/user.go:24
↓ 8 callersFunctionSaveValidateMessage
SaveValidateMessage 存储参数验证的错误信息
pkg/ginutils/validate/flash.go:20
↓ 8 callersFunctionUniqueUintSlice
UniqueUintSlice uint slice 去重
pkg/ginutils/utils/slice.go:4
↓ 8 callersMethodUpdate
Update 更新用户
app/models/user/effect.go:21
↓ 8 callersFunctionaccess
( elems, fn, key, value, chainable, emptyGet, raw )
public/js/app.js:8478
↓ 8 callersFunctioncamelCase
( string )
public/js/app.js:8550
↓ 8 callersFunctiongetClientRect
* Given element offsets, generate an output similar to getBoundingClientRect * @method * @memberof Popper.Utils * @argument {Object} offsets * @re
public/js/app.js:15561
↓ 8 callersFunctionh
(a,b,c)
public/js/jquery.min.js:2
↓ 7 callersFunctionGetCurrentUserFromContext
GetCurrentUserFromContext : 从 context 中获取用户模型
app/auth/user.go:24
↓ 7 callersFunctionMaxLengthValidator
MaxLengthValidator -
pkg/ginutils/validate/validators.go:45
↓ 7 callersFunctionNewUserAPISerializer
NewUserAPISerializer api data
app/viewmodels/user.go:43
↓ 7 callersMethodTableName
TableName 表名
app/models/permission/permission.go:34
↓ 7 callersFunctioncreatePositionalPseudo
* Returns a function to use in pseudos for positionals * @param {Function} fn
public/js/app.js:5579
↓ 7 callersFunctiongetClass
( elem )
public/js/app.js:12542
↓ 7 callersFunctiongetStyleComputedProperty
* Get CSS computed property of the given element * @method * @memberof Popper.Utils * @argument {Eement} element * @argument {String} property
public/js/app.js:15237
↓ 7 callersFunctionh
(a,b,c)
resources/editor/js/jquery.min.js:2
↓ 7 callersFunctionindexOf
( list, elem )
public/js/app.js:5112
↓ 7 callersFunctionstripAndCollapse
( value )
public/js/app.js:12536
↓ 6 callersFunctionEmailValidator
EmailValidator 验证邮箱格式
pkg/ginutils/validate/validators.go:101
↓ 6 callersFunctionG
G : 根据 name 获取路由 path (完整路径) Name(g, "root", "GET", "/") -> G("root") 得到 "/" Name(g, "signup.confirm", "POST", "/signup/confirm/:token") -> G("signup.
pkg/ginutils/router/named.go:43
↓ 6 callersFunctionRandInt
RandInt - 区间随机数
pkg/ginutils/utils/rand.go:40
↓ 6 callersFunctionRateLimiter
RateLimiter 限制指定时间内最多多少个请求,超出会进入错误页面
routes/middleware/limit.go:15
↓ 6 callersMethodTableName
TableName 表名
app/models/permission/roles.go:27
↓ 6 callersFunctionb
()
public/js/simditor.min.js:10
↓ 6 callersFunctionb
()
resources/editor/js/simditor.min.js:10
↓ 6 callersFunctiondefineProperty
(obj, key, value)
public/js/app.js:15525
↓ 6 callersFunctiondir
( elem, dir, until )
public/js/app.js:7333
next →1–100 of 1,103, ranked by callers