MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / String

Method String

cmd/cql-proxy/model/task.go:57–70  ·  view source on GitHub ↗

String implements Stringer interface for task type to stringify.

()

Source from the content-addressed store, hash-verified

55
56// String implements Stringer interface for task type to stringify.
57func (t TaskType) String() string {
58 switch t {
59 case TaskCreateDB:
60 return "CreateDB"
61 case TaskApplyToken:
62 return "ApplyToken"
63 case TaskTopUp:
64 return "TopUp"
65 case TaskCreateProject:
66 return "CreateProject"
67 default:
68 return "Unknown"
69 }
70}
71
72// String implements Stringer interface for task state to stringify.
73func (s TaskState) String() string {

Callers 15

ScanMethod · 0.45
sendProvideServiceFunction · 0.45
TestFullProcessFunction · 0.45
waitProfileCheckingFunction · 0.45
NewAccountAddressFunction · 0.45
sinaWeiboAuthCallbackFunction · 0.45
NewSessionFunction · 0.45
LogDataMethod · 0.45
AddTokenApplyRecordFunction · 0.45
sendQueryMethod · 0.45
sendAckMethod · 0.45
showAllAccountsFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestFullProcessFunction · 0.36
waitProfileCheckingFunction · 0.36