apiv1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Create

type Create struct {
	controller.Super
}

Create Create a new entry via API

func (*Create) Run

func (c *Create) Run(response http.ResponseWriter, request *http.Request)

Run Create action

type List

type List struct {
	controller.Super
}

List Display all blog entries as JSON

func (*List) Run

func (c *List) Run(response http.ResponseWriter, request *http.Request)

Run List action

type Single

type Single struct {
	controller.Super
}

Single Find and display single blog entry

func (*Single) Run

func (c *Single) Run(response http.ResponseWriter, request *http.Request)

Run Single action

type Update

type Update struct {
	controller.Super
}

Update Update an existing entry via API

func (*Update) Run

func (c *Update) Run(response http.ResponseWriter, request *http.Request)

Run Update action

Jump to

Keyboard shortcuts

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