fetch

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchGembox

func FetchGembox(username string) error

FetchGembox fetches gembox from the given address using the client certificate

func FetchGemboxGMAP

func FetchGemboxGMAP(username string) error

FetchGembox fetches gembox from the given address using the client certificate

Types

type Message

type Message struct {
	Senders     []string
	Timestamps  []time.Time
	FullText    string
	MessageBody string
	Msgid       string
	Tags        []string
	Untags      []string
	Subject     string
	Recipients  []string
}

func ParseGembox

func ParseGembox(gemboxData string) ([]Message, error)

func ParseGemboxGMAP

func ParseGemboxGMAP(gemboxData string, lastFetched time.Time) ([]Message, error)

Jump to

Keyboard shortcuts

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