document

package
v0.0.0-...-6740b9f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(url *url.URL, header http.Header, _ interface{}, RequestContext *h.RequestContext) (int, http.Header, interface{}, error)

func Get

func Get(url *url.URL, header http.Header, _ interface{}, RequestContext *h.RequestContext) (int, http.Header, *t.Document, error)

Types

type Controller

type Controller struct {
	AppEngineContext appengine.Context
	RequestContext   *h.RequestContext
	// contains filtered or unexported fields
}

func NewController

func NewController(RequestContext *h.RequestContext) *Controller

func (*Controller) Delete

func (self *Controller) Delete(url *url.URL) error

func (*Controller) Get

func (self *Controller) Get(url *url.URL) (*t.Document, error)

type Notificator

type Notificator struct {
	AppEngineContext appengine.Context
	RequestContext   *h.RequestContext
}

func NewNotificator

func NewNotificator(RequestContext *h.RequestContext) *Notificator

func (*Notificator) Create

func (self *Notificator) Create(document *t.Document) error

type Service

type Service struct {
	AppEngineContext appengine.Context
	RequestContext   *h.RequestContext
	// contains filtered or unexported fields
}

func NewService

func NewService(RequestContext *h.RequestContext) *Service

func (*Service) Delete

func (self *Service) Delete(id t.DocumentId, user *t.User) error

func (*Service) Find

func (self *Service) Find(id t.DocumentId, user *t.User) (*t.Document, error)

type Validator

type Validator struct {
	AppEngineContext appengine.Context
	RequestContext   *h.RequestContext
}

func NewValidator

func NewValidator(RequestContext *h.RequestContext) *Validator

Jump to

Keyboard shortcuts

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