controllers

package
v0.0.0-...-67004f8 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(err error)

func GetDetail

func GetDetail(url string) models.ApiDetailInfo

获取远程详情页面的数据

func GetIndex

func GetIndex(url string) models.ApiIndexInfo

首页数据

func GetList

func GetList(url string) models.ApiListInfo

获取远程列表页数据

func GetNewList

func GetNewList(url string) models.ApiNewInfo

获取新剧推荐列表

func GetNewsList

func GetNewsList(url string) models.ApiPageListInfo

获取资讯列表数据

func GetPageInfo

func GetPageInfo(url string) models.ApiPageDetailInfo

获取资讯详情

func GetSearch

func GetSearch(url string) models.ApiSearchInfo

获取搜索页面的数据

func GetToday

func GetToday(url string) models.ApiTodayInfo

/今日更新的片源

Types

type HttpErrorHandel

type HttpErrorHandel struct {
	// contains filtered or unexported fields
}

func (*HttpErrorHandel) Error404

func (this *HttpErrorHandel) Error404()

func (*HttpErrorHandel) Error501

func (this *HttpErrorHandel) Error501()

func (*HttpErrorHandel) ErrorDb

func (this *HttpErrorHandel) ErrorDb()

func (*HttpErrorHandel) GetWeekString

func (this *HttpErrorHandel) GetWeekString() string

返回星期四格式

func (*HttpErrorHandel) PageList

func (this *HttpErrorHandel) PageList(pagesize, page, recordcount int64, first bool, path string) (pager string)

显示分页链接

type IndexHandle

type IndexHandle struct {
	// contains filtered or unexported fields
}

func (*IndexHandle) Detail

func (this *IndexHandle) Detail()

详情页面输出

func (*IndexHandle) GetWeekString

func (this *IndexHandle) GetWeekString() string

返回星期四格式

func (*IndexHandle) Index

func (this *IndexHandle) Index()

首页页面输出

func (*IndexHandle) List

func (this *IndexHandle) List()

列表页输出

func (*IndexHandle) New

func (this *IndexHandle) New()

新剧推荐

func (*IndexHandle) News

func (this *IndexHandle) News()

/资讯列表

func (*IndexHandle) Page

func (this *IndexHandle) Page()

资讯详情

func (*IndexHandle) PageList

func (this *IndexHandle) PageList(pagesize, page, recordcount int64, first bool, path string) (pager string)

显示分页链接

func (*IndexHandle) Search

func (this *IndexHandle) Search()

搜索页面

func (*IndexHandle) Today

func (this *IndexHandle) Today()

今日更新的影片

Jump to

Keyboard shortcuts

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