Files
go-imap/store.go
T
Simon Ser b1f900fe6e imap: add StoreOptions
See RFC 4466 section 2.5.
2023-04-12 10:50:46 +02:00

21 lines
366 B
Go

package imap
// StoreOptions contains options for the STORE command.
type StoreOptions struct{}
// StoreFlagsOp is a flag operation: set, add or delete.
type StoreFlagsOp int
const (
StoreFlagsSet StoreFlagsOp = iota
StoreFlagsAdd
StoreFlagsDel
)
// StoreFlags alters message flags.
type StoreFlags struct {
Op StoreFlagsOp
Silent bool
Flags []Flag
}