api

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	*revel.Controller
}

func (Author) Authors

func (c Author) Authors() revel.Result

all tags info

func (Author) AuthorsCount

func (c Author) AuthorsCount() revel.Result

all tags count

func (Author) Index

func (c Author) Index() revel.Result

type Book

type Book struct {
	*revel.Controller
}

func (Book) AuthorBooks

func (c Book) AuthorBooks() revel.Result

author books info

func (Book) AuthorBooksCount

func (c Book) AuthorBooksCount() revel.Result

author books info

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) BookImage

func (c Book) BookImage() revel.Result

book's img

func (Book) BookRating

func (c Book) BookRating() revel.Result

book's rating

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) DiscoverBooks

func (c Book) DiscoverBooks() revel.Result

discover books info

func (Book) DoubanBook

func (c Book) DoubanBook() revel.Result

query a book's info from //https://developers.douban.com/wiki/?title=book_v2#get_isbn_book by bookid by bookname

func (Book) Index

func (c Book) Index() revel.Result

func (Book) LanguageBooks

func (c Book) LanguageBooks() revel.Result

language books info

func (Book) LanguageBooksCount

func (c Book) LanguageBooksCount() revel.Result

language books info

func (Book) NewBooks

func (c Book) NewBooks() revel.Result

new books info

func (Book) RatingBooks

func (c Book) RatingBooks() revel.Result

rating books info

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

func (Book) TagBooks

func (c Book) TagBooks() revel.Result

tag books info

func (Book) TagBooksCount

func (c Book) TagBooksCount() revel.Result

tag books info

func (*Book) UploadBook added in v0.0.2

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

type Language

type Language struct {
	*revel.Controller
}

func (Language) Index

func (c Language) Index() revel.Result

func (Language) Languages

func (c Language) Languages() revel.Result

all languages info

func (Language) LanguagesCount

func (c Language) LanguagesCount() revel.Result

all languages count

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) 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 Tag

type Tag struct {
	*revel.Controller
}

func (Tag) Index

func (c Tag) Index() revel.Result

func (Tag) Tags

func (c Tag) Tags() revel.Result

all tags info

func (Tag) TagsCount

func (c Tag) TagsCount() revel.Result

all tags count

type User added in v0.0.2

type User struct {
	*revel.Controller
}

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

Jump to

Keyboard shortcuts

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