resource

package
v0.0.0-...-d602b2f Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteNotSupported

type DeleteNotSupported struct{}

func (DeleteNotSupported) Delete

func (DeleteNotSupported) Delete(values url.Values) (int, interface{})

type GetNotSupported

type GetNotSupported struct{}

func (GetNotSupported) Get

func (GetNotSupported) Get(values url.Values) (int, interface{})

type PostNotSupported

type PostNotSupported struct{}

func (PostNotSupported) Post

func (PostNotSupported) Post(values url.Values) (int, interface{})

type PutNotSupported

type PutNotSupported struct{}

func (PutNotSupported) Put

func (PutNotSupported) Put(values url.Values) (int, interface{})

type Resource

type Resource interface {
	Get(values url.Values) (int, interface{})
	Post(values url.Values) (int, interface{})
	Put(values url.Values) (int, interface{})
	Delete(values url.Values) (int, interface{})
}

Jump to

Keyboard shortcuts

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