Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter orchestrates driver -> parser -> image fetch -> storage.
func NewConverter ¶
NewConverter creates a converter with sensible defaults.
By default it uses: HTMLDriver + WechatParser + LocalStorage + http.DefaultClient.
type Option ¶
type Option func(*converterConfig)
Option configures a Converter.
func WithDriver ¶
func WithHTTPClient ¶
func WithParser ¶
func WithStorage ¶
Click to show internal directories.
Click to hide internal directories.