MCPcopy Create free account
hub / github.com/goodrain/rainbond / Code

Struct Code

api/util/bcode/bcode.go:60–64  ·  view source on GitHub ↗

Code business a bussiness Code

Source from the content-addressed store, hash-verified

58
59// Code business a bussiness Code
60type Code struct {
61 Status int `json:"status"`
62 Code int `json:"code"`
63 Message string `json:"msg"`
64}
65
66func newCode(status, code int, message string) Coder {
67 return &Code{Status: status, Code: code, Message: message}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected