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

Method StatusCode

client.gen.go:688–693  ·  view source on GitHub ↗

StatusCode returns HTTPResponse.StatusCode

()

Source from the content-addressed store, hash-verified

686
687// StatusCode returns HTTPResponse.StatusCode
688func (r UpdateTaskResponse) StatusCode() int {
689 if r.HTTPResponse != nil {
690 return r.HTTPResponse.StatusCode
691 }
692 return 0
693}
694
695// CreateTaskWithBodyWithResponse request with arbitrary body returning *CreateTaskResponse
696func (c *ClientWithResponses) CreateTaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTaskResponse, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected