diff options
author | Doug Black <dblack@twilio.com> | 2014-01-27 12:44:16 -0500 |
---|---|---|
committer | Doug Black <dblack@twilio.com> | 2014-01-27 12:44:16 -0500 |
commit | 53ae43660dc0260a2aed5877b24454b4d03f58b9 (patch) | |
tree | 65b2f8ecaab83a07c2c7c80ce0b7bd1b96f8feaa /core.go | |
parent | link to docs (diff) | |
download | sleepy-53ae43660dc0260a2aed5877b24454b4d03f58b9.tar.gz sleepy-53ae43660dc0260a2aed5877b24454b4d03f58b9.tar.bz2 sleepy-53ae43660dc0260a2aed5877b24454b4d03f58b9.zip |
update docs
Diffstat (limited to 'core.go')
-rw-r--r-- | core.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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{}) } |