aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 12:44:16 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 12:44:16 -0500
commit53ae43660dc0260a2aed5877b24454b4d03f58b9 (patch)
tree65b2f8ecaab83a07c2c7c80ce0b7bd1b96f8feaa
parentlink to docs (diff)
downloadsleepy-53ae43660dc0260a2aed5877b24454b4d03f58b9.tar.gz
sleepy-53ae43660dc0260a2aed5877b24454b4d03f58b9.tar.bz2
sleepy-53ae43660dc0260a2aed5877b24454b4d03f58b9.zip
update docs
-rw-r--r--core.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/core.go b/core.go
index abf2d15..5613522 100644
--- a/core.go
+++ b/core.go
@@ -21,20 +21,20 @@ type GetSupported interface {
Get(values url.Values) (int, interface{})
}
-// PostSupported is the interface that provides the Get
-// method a resource must support to receive HTTP GETs.
+// PostSupported is the interface that provides the Post
+// method a resource must support to receive HTTP POST.
type PostSupported interface {
Post(values url.Values) (int, interface{})
}
-// PutSupported is the interface that provides the Get
-// method a resource must support to receive HTTP GETs.
+// PutSupported is the interface that provides the Put
+// method a resource must support to receive HTTP PUT.
type PutSupported interface {
Put(values url.Values) (int, interface{})
}
-// DeleteSupported is the interface that provides the Get
-// method a resource must support to receive HTTP GETs.
+// DeleteSupported is the interface that provides the Delete
+// method a resource must support to receive HTTP DELETE.
type DeleteSupported interface {
Delete(values url.Values) (int, interface{})
}
bgstack15