aboutsummaryrefslogtreecommitdiff
path: root/core.go
diff options
context:
space:
mode:
Diffstat (limited to 'core.go')
-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