diff options
Diffstat (limited to 'app/status.go')
| -rw-r--r-- | app/status.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/status.go b/app/status.go index 6a905c9..dccb508 100644 --- a/app/status.go +++ b/app/status.go @@ -11,8 +11,10 @@ type Status interface { } var ( - Ok Status = &status{200, "OK"} - NotFound Status = &status{404, "Not Found"} + Ok Status = &status{200, "OK"} + Created Status = &status{201, "Created"} + NotFound Status = &status{404, "Not Found"} + InternalServerError Status = &status{500, "Internal Server Error"} ) func (s *status) Code() int { |