Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cookieY/yee
/ functions
Functions
417 in github.com/cookieY/yee
⨍
Functions
417
◇
Types & classes
56
↓ 1 callers
Method
handleHTTPRequest
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 callers
Function
joinPaths
(absolutePath, relativePath string)
common.go:31
↓ 1 callers
Function
jwtFromHeader
(header []string, authScheme string)
middleware/jwt.go:105
↓ 1 callers
Function
logError
(span opentracing.Span, err error)
middleware/trace.go:191
↓ 1 callers
Function
longestCommonPrefix
(a, b string)
tree.go:68
↓ 1 callers
Function
newResponseDumper
(resp yee.Context)
middleware/trace.go:174
↓ 1 callers
Function
parserVerifyData
(context yee.Context)
middleware/basicAuth.go:50
↓ 1 callers
Function
proxyHTTP
(c yee.Context, config ProxyConfig)
middleware/proxy.go:62
↓ 1 callers
Method
rebuild404Handlers
()
yee.go:110
↓ 1 callers
Method
rebuild405Handlers
()
yee.go:114
↓ 1 callers
Function
sayMiddleware
()
context_test.go:63
↓ 1 callers
Function
setBoolField
(value string, field reflect.Value)
bind.go:277
↓ 1 callers
Function
test2RestfulAPI
()
router_test.go:194
↓ 1 callers
Function
testBindOkay
(assert *assert.Assertions, r io.Reader, ctype string)
bind_test.go:88
↓ 1 callers
Function
testBindQueryPrams
(assert *assert.Assertions, ctype string)
bind_test.go:114
↓ 1 callers
Function
testRestfulAPI
If you want to test routing performance, You can use benchmark_test to get it --- testing any method
router_test.go:163
↓ 1 callers
Function
timer
(c *RateLimitConfig)
middleware/rateLimit.go:56
↓ 1 callers
Function
unmarshalFieldPtr
(value string, field reflect.Value)
bind.go:247
↓ 1 callers
Function
validateCSRFToken
(token, clientToken string)
middleware/csrf.go:155
Method
Abort
()
context.go:69
Method
Abort
()
context.go:101
Method
AddHeader
(key string, value string)
context.go:320
Method
Any
(path string, handler ...HandlerFunc)
router.go:78
Function
Benchmark
(b *testing.B)
benchmark_test.go:415
Function
BenchmarkAllocJSON
(b *testing.B)
context_test.go:96
Function
BenchmarkAllocString
(b *testing.B)
context_test.go:116
Function
BenchmarkLogger_LogWrite
(b *testing.B)
log_test.go:44
Function
BenchmarkYeeGitHubAPI
(b *testing.B)
benchmark_test.go:397
Function
BenchmarkYeeGplusAPI
(b *testing.B)
benchmark_test.go:391
Function
BenchmarkYeeParseAPI
(b *testing.B)
benchmark_test.go:385
Function
BenchmarkYeeStatic
(b *testing.B)
benchmark_test.go:403
Method
Bind
(i interface{}, c Context)
bind.go:30
Method
Bind
(i interface{})
context.go:105
Function
Black
(msg interface{}, styles ...string)
logger/color.go:309
Function
BlackBg
(msg interface{}, styles ...string)
logger/color.go:345
Method
Blob
(code int, contentType string, b []byte)
context.go:37
Function
Blue
(msg interface{}, styles ...string)
logger/color.go:325
Function
BlueBg
(msg interface{}, styles ...string)
logger/color.go:361
Function
Bold
(msg interface{}, styles ...string)
logger/color.go:381
Method
ByName
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
Method
CloseNotify
CloseNotify implements the http.CloseNotify interface.
response_overide.go:123
Method
Cookie
(name string)
context.go:402
Method
Cookies
()
context.go:410
Method
Crash
()
context.go:64
Method
CrashWithJson
(code int, json interface{})
context.go:67
Method
CrashWithJson
(code int, json interface{})
context.go:187
Method
CrashWithStatus
(code int)
context.go:181
Method
Critical
(msg interface{})
logger/log.go:137
Method
Criticalf
(error string, msg ...interface{})
logger/log.go:143
Method
Custom
(msg string)
logger/log.go:133
Function
CyanBg
(msg interface{}, styles ...string)
logger/color.go:369
Method
Debug
(msg interface{})
logger/log.go:191
Method
Debugf
(error string, msg ...interface{})
logger/log.go:185
Method
Descriptor
Deprecated: Use Svr.ProtoReflect.Descriptor instead.
test/host.pb.go:63
Function
Dim
(msg interface{}, styles ...string)
logger/color.go:385
Function
Disable
()
logger/color.go:286
Function
Enable
()
logger/color.go:290
Method
Error
(msg interface{})
logger/log.go:149
Method
Errorf
(error string, msg ...interface{})
logger/log.go:155
Method
File
(file string)
context.go:373
Method
Flush
Flush implements the http.Flush interface.
response_overide.go:128
Method
Flush
()
middleware/gzip.go:77
Method
FormFile
(name string)
context.go:368
Method
FormParams
()
context.go:355
Method
FormValue
(name string)
context.go:351
Method
Get
(key string)
context.go:203
Method
GetCloud
()
test/host.pb.go:95
Method
GetHeader
(key string)
context.go:324
Method
GetIDC
()
test/host.pb.go:88
Method
GetIP
()
test/host.pb.go:74
Method
GetName
()
test/host.pb.go:67
Method
GetProject
()
test/host.pb.go:81
Function
GreenBg
(msg interface{}, styles ...string)
logger/color.go:353
Function
Grey
(msg interface{}, styles ...string)
logger/color.go:341
Function
Gzip
Gzip is the default implementation of gzip middleware
middleware/gzip.go:29
Method
HTML
(code int, html string)
context.go:29
Method
HTML
(code int, html string)
context.go:240
Method
HTMLTpl
(code int, tml string)
context.go:52
Method
HTMLTpl
(code int, tml string)
context.go:244
Function
Hidden
(msg interface{}, styles ...string)
logger/color.go:401
Method
Hijack
Hijack implements the http.Hijacker interface.
response_overide.go:115
Method
Hijack
()
middleware/gzip.go:84
Method
Info
(msg interface{})
logger/log.go:173
Method
Infof
(error string, msg ...interface{})
logger/log.go:179
Function
Inverse
(msg interface{}, styles ...string)
logger/color.go:397
Method
IsCrash
()
context.go:65
Method
IsCrash
()
context.go:177
Method
IsLogger
(p bool)
logger/log.go:80
Method
IsTLS
()
context.go:435
Method
IsWebsocket
()
context.go:439
Function
Italic
(msg interface{}, styles ...string)
logger/color.go:389
Method
JSONP
(code int, fn string, i interface{})
context.go:292
Function
Magenta
(msg interface{}, styles ...string)
logger/color.go:329
Function
MagentaBg
(msg interface{}, styles ...string)
logger/color.go:365
Method
MultipartForm
()
context.go:44
Method
MultipartForm
()
context.go:397
Function
New
(e *yee.Core)
middleware/trace.go:36
Method
Next
()
context.go:122
Function
Output
Output returns the output.
logger/color.go:277
Method
Output
Output returns the output.
logger/color.go:139
← previous
next →
201–300 of 417, ranked by callers