lore

package
v0.0.0-...-4b25d55 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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