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

Function WithName

component/options.go:34–38  ·  view source on GitHub ↗

WithName used to rename component name 构建一个闭包函数去修改组件名字

(name string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

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
mainFunction · 0.92
configureFrontendFunction · 0.92
configureBackendFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestNewServiceFunction · 0.68
TestWithNameFunction · 0.68