threading

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailHeader

type EmailHeader struct {
	ID         string
	InReplyTo  string
	References []string
	Subject    string
	Date       time.Time
	EmailID    string
	Sender     string
}

type Thread

type Thread struct {
	Root     *ThreadNode
	LatestAt time.Time
	Count    int
	Subject  string
	Senders  []string
}

func Build

func Build(headers []EmailHeader) []Thread

type ThreadNode

type ThreadNode struct {
	EmailID  string
	Children []*ThreadNode
	Date     time.Time
	Sender   string
	Subject  string
}

Jump to

Keyboard shortcuts

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