lore

package
v0.0.0-...-0f61b41 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscussionType

func DiscussionType(msg *email.Email) dashapi.DiscussionType

DiscussionType extracts the specific discussion type from an email.

func ReadArchive

func ReadArchive(dir string, messages chan<- *EmailReader) error

ReadArchive queries the parsed messages from a single LKML message archive.

Types

type EmailReader

type EmailReader struct {
	Extract func() ([]byte, error)
}

type Thread

type Thread struct {
	Subject   string
	MessageID string
	Type      dashapi.DiscussionType
	BugIDs    []string
	Messages  []*email.Email
}

func Threads

func Threads(emails []*email.Email) []*Thread

Threads extracts individual threads from a list of emails.

Jump to

Keyboard shortcuts

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