Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMediaTypes = []string{
".jpg", ".jpeg", ".png", ".gif", ".bmp", ".webp", ".svg", ".avif",
}
DefaultMediaTypes 是 Comigo 默认展示的压缩包内媒体类型。
Functions ¶
func IsSupportMedia ¶
IsSupportMedia 判断压缩包内文件是否应作为页面展示。
Types ¶
type Options ¶
type Options struct {
BookID string
TextEncoding string
MediaTypes []string
ExcludeDirs []string
SortBy string
}
Options 控制压缩包扫描和读取行为。
Click to show internal directories.
Click to hide internal directories.