Forked the emersion/go-imap v1 project.
This commit is contained in:
22
store.go
Normal file
22
store.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package imap
|
||||
|
||||
// StoreOptions contains options for the STORE command.
|
||||
type StoreOptions struct {
|
||||
UnchangedSince uint64 // requires CONDSTORE
|
||||
}
|
||||
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user