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

@ -13,11 +13,11 @@ import (
"runtime/debug"
"strings"
"github.com/foxcpp/maddy/internal/config"
"github.com/foxcpp/maddy/internal/hooks"
"github.com/foxcpp/maddy/internal/log"
"github.com/foxcpp/maddy/internal/module"
parser "github.com/foxcpp/maddy/pkg/cfgparser"
parser "github.com/foxcpp/maddy/framework/cfgparser"
"github.com/foxcpp/maddy/framework/config"
"github.com/foxcpp/maddy/framework/hooks"
"github.com/foxcpp/maddy/framework/log"
"github.com/foxcpp/maddy/framework/module"
"github.com/prometheus/client_golang/prometheus/promhttp"
// Import packages for side-effect of module registration.