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
↓ 2 callers
Method
bindData
(ptr interface{}, data map[string][]string, tag string)
bind.go:101
↓ 2 callers
Method
createDistHandler
(relativePath string, fs http.FileSystem)
router.go:153
↓ 2 callers
Method
incrementChildPrio
Increments priority of the given child and reorders if necessary
tree.go:106
↓ 2 callers
Method
insertChild
(path string, fullPath string, handlers HandlersChain)
tree.go:272
↓ 2 callers
Function
lastChar
(str string)
common.go:24
↓ 2 callers
Function
limitString
(str string, size int)
middleware/trace.go:166
↓ 2 callers
Function
min
(a, b int)
tree.go:61
↓ 2 callers
Function
serveError
(c *context, code int, defaultMessage []byte)
yee.go:227
↓ 2 callers
Function
setFloatField
(value string, bitSize int, field reflect.Value)
bind.go:288
↓ 2 callers
Function
setWithProperType
(valueKind reflect.Kind, val string, structField reflect.Value)
bind.go:183
↓ 2 callers
Function
unmarshalField
(valueKind reflect.Kind, val string, field reflect.Value)
bind.go:226
↓ 2 callers
Function
unmarshalFieldNonPtr
(value string, field reflect.Value)
bind.go:235
↓ 1 callers
Function
BasicAuth
BasicAuth is the default implementation BasicAuth middleware
middleware/basicAuth.go:25
↓ 1 callers
Function
BasicAuthWithConfig
BasicAuthWithConfig is the custom implementation BasicAuth middleware
middleware/basicAuth.go:32
↓ 1 callers
Method
Black
(msg interface{}, styles ...string)
logger/color.go:176
↓ 1 callers
Method
BlackBg
(msg interface{}, styles ...string)
logger/color.go:212
↓ 1 callers
Method
BlueBg
(msg interface{}, styles ...string)
logger/color.go:228
↓ 1 callers
Method
Bold
(msg interface{}, styles ...string)
logger/color.go:248
↓ 1 callers
Function
CSRF
CSRF is the default implementation CSRF middleware
middleware/csrf.go:39
↓ 1 callers
Function
CSRFWithConfig
CSRFWithConfig is the custom implementation CSRF middleware
middleware/csrf.go:44
↓ 1 callers
Method
Cookies
()
context.go:57
↓ 1 callers
Function
CorsWithConfig
CorsWithConfig is the default implementation CORS middleware
middleware/cors.go:43
↓ 1 callers
Method
CrashWithStatus
(code int)
context.go:66
↓ 1 callers
Method
CrashWithString
(code int, str string)
context.go:195
↓ 1 callers
Method
Custom
(msg string)
logger/log.go:46
↓ 1 callers
Function
CustomerMiddleware
()
middleware/multiMiddle_test.go:46
↓ 1 callers
Function
Cyan
(msg interface{}, styles ...string)
logger/color.go:333
↓ 1 callers
Method
CyanBg
(msg interface{}, styles ...string)
logger/color.go:236
↓ 1 callers
Method
DELETE
(path string, handler ...HandlerFunc)
router.go:42
↓ 1 callers
Method
Dim
(msg interface{}, styles ...string)
logger/color.go:252
↓ 1 callers
Function
Dir
Dir returns a http.FileSystem that can be used by http.FileServer(). It is used internally in router.Static(). if listDirectory == true, then it works
fs.go:20
↓ 1 callers
Method
Disable
Disable disables the colors and styles.
logger/color.go:152
↓ 1 callers
Method
File
(file string)
context.go:36
↓ 1 callers
Method
FormFile
(name string)
context.go:35
↓ 1 callers
Method
FormParams
()
context.go:34
↓ 1 callers
Function
GenJwtToken
()
middleware/jwt_test.go:15
↓ 1 callers
Function
GenerateRestfulAPI
(GenCodeVal GenCodeVal)
gen.go:83
↓ 1 callers
Method
Get
Get 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:29
↓ 1 callers
Function
Green
(msg interface{}, styles ...string)
logger/color.go:317
↓ 1 callers
Method
Green
(msg interface{}, styles ...string)
logger/color.go:184
↓ 1 callers
Method
GreenBg
(msg interface{}, styles ...string)
logger/color.go:220
↓ 1 callers
Method
Grey
(msg interface{}, styles ...string)
logger/color.go:208
↓ 1 callers
Method
Hidden
(msg interface{}, styles ...string)
logger/color.go:268
↓ 1 callers
Method
Inverse
(msg interface{}, styles ...string)
logger/color.go:264
↓ 1 callers
Method
IsLogger
(isOk bool)
logger/log.go:49
↓ 1 callers
Method
IsTLS
()
context.go:49
↓ 1 callers
Method
Italic
(msg interface{}, styles ...string)
logger/color.go:256
↓ 1 callers
Method
JSON
(code int, i interface{})
context.go:267
↓ 1 callers
Function
JwtParse
(c yee.Context)
middleware/jwt_test.go:27
↓ 1 callers
Function
LoggerWithConfig
LoggerWithConfig is custom implementation of logger middleware
middleware/logger.go:35
↓ 1 callers
Method
MagentaBg
(msg interface{}, styles ...string)
logger/color.go:232
↓ 1 callers
Method
MatchAlgorithm
()
middleware/proxy.go:14
↓ 1 callers
Method
OPTIONS
(path string, handler ...HandlerFunc)
router.go:58
↓ 1 callers
Method
PATCH
(path string, handler ...HandlerFunc)
router.go:46
↓ 1 callers
Method
PUT
(path string, handler ...HandlerFunc)
router.go:38
↓ 1 callers
Method
Path
()
context.go:68
↓ 1 callers
Method
Pprof
()
pprof.go:32
↓ 1 callers
Method
Print
Print is analogous to `fmt.Print` with termial detection.
logger/color.go:162
↓ 1 callers
Method
QueryParams
()
context.go:53
↓ 1 callers
Function
Recovery
Recovery is a recovery middleware when the program was panic it can recovery program and print stack info
middleware/recovery.go:15
↓ 1 callers
Function
Red
(msg interface{}, styles ...string)
logger/color.go:313
↓ 1 callers
Method
RedBg
(msg interface{}, styles ...string)
logger/color.go:216
↓ 1 callers
Method
Redirect
(code int, uri string)
context.go:45
↓ 1 callers
Method
Request
()
context.go:209
↓ 1 callers
Function
RequestID
RequestID is the default implementation of requestID middleware
middleware/requestID.go:25
↓ 1 callers
Function
RequestIDWithConfig
RequestIDWithConfig is the custom implementation of requestID middleware
middleware/requestID.go:30
↓ 1 callers
Method
Response
()
context.go:217
↓ 1 callers
Method
RunH2C
RunH2C is launch of h2c In normal conditions, http2 must used certificate H2C is non-certificate`s http2 notes: 1.the browser is not supports H2C prot
yee.go:169
↓ 1 callers
Method
Scheme
()
context.go:48
↓ 1 callers
Function
SecureWithConfig
SecureWithConfig is custom implementation of secure middleware
middleware/secure.go:47
↓ 1 callers
Method
SetLogLevel
SetLogLevel define custom log level
yee.go:86
↓ 1 callers
Method
SetOut
(out io.Writer)
logger/log.go:48
↓ 1 callers
Method
SetRequest
(r *http.Request)
context.go:26
↓ 1 callers
Method
Status
(code int)
context.go:312
↓ 1 callers
Method
Strikeout
(msg interface{}, styles ...string)
logger/color.go:272
↓ 1 callers
Method
String
(code int, s string)
context.go:308
↓ 1 callers
Function
SuperManageGroup
()
middleware/jwt_test.go:33
↓ 1 callers
Function
TraceWithConfig
(config TraceConfig)
middleware/trace.go:65
↓ 1 callers
Method
Underline
(msg interface{}, styles ...string)
logger/color.go:260
↓ 1 callers
Method
UnmarshalParam
UnmarshalParam decodes and assigns a value from an form or query param.
bind.go:26
↓ 1 callers
Method
White
(msg interface{}, styles ...string)
logger/color.go:204
↓ 1 callers
Method
WhiteBg
(msg interface{}, styles ...string)
logger/color.go:240
↓ 1 callers
Method
YellowBg
(msg interface{}, styles ...string)
logger/color.go:224
↓ 1 callers
Method
addRoute
(method, prefix string, handlers HandlersChain)
router.go:105
↓ 1 callers
Function
addRouter
(y *Core)
yee_test.go:12
↓ 1 callers
Method
allocateContext
()
yee.go:94
↓ 1 callers
Method
bind
Bind implements the `Binder#Bind` function.
bind.go:45
↓ 1 callers
Function
countParams
(path string)
tree.go:77
↓ 1 callers
Function
crashMiddleware
()
context_test.go:57
↓ 1 callers
Function
csrfTokenFromForm
(param string)
middleware/csrf.go:146
↓ 1 callers
Function
csrfTokenFromHeader
(header string)
middleware/csrf.go:126
↓ 1 callers
Function
csrfTokenFromQuery
(param string)
middleware/csrf.go:136
↓ 1 callers
Function
file_host_proto_init
()
test/host.pb.go:141
↓ 1 callers
Function
file_host_proto_rawDescGZIP
()
test/host.pb.go:121
↓ 1 callers
Method
findCaseInsensitivePathRec
Recursive case-insensitive lookup function used by n.findCaseInsensitivePath
tree.go:586
↓ 1 callers
Function
findWildcard
Search for a wildcard segment and check the name for invalid characters. Returns -1 as index, if no wildcard was found.
tree.go:249
↓ 1 callers
Function
generateToken
()
middleware/trace.go:160
↓ 1 callers
Method
get
(method string)
tree.go:52
↓ 1 callers
Function
getRequestID
(ctx yee.Context)
middleware/trace.go:152
↓ 1 callers
Method
getValue
Returns the handle registered with the given path (key). The values of wildcards are saved to a map. If no handle can be found, a TSR (trailing slash
tree.go:395
← previous
next →
101–200 of 417, ranked by callers