Documentation
¶
Overview ¶
Package node implements /node resource
Index ¶
- type Controller
- func (cr *Controller) Create(cx *goweb.Context)
- func (cr *Controller) Delete(id string, cx *goweb.Context)
- func (cr *Controller) DeleteMany(cx *goweb.Context)
- func (cr *Controller) Options(cx *goweb.Context)
- func (cr *Controller) Read(id string, cx *goweb.Context)
- func (cr *Controller) ReadMany(cx *goweb.Context)
- func (cr *Controller) Update(id string, cx *goweb.Context)
- func (cr *Controller) UpdateMany(cx *goweb.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct{}
func (*Controller) Delete ¶
func (cr *Controller) Delete(id string, cx *goweb.Context)
DELETE: /node/{id}
func (*Controller) Read ¶
func (cr *Controller) Read(id string, cx *goweb.Context)
GET: /node/{id} ToDo: clean up this function. About to get unmanageable
func (*Controller) ReadMany ¶
func (cr *Controller) ReadMany(cx *goweb.Context)
GET: /node To do: - Iterate node queries
func (*Controller) Update ¶
func (cr *Controller) Update(id string, cx *goweb.Context)
PUT: /node/{id} -> multipart-form
func (*Controller) UpdateMany ¶
func (cr *Controller) UpdateMany(cx *goweb.Context)
Will not implement PUT: /node
Click to show internal directories.
Click to hide internal directories.