sieve

package module
v0.0.0-...-cf8e1a9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 6 Imported by: 0

README

go-sieve

godocs.io builds.sr.ht status

A Go library for the Sieve email filtering language.

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument interface {
	// contains filtered or unexported methods
}

type ArgumentNumber

type ArgumentNumber struct {
	Value      int
	Quantifier byte
}

type ArgumentStringList

type ArgumentStringList []string

type ArgumentTag

type ArgumentTag string

type Command

type Command struct {
	Name      string
	Arguments []Argument
	Tests     []Test
	Block     []Command
}

func Parse

func Parse(r io.Reader) ([]Command, error)

type Test

type Test struct {
	Name      string
	Arguments []Argument
	Tests     []Test
}

Jump to

Keyboard shortcuts

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