Extract several packages to form a public API

This commit is contained in:
fox.cpp 2020-07-14 20:36:18 +03:00
parent 7d497f88f0
commit bcceec4fe4
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0
170 changed files with 385 additions and 392 deletions

View file

@ -5,7 +5,7 @@ import (
"fmt"
appendlimit "github.com/emersion/go-imap-appendlimit"
"github.com/foxcpp/maddy/internal/module"
"github.com/foxcpp/maddy/framework/module"
"github.com/urfave/cli"
)

View file

@ -12,7 +12,7 @@ import (
"github.com/emersion/go-imap"
imapsql "github.com/foxcpp/go-imap-sql"
"github.com/foxcpp/maddy/cmd/maddyctl/clitools"
"github.com/foxcpp/maddy/internal/module"
"github.com/foxcpp/maddy/framework/module"
"github.com/urfave/cli"
)

View file

@ -7,7 +7,7 @@ import (
specialuse "github.com/emersion/go-imap-specialuse"
"github.com/foxcpp/maddy/cmd/maddyctl/clitools"
"github.com/foxcpp/maddy/internal/module"
"github.com/foxcpp/maddy/framework/module"
"github.com/urfave/cli"
)

View file

@ -8,11 +8,11 @@ import (
"path/filepath"
"github.com/foxcpp/maddy"
"github.com/foxcpp/maddy/internal/config"
"github.com/foxcpp/maddy/internal/hooks"
"github.com/foxcpp/maddy/internal/module"
parser "github.com/foxcpp/maddy/framework/cfgparser"
"github.com/foxcpp/maddy/framework/config"
"github.com/foxcpp/maddy/framework/hooks"
"github.com/foxcpp/maddy/framework/module"
"github.com/foxcpp/maddy/internal/updatepipe"
parser "github.com/foxcpp/maddy/pkg/cfgparser"
"github.com/urfave/cli"
"golang.org/x/crypto/bcrypt"
)

View file

@ -6,7 +6,7 @@ import (
"os"
"github.com/foxcpp/maddy/cmd/maddyctl/clitools"
"github.com/foxcpp/maddy/internal/module"
"github.com/foxcpp/maddy/framework/module"
"github.com/urfave/cli"
)