gembox

package
v0.0.0-...-40f4ec1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GemBox

type GemBox struct {
	Identifier     any // For your use
	MailboxAddress string
	MailboxBlurb   string
	Fingerprint    string
	Description    string
	Mails          []gemmail.GemMail
	CreatedTags    map[string]struct{}
}

func ParseGemBox

func ParseGemBox(identifier any, gembox string) GemBox

func ParseGemBox_MisfinB_old

func ParseGemBox_MisfinB_old(identifier any, gembox string) GemBox

func ParseGemBox_MisfinC_old

func ParseGemBox_MisfinC_old(identifier any, gembox string) GemBox

func (*GemBox) AppendGemMail

func (gembox *GemBox) AppendGemMail(gemmail gemmail.GemMail)

NOTE: This doesn't lock the mutex, so you must do that manually.

func (*GemBox) GetGemMailAtIndex

func (gembox *GemBox) GetGemMailAtIndex(index int) *gemmail.GemMail

func (*GemBox) GetGemMailWithID

func (gembox *GemBox) GetGemMailWithID(ID string) (*gemmail.GemMail, int)

func (*GemBox) GetGemMailsWithTag

func (gembox *GemBox) GetGemMailsWithTag(tag string) []*gemmail.GemMail

func (*GemBox) RemoveGemMail

func (gembox *GemBox) RemoveGemMail(index int)

Remove gemmail at specified index from GemBox's mails. NOTE: This doesn't lock the mutex, so you must do that manually.

func (*GemBox) RemoveGemMailByID

func (gembox *GemBox) RemoveGemMailByID(ID string)

func (*GemBox) String

func (gembox *GemBox) String() string

func (*GemBox) String_MisfinB_old

func (gembox *GemBox) String_MisfinB_old() string

func (*GemBox) String_MisfinC_old

func (gembox *GemBox) String_MisfinC_old() string

Jump to

Keyboard shortcuts

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