MCPcopy
hub / github.com/aceld/zinx / String

Method String

ztimer/delayfunc.go:36–38  ·  view source on GitHub ↗

String 打印当前延迟函数的信息,用于日志记录

()

Source from the content-addressed store, hash-verified

34
35// String 打印当前延迟函数的信息,用于日志记录
36func (df *DelayFunc) String() string {
37 return fmt.Sprintf("{DelayFun:%s, args:%v}", reflect.TypeOf(df.f).Name(), df.args)
38}
39
40// Call 执行延迟函数---如果执行失败,抛出异常
41func (df *DelayFunc) Call() {

Callers 15

TestDelayfuncFunction · 0.95
CallMethod · 0.95
ListenKcpConnMethod · 0.45
newKcpServerConnFunction · 0.45
newKcpClientConnFunction · 0.45
StartWriterMethod · 0.45
StartReaderMethod · 0.45
RouterTimeFunction · 0.45
getInfoFunction · 0.45
newWebsocketConnFunction · 0.45
newWsClientConnFunction · 0.45
StartWriterMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestDelayfuncFunction · 0.76