api

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	*revel.Controller
}

func (Book) Book

func (c Book) Book() revel.Result

query a book by bookid

func (Book) BookDown

func (c Book) BookDown() revel.Result

book's download

func (Book) Books

func (c Book) Books() revel.Result

all books info

func (Book) BooksCount

func (c Book) BooksCount() revel.Result

all books count

func (*Book) DelJSON added in v0.1.2

func (c *Book) DelJSON() revel.Result

tmp del

func (*Book) Delete added in v0.1.3

func (c *Book) Delete() revel.Result

func (Book) Index

func (c Book) Index() revel.Result

func (*Book) Search added in v0.0.3

func (c *Book) Search() revel.Result

func (*Book) SearchCount added in v0.0.3

func (c *Book) SearchCount() revel.Result

SEARCH

func (*Book) Update added in v0.1.3

func (c *Book) Update() revel.Result

func (*Book) UploadBook added in v0.0.2

func (c *Book) UploadBook() revel.Result

UPLOAD

func (*Book) UploadBookConfirm added in v0.1.0

func (c *Book) UploadBookConfirm() revel.Result

type Category added in v0.1.0

type Category struct {
	*revel.Controller
}

func (Category) Add added in v0.1.1

func (c Category) Add() revel.Result

func (Category) All added in v0.1.0

func (c Category) All() revel.Result

func (Category) Delete added in v0.1.1

func (c Category) Delete() revel.Result

func (Category) Index added in v0.1.0

func (c Category) Index() revel.Result

func (Category) Update added in v0.1.1

func (c Category) Update() revel.Result

type SysConfig added in v0.0.3

type SysConfig struct {
	*revel.Controller
}

func (SysConfig) Configs added in v0.0.3

func (c SysConfig) Configs() revel.Result

func (SysConfig) Index added in v0.0.3

func (c SysConfig) Index() revel.Result

func (SysConfig) Update added in v0.0.3

func (c SysConfig) Update() revel.Result

type SysStatus added in v0.0.4

type SysStatus struct {
	*revel.Controller
}

func (SysStatus) Delete added in v0.1.0

func (c SysStatus) Delete() revel.Result

func (SysStatus) Index added in v0.0.4

func (c SysStatus) Index() revel.Result

func (SysStatus) Status added in v0.0.4

func (c SysStatus) Status() revel.Result

type User added in v0.0.2

type User struct {
	*revel.Controller
}

func (User) Active added in v0.1.0

func (c User) Active() revel.Result

func (User) ChangePassword added in v0.0.2

func (c User) ChangePassword() revel.Result

change the password ,need oldpassword and newpassword

func (User) Delete added in v0.0.2

func (c User) Delete() revel.Result

func (User) Index added in v0.0.2

func (c User) Index() revel.Result

/user

func (User) Info added in v0.0.2

func (c User) Info() revel.Result

get userinfo by session

func (User) IsLogin added in v0.0.2

func (c User) IsLogin() revel.Result

find a session is or not login

func (User) Login added in v0.0.2

func (c User) Login() revel.Result

func (User) Logout added in v0.0.2

func (c User) Logout() revel.Result

delete the server's login cache

func (User) QueryUser added in v0.0.2

func (c User) QueryUser() revel.Result

func (User) QueryUserCount added in v0.0.2

func (c User) QueryUserCount() revel.Result

func (User) Regist added in v0.0.2

func (c User) Regist() revel.Result

regist a user ,if delete watcherUserRegist in role action ,then not allow to regist

func (User) Update added in v0.0.2

func (c User) Update() revel.Result

update userName and email by this method

func (User) UserStatus added in v0.1.0

func (c User) UserStatus() revel.Result

Jump to

Keyboard shortcuts

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