Documentation
¶
Overview ¶
Package outputs provides output modules for Keep data.
Index ¶
- type HTMLOutput
- func (o *HTMLOutput) ConfigSchema() []core.ConfigOption
- func (o *HTMLOutput) Description() string
- func (o *HTMLOutput) Export(ctx context.Context, item core.ProcessedItem) error
- func (o *HTMLOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
- func (o *HTMLOutput) Finalize(ctx context.Context) error
- func (o *HTMLOutput) ID() string
- func (o *HTMLOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
- func (o *HTMLOutput) Name() string
- func (o *HTMLOutput) SupportedItemTypes() []string
- type JSONOutput
- func (o *JSONOutput) ConfigSchema() []core.ConfigOption
- func (o *JSONOutput) Description() string
- func (o *JSONOutput) Export(ctx context.Context, item core.ProcessedItem) error
- func (o *JSONOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
- func (o *JSONOutput) Finalize(ctx context.Context) error
- func (o *JSONOutput) ID() string
- func (o *JSONOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
- func (o *JSONOutput) Name() string
- func (o *JSONOutput) SupportedItemTypes() []string
- type MarkdownOutput
- func (o *MarkdownOutput) ConfigSchema() []core.ConfigOption
- func (o *MarkdownOutput) Description() string
- func (o *MarkdownOutput) Export(ctx context.Context, item core.ProcessedItem) error
- func (o *MarkdownOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
- func (o *MarkdownOutput) Finalize(ctx context.Context) error
- func (o *MarkdownOutput) ID() string
- func (o *MarkdownOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
- func (o *MarkdownOutput) Name() string
- func (o *MarkdownOutput) SupportedItemTypes() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTMLOutput ¶
type HTMLOutput struct {
// contains filtered or unexported fields
}
HTMLOutput exports Keep notes to clean HTML files.
func (*HTMLOutput) ConfigSchema ¶
func (o *HTMLOutput) ConfigSchema() []core.ConfigOption
func (*HTMLOutput) Description ¶
func (o *HTMLOutput) Description() string
func (*HTMLOutput) Export ¶
func (o *HTMLOutput) Export(ctx context.Context, item core.ProcessedItem) error
func (*HTMLOutput) ExportBatch ¶
func (o *HTMLOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
func (*HTMLOutput) ID ¶
func (o *HTMLOutput) ID() string
func (*HTMLOutput) Initialize ¶
func (o *HTMLOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
func (*HTMLOutput) Name ¶
func (o *HTMLOutput) Name() string
func (*HTMLOutput) SupportedItemTypes ¶
func (o *HTMLOutput) SupportedItemTypes() []string
type JSONOutput ¶
type JSONOutput struct {
// contains filtered or unexported fields
}
JSONOutput exports Keep notes to a single JSON file.
func (*JSONOutput) ConfigSchema ¶
func (o *JSONOutput) ConfigSchema() []core.ConfigOption
func (*JSONOutput) Description ¶
func (o *JSONOutput) Description() string
func (*JSONOutput) Export ¶
func (o *JSONOutput) Export(ctx context.Context, item core.ProcessedItem) error
func (*JSONOutput) ExportBatch ¶
func (o *JSONOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
func (*JSONOutput) ID ¶
func (o *JSONOutput) ID() string
func (*JSONOutput) Initialize ¶
func (o *JSONOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
func (*JSONOutput) Name ¶
func (o *JSONOutput) Name() string
func (*JSONOutput) SupportedItemTypes ¶
func (o *JSONOutput) SupportedItemTypes() []string
type MarkdownOutput ¶
type MarkdownOutput struct {
// contains filtered or unexported fields
}
MarkdownOutput exports Keep notes to Markdown files.
func (*MarkdownOutput) ConfigSchema ¶
func (o *MarkdownOutput) ConfigSchema() []core.ConfigOption
func (*MarkdownOutput) Description ¶
func (o *MarkdownOutput) Description() string
func (*MarkdownOutput) Export ¶
func (o *MarkdownOutput) Export(ctx context.Context, item core.ProcessedItem) error
func (*MarkdownOutput) ExportBatch ¶
func (o *MarkdownOutput) ExportBatch(ctx context.Context, items []core.ProcessedItem, progress core.ProgressFunc) error
func (*MarkdownOutput) ID ¶
func (o *MarkdownOutput) ID() string
func (*MarkdownOutput) Initialize ¶
func (o *MarkdownOutput) Initialize(ctx context.Context, cfg core.OutputConfig) error
func (*MarkdownOutput) Name ¶
func (o *MarkdownOutput) Name() string
func (*MarkdownOutput) SupportedItemTypes ¶
func (o *MarkdownOutput) SupportedItemTypes() []string
Click to show internal directories.
Click to hide internal directories.