mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-05 22:17:39 +03:00
Redesign imapsql-ctl utility (now named maddyctl)
Now it is not tied go-imap-sql details (with the exception of special features), allowing it to be used with other storage backends that will be added in the future. --unsafe flag is removed and now maddyctl explicitly asks for confirmation in cases where transaction may be unsafe for connected clients. --yes flag disables that. In the future, maddy can be extended with IPC interface to push updates so it this restriction can be lifted altogether.
This commit is contained in:
parent
547f35d41f
commit
ae6decd876
24 changed files with 1241 additions and 1130 deletions
5
cmd/maddyctl/sqlite3.go
Normal file
5
cmd/maddyctl/sqlite3.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
// +build cgo,!nosqlite3
|
||||
|
||||
package main
|
||||
|
||||
import _ "github.com/mattn/go-sqlite3"
|
Loading…
Add table
Add a link
Reference in a new issue