MCPcopy Create free account

hub / github.com/darjun/go-daily-lib / functions

Functions1,635 in github.com/darjun/go-daily-lib

↓ 3 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
nethttp/middleware/main.go:20
↓ 3 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
nethttp/middleware/mymux1/main.go:20
↓ 3 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
nethttp/middleware/mymux2/main.go:88
↓ 3 callersMethod_resume
()
ebiten/12-wasm/wasm_exec.js:534
↓ 3 callersFunctionbadRouteError
badRouteError is used when the twirp server cannot route a request
twirp/get-started/proto/echo.twirp.go:665
↓ 3 callersFunctioncallError
Call twirp.ServerHooks.Error if the hook is available
twirp/get-started/proto/echo.twirp.go:834
↓ 3 callersFunctioncallResponseSent
Call twirp.ServerHooks.ResponseSent if the hook is available
twirp/get-started/proto/echo.twirp.go:826
↓ 3 callersFunctioncheck
(e *casbin.Enforcer, sub, obj, act string)
casbin/function/built-in/main.go:10
↓ 3 callersFunctionisHTTPRedirect
(status int)
twirp/get-started/proto/echo.twirp.go:594
↓ 3 callersFunctiono
(i)
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 3 callersFunctionrandomPoints
(n int)
plot/get-started/main.go:38
↓ 3 callersFunctiontestToRomanCases
(cases []toRomanCase, t *testing.T)
testing/roman_test/roman_test.go:88
↓ 3 callersFunctionwrapper
(i int, wg *sync.WaitGroup)
ants/options/panic/main.go:11
↓ 3 callersFunctionwrapper
(i int, wg *sync.WaitGroup)
ants/options/panic/custom/main.go:12
↓ 3 callersFunctionwriteError
writeError writes Twirp errors in the response and triggers hooks.
twirp/get-started/proto/echo.twirp.go:395
↓ 2 callersFunction$
(e,t)
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunction$
(e,t)
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersMethodAppear
()
wire/struct-provider/main.go:26
↓ 2 callersMethodAppear
()
wire/bind/main.go:26
↓ 2 callersMethodAppear
()
wire/provider-set/main.go:30
↓ 2 callersFunctionCheckCollision
CheckCollision 两个物体之间是否碰撞
ebiten/10-collision/collision.go:4
↓ 2 callersFunctionCheckCollision
CheckCollision 两个物体之间是否碰撞
ebiten/11-pack/collision.go:4
↓ 2 callersMethodClose
()
rpc/servecodec/server/main.go:62
↓ 2 callersMethodCode
()
twirp/get-started/proto/echo.twirp.go:653
↓ 2 callersMethodCreateClients
(server string)
jsonrpc/zookeeper/client/proxy.go:68
↓ 2 callersFunctionExecuteCommand
(name string, subname string, args ...string)
cobra/get-started/cmd/helpers.go:11
↓ 2 callersFunctionGetSessionUser
(r *http.Request)
gorilla/sessions/auth/main.go:25
↓ 2 callersFunctionGetSessionUser
(r *http.Request)
gorilla/sessions/redis/main.go:27
↓ 2 callersMethodHandler
(msg *message.Message)
watermill/router/main.go:57
↓ 2 callersFunctionInitMission
(name string)
wire/get-started/after/wire.go:7
↓ 2 callersFunctionNewAlien
(cfg *Config)
ebiten/10-collision/alien.go:16
↓ 2 callersFunctionNewAlien
(cfg *Config)
ebiten/11-pack/alien.go:18
↓ 2 callersFunctionNewAlien
(cfg *Config)
ebiten/9-alien/alien.go:19
↓ 2 callersFunctionNewMission
()
wire/struct-field/main.go:20
↓ 2 callersFunctionNewMonster
()
wire/struct-provider/main.go:9
↓ 2 callersFunctionNewMonster
()
wire/provider-set/main.go:9
↓ 2 callersFunctionNewPlayer
(name string)
wire/struct-provider/main.go:17
↓ 2 callersFunctionNewPlayer
(name string)
wire/bind/main.go:13
↓ 2 callersFunctionNewPlayer
(name string)
wire/provider-set/main.go:17
↓ 2 callersFunctionNewUser
(name string, age int)
dig/named-value/main.go:14
↓ 2 callersFunctionPrintState
(b *bitset.BitSet)
bitset/farmer-across-river2/main.go:80
↓ 2 callersFunctionSaveSessionUser
(w http.ResponseWriter, r *http.Request, u *User)
gorilla/sessions/auth/main.go:36
↓ 2 callersFunctionSaveSessionUser
(w http.ResponseWriter, r *http.Request, u *User)
gorilla/sessions/redis/main.go:38
↓ 2 callersMethodSpeak
()
reflect/interface/main.go:6
↓ 2 callersMethodToLower
(s string)
reflect/http-rpc/main.go:24
↓ 2 callersMethodValidate
()
ozzo-validation/validatable/main.go:17
↓ 2 callersMethodValidate
()
ozzo-validation/iterable/main.go:17
↓ 2 callersMethodValidate
()
ozzo-validation/conditional/main.go:15
↓ 2 callersFunctionZ
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunctionZ
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersFunctionapplyMiddlewares
(handler http.Handler, middlewares ...Middleware)
nethttp/middleware/main.go:61
↓ 2 callersFunctionapplyMiddlewares
(handler http.Handler, middlewares ...Middleware)
nethttp/middleware/mymux1/main.go:61
↓ 2 callersFunctionbroadcast
(name string, in interface{})
gotalk/websocket-chat/server.go:80
↓ 2 callersFunctioncallClientError
(ctx context.Context, h *twirp.ClientHooks, err twirp.Error)
twirp/get-started/proto/echo.twirp.go:855
↓ 2 callersFunctioncallClientRequestPrepared
(ctx context.Context, h *twirp.ClientHooks, req *http.Request)
twirp/get-started/proto/echo.twirp.go:848
↓ 2 callersFunctioncallClientResponseReceived
(ctx context.Context, h *twirp.ClientHooks)
twirp/get-started/proto/echo.twirp.go:841
↓ 2 callersFunctioncallRequestRouted
Call twirp.ServerHooks.RequestRouted if the hook is available
twirp/get-started/proto/echo.twirp.go:810
↓ 2 callersFunctioncallResponsePrepared
Call twirp.ServerHooks.ResponsePrepared if the hook is available
twirp/get-started/proto/echo.twirp.go:818
↓ 2 callersFunctioncheck
(e *casbin.Enforcer, sub, domain, obj, act string)
casbin/rbac/domain/main.go:10
↓ 2 callersFunctionde
(e,t,r)
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunctionde
(e,t,r)
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersFunctionelasped
(h func(w http.ResponseWriter, r *http.Request))
negroni/introduction/middleware/main.go:9
↓ 2 callersFunctionensurePanicResponses
for github.com/pkg/errors ensurePanicResponses makes sure that rpc methods causing a panic still result in a Twirp Internal error response (status 500
twirp/get-started/proto/echo.twirp.go:616
↓ 2 callersFunctionerrorFromResponse
errorFromResponse builds a twirp.Error from a non-200 HTTP response. If the response has a valid serialized Twirp error, then it's returned. If not, t
twirp/get-started/proto/echo.twirp.go:519
↓ 2 callersFunctionfetchMessagesInRoom
(roomName)
gotalk/websocket-chat/main.js:160
↓ 2 callersFunctionfile_echo_proto_rawDescGZIP
()
twirp/get-started/proto/echo.pb.go:140
↓ 2 callersFunctionfindRoom
(name string)
gotalk/websocket-chat/server.go:88
↓ 2 callersFunctiongetComposerMessage
()
gotalk/websocket-chat/main.js:203
↓ 2 callersMethodinit
()
ebiten/10-collision/game.go:54
↓ 2 callersMethodinit
()
ebiten/11-pack/game.go:54
↓ 2 callersFunctioninspectFunc
(name string, f interface{})
reflect/inspect/main.go:74
↓ 2 callersFunctioninspectSliceArray
(sa interface{})
reflect/inspect/main.go:55
↓ 2 callersFunctioninspectStruct
(u interface{})
reflect/inspect/main.go:23
↓ 2 callersFunctionl
(e,t)
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunctionl
(e,t)
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersFunctionmalformedRequestError
malformedRequestError is used when the twirp server cannot unmarshal a request
twirp/get-started/proto/echo.twirp.go:660
↓ 2 callersFunctionn
(i)
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunctionn
(i)
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersFunctionnewRequest
newRequest makes an http.Request from a client, adding common headers.
twirp/get-started/proto/echo.twirp.go:470
↓ 2 callersMethodoutOfScreen
(cfg *Config)
ebiten/10-collision/alien.go:41
↓ 2 callersMethodoutOfScreen
(cfg *Config)
ebiten/11-pack/alien.go:43
↓ 2 callersFunctionprocessErr
(err error)
validator/error/main.go:9
↓ 2 callersMethodqueryRow
(ctx context.Context, stmt *sql.Stmt, query string, args ...interface{})
sqlc/prepared-queries/db/db.go:87
↓ 2 callersFunctionregisterMethods
(objName string, o interface{})
reflect/http-rpc/main.go:62
↓ 2 callersFunctions
(i)
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunctions
(i)
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersFunctionshowListItems
(list, makefun, replaceExisting, items)
gotalk/websocket-chat/main.js:96
↓ 2 callersFunctionshowMessages
(replaceExisting, messages)
gotalk/websocket-chat/main.js:125
↓ 2 callersFunctiont
()
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunctiont
()
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersFunctiontwirpErrorFromIntermediary
twirpErrorFromIntermediary maps HTTP errors from non-twirp sources to twirp errors. The mapping is similar to gRPC: https://github.com/grpc/grpc/blob/
twirp/get-started/proto/echo.twirp.go:562
↓ 2 callersFunctionue
(e,t,r)
gotalk/websocket-chat/gotalk/gotalk.js:1
↓ 2 callersFunctionue
(e,t,r)
gotalk/websocket/gotalk/gotalk.js:1
↓ 2 callersFunctionurlBase
urlBase helps ensure that addr specifies a scheme. If it is unparsable as a URL, it returns addr unchanged.
twirp/get-started/proto/echo.twirp.go:436
↓ 2 callersFunctionvalidateUser
(u *User)
ozzo-validation/struct/main.go:16
↓ 2 callersFunctionvalidateUser
(u map[string]interface{})
ozzo-validation/map/main.go:10
↓ 2 callersFunctionwithoutRedirects
withoutRedirects makes sure that the POST request can not be redirected. The standard library will, by default, redirect requests (including POSTs) if
twirp/get-started/proto/echo.twirp.go:681
↓ 1 callersFunctionBaiduHotSearch
()
goquery/get-started/main.go:11
↓ 1 callersFunctionCalc
(op string, nums []int64)
go-flags/command/main.go:19
↓ 1 callersMethodCheckCollision
()
ebiten/10-collision/game.go:109
← previousnext →101–200 of 1,635, ranked by callers