diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-03-15 13:24:25 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-03-15 13:24:25 -0700 |
commit | 95c7e73e2b8acf048ba61b3feab76dd5f46ac955 (patch) | |
tree | 54b025fc6ae9eb7d1adea71f33ec6d05ae50b3db /examples/updateable/README.md | |
parent | 40a7be1cb8218e705d77965f61c2c948e23971b9 (diff) |
adding deleteable example, rename and modify externalable -> createable
Diffstat (limited to 'examples/updateable/README.md')
-rw-r--r-- | examples/updateable/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/updateable/README.md b/examples/updateable/README.md index 1cc50f8..06f4188 100644 --- a/examples/updateable/README.md +++ b/examples/updateable/README.md @@ -23,8 +23,8 @@ See the file `content/song.go` and read the comments to understand the various methods needed to satisfy required interfaces for this kind of activity. ### Overview -1. Implement `api.Updateable` with the `AcceptUpdate(http.ResponseWriter, *http.Request)` method to allow outside POST requests. -2. Consistent with the externalable example, authentication can be validated in `BeforeAcceptUdate(http.ResponseWriter, *http.Request)` +1. Implement `api.Updateable` with the `Update(http.ResponseWriter, *http.Request)` method to allow outside POST requests. +2. Consistent with the createable example, authentication can be validated in `BeforeAPIUpdate(http.ResponseWriter, *http.Request)` There are various validation and request checks shown in this example as well. Please feel free to modify and submit a PR for updates or bug fixes! |