category

package
v0.0.0-...-d482505 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	as.Controller
	// contains filtered or unexported fields
}

func New

func New() *Controller

func (*Controller) Add

func (this *Controller) Add(req *http.Request) (int, []byte)

@router /app/categorys (app,owner) [post]

func (*Controller) App

func (this *Controller) App(req *http.Request, res http.ResponseWriter)

获取所属app信息

func (*Controller) Get

func (this *Controller) Get(param martini.Params) (int, []byte)

@router /app/categorys/:id [get]

func (*Controller) Gets

func (this *Controller) Gets(req *http.Request) (int, []byte)

@router /app/categorys [get]

func (*Controller) Owner

func (this *Controller) Owner(session sessions.Session, res http.ResponseWriter)

必须是所有者

Jump to

Keyboard shortcuts

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