MCPcopy Create free account
hub / github.com/foxcpp/maddy / Storage

Struct Storage

internal/storage/imapsql/imapsql.go:63–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61const modName = "storage.imapsql"
62
63type Storage struct {
64 Back *imapsql.Backend
65 instName string
66 log *log.Logger
67
68 junkMbox string
69
70 driver string
71 dsn []string
72 blobStore module.BlobStore
73 opts *imapsql.Opts
74
75 resolver dns.Resolver
76
77 updPipe updatepipe.P
78 updPushStop chan struct{}
79 outboundUpds chan mess.Update
80
81 filters module.IMAPFilter
82
83 deliveryMap module.Table
84 deliveryNormalize func(context.Context, string) (string, error)
85 authMap module.Table
86 authNormalize func(context.Context, string) (string, error)
87}
88
89func (store *Storage) Name() string {
90 return modName

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected