resources

package
v0.0.0-...-be13a02 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerFor

func HandlerFor(r Resource, s *dokku.Dokku) echo.HandlerFunc

Types

type App

func (App) Get

func (r App) Get(c *echo.Context, s *dokku.Dokku) error

Find one app

type Apps

func (Apps) Get

func (r Apps) Get(c *echo.Context, s *dokku.Dokku) error

Find all apps

type DeleteNotSupported

type DeleteNotSupported struct{}

func (DeleteNotSupported) Delete

type GetNotSupported

type GetNotSupported struct{}

func (GetNotSupported) Get

type PostNotSupported

type PostNotSupported struct{}

func (PostNotSupported) Post

type PutNotSupported

type PutNotSupported struct{}

func (PutNotSupported) Put

type Resource

type Resource interface {
	Get(c *echo.Context, s *dokku.Dokku) error
	Post(c *echo.Context, s *dokku.Dokku) error
	Put(c *echo.Context, s *dokku.Dokku) error
	Delete(c *echo.Context, s *dokku.Dokku) error
}

Jump to

Keyboard shortcuts

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