Updated Readme
This commit is contained in:
parent
7bd881d989
commit
66d64e9e45
|
@ -38,10 +38,11 @@ other handler implementations, enabling a lot of flexibility while develeoping.
|
|||
|
||||
### TODOs
|
||||
|
||||
* [ ] Improve docs/Merge with the ones of Vikunja
|
||||
* [x] Improve docs/Merge with the ones of Vikunja
|
||||
* [ ] Description of web.HTTPError
|
||||
* [ ] Rights methods should return errors (I know, this will break a lot of existing stuff)
|
||||
* [ ] optional Before- and after-{load|update|create} methods which do some preprocessing/after processing like making human-readable names from automatically up counting consts
|
||||
* [ ] "Magic": Check if a passed struct implements Crudable methods and use a general (user defined) function if not
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -49,6 +50,8 @@ Using the web handler in your application is pretty straight forward, simply run
|
|||
|
||||
In order to use the common web handler, the struct must implement the `web.CRUDable` and `web.Rights` interface.
|
||||
|
||||
To learn how to use the handler, take a look at [defining routes](#defining-routes-using-the-standard-web-handler)
|
||||
|
||||
## CRUDable
|
||||
|
||||
This interface defines methods to Create/Read/ReadAll/Update/Delete something. It is defined as followed:
|
||||
|
|
Loading…
Reference in New Issue