common

package
v0.4.7-1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package common provides shared utilities for go-pugleaf

Index

Constants

This section is empty.

Variables

View Source
var IgnoreHeadersMap = map[string]bool{
	"message-id": true,
	"subject":    true,
	"from":       true,
	"date":       true,
	"references": true,
	"path":       true,
	"xref":       true,
}

IgnoreHeadersMap is a map version of IgnoreHeaders for fast lookup

View Source
var VerboseHeaders = false

Functions

func ReconstructHeaders

func ReconstructHeaders(article *models.Article, withPath bool, nntphostname *string) ([]string, error)

ReconstructHeaders reconstructs the header lines from an article for transmission

Types

This section is empty.

Jump to

Keyboard shortcuts

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