MCPcopy Index your code

hub / github.com/cookieY/yee / functions

Functions417 in github.com/cookieY/yee

↓ 1 callersMethodhandleHTTPRequest
func (c *Core) RunH3(addr, ca, keyFile string) { //if isTCP { log.Fatal(http3.ListenAndServe(addr, ca, keyFile, c)) //log.Fatal(s.ListenAndServeTLS
yee.go:184
↓ 1 callersFunctionjoinPaths
(absolutePath, relativePath string)
common.go:31
↓ 1 callersFunctionjwtFromHeader
(header []string, authScheme string)
middleware/jwt.go:105
↓ 1 callersFunctionlogError
(span opentracing.Span, err error)
middleware/trace.go:191
↓ 1 callersFunctionlongestCommonPrefix
(a, b string)
tree.go:68
↓ 1 callersFunctionnewResponseDumper
(resp yee.Context)
middleware/trace.go:174
↓ 1 callersFunctionparserVerifyData
(context yee.Context)
middleware/basicAuth.go:50
↓ 1 callersFunctionproxyHTTP
(c yee.Context, config ProxyConfig)
middleware/proxy.go:62
↓ 1 callersMethodrebuild404Handlers
()
yee.go:110
↓ 1 callersMethodrebuild405Handlers
()
yee.go:114
↓ 1 callersFunctionsayMiddleware
()
context_test.go:63
↓ 1 callersFunctionsetBoolField
(value string, field reflect.Value)
bind.go:277
↓ 1 callersFunctiontest2RestfulAPI
()
router_test.go:194
↓ 1 callersFunctiontestBindOkay
(assert *assert.Assertions, r io.Reader, ctype string)
bind_test.go:88
↓ 1 callersFunctiontestBindQueryPrams
(assert *assert.Assertions, ctype string)
bind_test.go:114
↓ 1 callersFunctiontestRestfulAPI
If you want to test routing performance, You can use benchmark_test to get it --- testing any method
router_test.go:163
↓ 1 callersFunctiontimer
(c *RateLimitConfig)
middleware/rateLimit.go:56
↓ 1 callersFunctionunmarshalFieldPtr
(value string, field reflect.Value)
bind.go:247
↓ 1 callersFunctionvalidateCSRFToken
(token, clientToken string)
middleware/csrf.go:155
MethodAbort
()
context.go:69
MethodAbort
()
context.go:101
MethodAddHeader
(key string, value string)
context.go:320
MethodAny
(path string, handler ...HandlerFunc)
router.go:78
FunctionBenchmark
(b *testing.B)
benchmark_test.go:415
FunctionBenchmarkAllocJSON
(b *testing.B)
context_test.go:96
FunctionBenchmarkAllocString
(b *testing.B)
context_test.go:116
FunctionBenchmarkLogger_LogWrite
(b *testing.B)
log_test.go:44
FunctionBenchmarkYeeGitHubAPI
(b *testing.B)
benchmark_test.go:397
FunctionBenchmarkYeeGplusAPI
(b *testing.B)
benchmark_test.go:391
FunctionBenchmarkYeeParseAPI
(b *testing.B)
benchmark_test.go:385
FunctionBenchmarkYeeStatic
(b *testing.B)
benchmark_test.go:403
MethodBind
(i interface{}, c Context)
bind.go:30
MethodBind
(i interface{})
context.go:105
FunctionBlack
(msg interface{}, styles ...string)
logger/color.go:309
FunctionBlackBg
(msg interface{}, styles ...string)
logger/color.go:345
MethodBlob
(code int, contentType string, b []byte)
context.go:37
FunctionBlue
(msg interface{}, styles ...string)
logger/color.go:325
FunctionBlueBg
(msg interface{}, styles ...string)
logger/color.go:361
FunctionBold
(msg interface{}, styles ...string)
logger/color.go:381
MethodByName
ByName returns the value of the first Param which key matches the given name. If no matching Param is found, an empty string is returned.
tree.go:40
MethodCloseNotify
CloseNotify implements the http.CloseNotify interface.
response_overide.go:123
MethodCookie
(name string)
context.go:402
MethodCookies
()
context.go:410
MethodCrash
()
context.go:64
MethodCrashWithJson
(code int, json interface{})
context.go:67
MethodCrashWithJson
(code int, json interface{})
context.go:187
MethodCrashWithStatus
(code int)
context.go:181
MethodCritical
(msg interface{})
logger/log.go:137
MethodCriticalf
(error string, msg ...interface{})
logger/log.go:143
MethodCustom
(msg string)
logger/log.go:133
FunctionCyanBg
(msg interface{}, styles ...string)
logger/color.go:369
MethodDebug
(msg interface{})
logger/log.go:191
MethodDebugf
(error string, msg ...interface{})
logger/log.go:185
MethodDescriptor
Deprecated: Use Svr.ProtoReflect.Descriptor instead.
test/host.pb.go:63
FunctionDim
(msg interface{}, styles ...string)
logger/color.go:385
FunctionDisable
()
logger/color.go:286
FunctionEnable
()
logger/color.go:290
MethodError
(msg interface{})
logger/log.go:149
MethodErrorf
(error string, msg ...interface{})
logger/log.go:155
MethodFile
(file string)
context.go:373
MethodFlush
Flush implements the http.Flush interface.
response_overide.go:128
MethodFlush
()
middleware/gzip.go:77
MethodFormFile
(name string)
context.go:368
MethodFormParams
()
context.go:355
MethodFormValue
(name string)
context.go:351
MethodGet
(key string)
context.go:203
MethodGetCloud
()
test/host.pb.go:95
MethodGetHeader
(key string)
context.go:324
MethodGetIDC
()
test/host.pb.go:88
MethodGetIP
()
test/host.pb.go:74
MethodGetName
()
test/host.pb.go:67
MethodGetProject
()
test/host.pb.go:81
FunctionGreenBg
(msg interface{}, styles ...string)
logger/color.go:353
FunctionGrey
(msg interface{}, styles ...string)
logger/color.go:341
FunctionGzip
Gzip is the default implementation of gzip middleware
middleware/gzip.go:29
MethodHTML
(code int, html string)
context.go:29
MethodHTML
(code int, html string)
context.go:240
MethodHTMLTpl
(code int, tml string)
context.go:52
MethodHTMLTpl
(code int, tml string)
context.go:244
FunctionHidden
(msg interface{}, styles ...string)
logger/color.go:401
MethodHijack
Hijack implements the http.Hijacker interface.
response_overide.go:115
MethodHijack
()
middleware/gzip.go:84
MethodInfo
(msg interface{})
logger/log.go:173
MethodInfof
(error string, msg ...interface{})
logger/log.go:179
FunctionInverse
(msg interface{}, styles ...string)
logger/color.go:397
MethodIsCrash
()
context.go:65
MethodIsCrash
()
context.go:177
MethodIsLogger
(p bool)
logger/log.go:80
MethodIsTLS
()
context.go:435
MethodIsWebsocket
()
context.go:439
FunctionItalic
(msg interface{}, styles ...string)
logger/color.go:389
MethodJSONP
(code int, fn string, i interface{})
context.go:292
FunctionMagenta
(msg interface{}, styles ...string)
logger/color.go:329
FunctionMagentaBg
(msg interface{}, styles ...string)
logger/color.go:365
MethodMultipartForm
()
context.go:44
MethodMultipartForm
()
context.go:397
FunctionNew
(e *yee.Core)
middleware/trace.go:36
MethodNext
()
context.go:122
FunctionOutput
Output returns the output.
logger/color.go:277
MethodOutput
Output returns the output.
logger/color.go:139
← previousnext →201–300 of 417, ranked by callers