Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTMLExporter ¶
type HTMLExporter struct{}
HTMLExporter convert an article to HTML format
func (*HTMLExporter) Export ¶
func (exp *HTMLExporter) Export(ctx context.Context, article *model.Article) (*downloader.WebAsset, error)
Export an article to HTML format
type SingleHTMLExporter ¶
type SingleHTMLExporter struct {
// contains filtered or unexported fields
}
SingleHTMLExporter convert an article to HTML offline format
func (*SingleHTMLExporter) Export ¶
func (exp *SingleHTMLExporter) Export(ctx context.Context, article *model.Article) (*downloader.WebAsset, error)
Export an article to HTML offline format
type ZIPExporter ¶
type ZIPExporter struct {
// contains filtered or unexported fields
}
ZIPExporter convert an article to a ZIP archive
func (*ZIPExporter) Export ¶
func (exp *ZIPExporter) Export(ctx context.Context, article *model.Article) (*downloader.WebAsset, error)
Export an article to ZIP archive
Click to show internal directories.
Click to hide internal directories.