mailaccountmeta

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mailaccountmeta provides mail account metadata parsing and serialization.

Index

Constants

View Source
const Separator = "\n\n-- GoatFlow META --\n"

Variables

This section is empty.

Functions

func EncodeComment

func EncodeComment(comment string, meta Metadata) string

Types

type Metadata

type Metadata struct {
	DispatchingMode     string `json:"dispatching_mode,omitempty"`
	AllowTrustedHeaders *bool  `json:"allow_trusted_headers,omitempty"`
	PollIntervalSeconds *int   `json:"poll_interval_seconds,omitempty"`
}

func DecodeComment

func DecodeComment(raw string) (string, Metadata)

Jump to

Keyboard shortcuts

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