package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jul 24, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CrawlingRequest struct {
ImgSavePath string `json:"img_save_path"`
ImgUrls []string `json:"img_urls"`
TimeoutSeconds int64 `json:"timeout_seconds"`
}
type CrawlingResponse struct {
TextContentSavePath string `json:"text_content_save_path"`
CrawlUrlCount int64 `json:"crawl_url_count"`
CrawlImgCount int64 `json:"crawl_img_count"`
ErrContent string `json:"err_content"`
CastTimeStr string `json:"cast_time_str"`
}
type CroppingRequest struct {
ImgSavePath string `json:"img_save_path"`
BottomPixel int `json:"bottom_pixel"`
}
type CroppingResponse struct {
CropImgPath string `json:"crop_img_path"`
CropImgCount int64 `json:"crop_img_count"`
ErrContent string `json:"err_content"`
CastTimeStr string `json:"cast_time_str"`
}
type GetPreferenceInfoResponse struct {
SaveImgPath string `json:"save_img_path"`
DownloadTimeout int `json:"download_timeout"`
CropImgBottomPixel int `json:"crop_img_bottom_pixel"`
UpdatedTime int64 `json:"updated_time"`
}
type SelectFileResponse struct {
FilePath string `json:"file_path"`
ValidURLs []string `json:"valid_urls"`
}
type SetPreferenceInfoRequest struct {
SaveImgPath string `json:"save_img_path"`
DownloadTimeout int `json:"download_timeout"`
CropImgBottomPixel int `json:"crop_img_bottom_pixel"`
}
type SetPreferenceInfoResponse struct {
UpdatedTime int64 `json:"updated_time"`
}
type ShufflingRequest struct {
ImgSavePath string `json:"img_save_path"`
MaxNumImage int `json:"max_num_image"`
}
type ShufflingResponse struct {
ShuffleImgPath string `json:"shuffle_img_path"`
CastTimeStr string `json:"cast_time_str"`
}
type SystemConfig struct {
ID int64 `db:"id"`
Key string `db:"key"`
Content string `db:"content"`
Version int `db:"version"`
CreatedAt int64 `db:"created_at"`
UpdatedAt int64 `db:"updated_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.