Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ DecodePayload
Method
DecodePayload
model/system_task.go:408–410 ·
view source on GitHub ↗
(v any)
Source
from the content-addressed store, hash-verified
406
}
407
408
func
(task *SystemTask) DecodePayload(v any) error {
409
return
decodeSystemTaskJSONString(task.Payload, v)
410
}
411
412
func
(task *SystemTask) DecodeState(v any) error {
413
return
decodeSystemTaskJSONString(task.State, v)
Callers
4
Run
Method · 0.80
Run
Method · 0.80
runLogCleanupTask
Function · 0.80
TestSystemTaskCreateAndActiveLifecycle
Function · 0.80
Calls
1
decodeSystemTaskJSONString
Function · 0.85
Tested by
1
TestSystemTaskCreateAndActiveLifecycle
Function · 0.64