outputs

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package outputs provides output modules for Keep data.

Index

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 NewHTML

func NewHTML() *HTMLOutput

NewHTML creates a new HTML output.

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) Finalize

func (o *HTMLOutput) Finalize(ctx context.Context) 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 NewJSON

func NewJSON() *JSONOutput

NewJSON creates a new JSON output.

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) Finalize

func (o *JSONOutput) Finalize(ctx context.Context) 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 NewMarkdown

func NewMarkdown() *MarkdownOutput

NewMarkdown creates a new Markdown output.

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) Finalize

func (o *MarkdownOutput) Finalize(ctx context.Context) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL