Documentation ¶
Index ¶
- type AdminController
- type AdminLogController
- type BannerController
- type BaseController
- func (this *BaseController) AddLog(logType int, logs ...interface{}) error
- func (this *BaseController) Auth()
- func (this *BaseController) GetNickName() string
- func (this *BaseController) GetUid() uint32
- func (this *BaseController) Prepare()
- func (this *BaseController) SetExcepts(actions ...string)
- func (this *BaseController) SetLogin(admin *models.Admin)
- func (this *BaseController) SetLogout()
- type CateController
- type ChapterController
- type ConfigController
- type ExportSnatchRule
- type FeedbackController
- type GroupController
- type HomeController
- type LoginController
- type MainController
- type NovelController
- func (this *NovelController) Add()
- func (this *NovelController) AddSnatch()
- func (this *NovelController) Crawler()
- func (this *NovelController) DelChapters()
- func (this *NovelController) DelLink()
- func (this *NovelController) Delete()
- func (this *NovelController) DeleteBatch()
- func (this *NovelController) Edit()
- func (this *NovelController) FindSnatchs()
- func (this *NovelController) Index()
- func (this *NovelController) Links()
- func (this *NovelController) Snatch()
- type RoleController
- type SearchController
- type SearchLogController
- type SnatchRuleController
- func (this *SnatchRuleController) Add()
- func (this *SnatchRuleController) Delete()
- func (this *SnatchRuleController) DeleteBatch()
- func (this *SnatchRuleController) Edit()
- func (this *SnatchRuleController) Export()
- func (this *SnatchRuleController) Goquery()
- func (this *SnatchRuleController) Import()
- func (this *SnatchRuleController) Index()
- func (this *SnatchRuleController) Test()
- func (this *SnatchRuleController) UpState()
- type TestResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminController ¶
type AdminController struct {
BaseController
}
type AdminLogController ¶
type AdminLogController struct {
BaseController
}
type BannerController ¶
type BannerController struct {
BaseController
}
type BaseController ¶
type BaseController struct { controllers.BaseController // contains filtered or unexported fields }
后台管理基类
func (*BaseController) AddLog ¶
func (this *BaseController) AddLog(logType int, logs ...interface{}) error
添加后台操作日记
func (*BaseController) SetExcepts ¶
func (this *BaseController) SetExcepts(actions ...string)
设置排除登录验证接口
func (*BaseController) SetLogin ¶
func (this *BaseController) SetLogin(admin *models.Admin)
设置登录session信息
type CateController ¶
type CateController struct {
BaseController
}
type ChapterController ¶
type ChapterController struct {
BaseController
}
type ConfigController ¶
type ConfigController struct {
BaseController
}
type ExportSnatchRule ¶
type ExportSnatchRule struct { Name string `json:"name"` Code string `json:"code"` Url string `json:"url"` State uint8 `json:"state"` IsUpdate uint8 `json:"is_update"` Charset string `json:"charset"` Test *models.SnatchTestData `json:"test"` Rules *models.Rule `json:"rules"` CateMaps []*models.CateMap `json:"cate_maps"` }
导出采集规则配置模型
type FeedbackController ¶
type FeedbackController struct {
BaseController
}
type GroupController ¶
type GroupController struct {
BaseController
}
type HomeController ¶
type HomeController struct {
BaseController
}
type LoginController ¶
type LoginController struct {
BaseController
}
func (*LoginController) Prepare ¶
func (this *LoginController) Prepare()
type MainController ¶
type MainController struct {
BaseController
}
type NovelController ¶
type NovelController struct {
BaseController
}
type RoleController ¶
type RoleController struct {
BaseController
}
type SearchController ¶
type SearchController struct {
BaseController
}
type SearchLogController ¶
type SearchLogController struct {
BaseController
}
type SnatchRuleController ¶
type SnatchRuleController struct {
BaseController
}
func (*SnatchRuleController) DeleteBatch ¶
func (this *SnatchRuleController) DeleteBatch()
批量删除操作采集规则
Click to show internal directories.
Click to hide internal directories.