controllers

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KB int = 1 << (10 * iota)
	MB
	GB
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*revel.Controller
}

func (*App) Before

func (c *App) Before() revel.Result

type FileInfo

type FileInfo struct {
	ContentType string
	Filename    string
	RealFormat  string `json:",omitempty"`
	Resolution  string `json:",omitempty"`
	Size        int
	Status      string `json:",omitempty"`
}

type Multiple

type Multiple struct {
	App
}

func (*Multiple) HandleUpload

func (c *Multiple) HandleUpload() revel.Result

func (*Multiple) Upload

func (c *Multiple) Upload() revel.Result

type Single

type Single struct {
	App
}

func (*Single) HandleUpload

func (c *Single) HandleUpload(avatar []byte) revel.Result

func (*Single) Upload

func (c *Single) Upload() revel.Result

Jump to

Keyboard shortcuts

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