node

package
v0.9.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2018 License: BSD-2-Clause Imports: 29 Imported by: 2

Documentation

Overview

Package node implements /node resource

Index

Constants

This section is empty.

Variables

View Source
var (
	RangeRegex = regexp.MustCompile(`^([\[\]]{1})(.*);(.*)([\]\[]{1})$`)
)

Functions

This section is empty.

Types

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

Directories

Path Synopsis
Package acl implements /node/:id/acl resource
Package acl implements /node/:id/acl resource

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL