v1

package
v1.32.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	ImageClient() image.Client
	ImageMultipartFormDecoder() imageMultipart.FormDecoder
}

type Router

type Router struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(provider Provider) (*Router, error)

func (*Router) Create

func (r *Router) Create(res rest.ResponseWriter, req *rest.Request)

func (*Router) CreateWithContent

func (r *Router) CreateWithContent(res rest.ResponseWriter, req *rest.Request)

func (*Router) CreateWithMetadata

func (r *Router) CreateWithMetadata(res rest.ResponseWriter, req *rest.Request)

func (*Router) Delete

func (r *Router) Delete(res rest.ResponseWriter, req *rest.Request)

func (*Router) DeleteAll

func (r *Router) DeleteAll(res rest.ResponseWriter, req *rest.Request)

func (*Router) Get

func (r *Router) Get(res rest.ResponseWriter, req *rest.Request)

func (*Router) GetContent

func (r *Router) GetContent(res rest.ResponseWriter, req *rest.Request)

func (*Router) GetMetadata

func (r *Router) GetMetadata(res rest.ResponseWriter, req *rest.Request)

func (*Router) GetRenditionContent

func (r *Router) GetRenditionContent(res rest.ResponseWriter, req *rest.Request)

func (*Router) List

func (r *Router) List(res rest.ResponseWriter, req *rest.Request)

func (*Router) PutContent

func (r *Router) PutContent(res rest.ResponseWriter, req *rest.Request)

func (*Router) PutMetadata

func (r *Router) PutMetadata(res rest.ResponseWriter, req *rest.Request)

func (*Router) Routes

func (r *Router) Routes() []*rest.Route

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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