MCPcopy Create free account
hub / github.com/MarioCarrion/todo-api-microservice-example / StatusCode

Method StatusCode

client.gen.go:665–670  ·  view source on GitHub ↗

StatusCode returns HTTPResponse.StatusCode

()

Source from the content-addressed store, hash-verified

663
664// StatusCode returns HTTPResponse.StatusCode
665func (r ReadTaskResponse) StatusCode() int {
666 if r.HTTPResponse != nil {
667 return r.HTTPResponse.StatusCode
668 }
669 return 0
670}
671
672type UpdateTaskResponse struct {
673 Body []byte

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected