MCPcopy Create free account
hub / github.com/bytemode/pitaya-notes / WithNameFunc

Function WithNameFunc

component/options.go:42–46  ·  view source on GitHub ↗

WithNameFunc override handler name by specific function 构建一个闭包修改组件的handler name such as: strings.ToUpper/strings.ToLower

(fn func(string) string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

initSysRemotesFunction · 0.92
configureBackendFunction · 0.92
configureFrontendFunction · 0.92
mainFunction · 0.92
configureMetagameFunction · 0.92
configureRoomFunction · 0.92
configureRoomFunction · 0.92
configureBackendFunction · 0.92
configureFrontendFunction · 0.92
configureFrontendFunction · 0.92
configureBackendFunction · 0.92
configureFrontendFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestWithNameFuncFunction · 0.68