Documentation ¶
Overview ¶
Package node implements /node resource
Index ¶
- type ListOfMaps
- type M
- type NodeController
- func (cr *NodeController) Create(ctx context.Context) error
- func (cr *NodeController) Delete(id string, ctx context.Context) error
- func (cr *NodeController) DeleteMany(ctx context.Context) error
- func (cr *NodeController) Options(ctx context.Context) error
- func (cr *NodeController) Read(id string, ctx context.Context) error
- func (cr *NodeController) ReadMany(ctx context.Context) error
- func (cr *NodeController) Replace(id string, ctx context.Context) error
- func (cr *NodeController) UpdateMany(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListOfMaps ¶ added in v0.8.5
type ListOfMaps []M
type NodeController ¶
type NodeController struct{}
func (*NodeController) Create ¶
func (cr *NodeController) Create(ctx context.Context) error
POST: /node
func (*NodeController) Delete ¶
func (cr *NodeController) Delete(id string, ctx context.Context) error
DELETE: /node/{id}
func (*NodeController) DeleteMany ¶
func (cr *NodeController) DeleteMany(ctx context.Context) error
DELETE: /node
func (*NodeController) Options ¶
func (cr *NodeController) Options(ctx context.Context) error
Options: /node
func (*NodeController) Read ¶
func (cr *NodeController) Read(id string, ctx context.Context) error
GET: /node/{id}
func (*NodeController) ReadMany ¶
func (cr *NodeController) ReadMany(ctx context.Context) error
GET: /node To do: - Iterate node queries
func (*NodeController) Replace ¶
func (cr *NodeController) Replace(id string, ctx context.Context) error
PUT: /node/{id} -> multipart-form
func (*NodeController) UpdateMany ¶
func (cr *NodeController) UpdateMany(ctx context.Context) error
Will not implement PUT: /node
Click to show internal directories.
Click to hide internal directories.