3
0

Move internal/http to pkg/http

This commit is contained in:
Denis Arh
2019-10-01 17:49:59 +02:00
parent 9a51289d81
commit 52901a9385
10 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -12,8 +12,8 @@ import (
"go.uber.org/zap/zapcore"
gomail "gopkg.in/mail.v2"
httpClient "github.com/cortezaproject/corteza-server/internal/http"
"github.com/cortezaproject/corteza-server/internal/mail"
httpClient "github.com/cortezaproject/corteza-server/pkg/http"
"github.com/cortezaproject/corteza-server/pkg/logger"
)
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
"github.com/cortezaproject/corteza-server/internal/http"
"github.com/cortezaproject/corteza-server/pkg/http"
)
func FromURL(fileURL string) (io.ReadCloser, error) {
+1 -1
View File
@@ -6,11 +6,11 @@ import (
"go.uber.org/zap"
"github.com/cortezaproject/corteza-server/internal/http"
"github.com/cortezaproject/corteza-server/internal/permissions"
"github.com/cortezaproject/corteza-server/internal/store"
"github.com/cortezaproject/corteza-server/messaging/repository"
"github.com/cortezaproject/corteza-server/pkg/cli/options"
"github.com/cortezaproject/corteza-server/pkg/http"
)
type (
+1 -1
View File
@@ -12,11 +12,11 @@ import (
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"github.com/cortezaproject/corteza-server/internal/http"
"github.com/cortezaproject/corteza-server/internal/store"
"github.com/cortezaproject/corteza-server/messaging/repository"
"github.com/cortezaproject/corteza-server/messaging/types"
"github.com/cortezaproject/corteza-server/pkg/auth"
"github.com/cortezaproject/corteza-server/pkg/http"
"github.com/cortezaproject/corteza-server/pkg/logger"
)
+1 -1
View File
@@ -10,10 +10,10 @@ import (
"github.com/stretchr/testify/require"
"github.com/cortezaproject/corteza-server/internal/http"
"github.com/cortezaproject/corteza-server/messaging/repository"
"github.com/cortezaproject/corteza-server/messaging/types"
"github.com/cortezaproject/corteza-server/pkg/auth"
"github.com/cortezaproject/corteza-server/pkg/http"
)
func TestOutgoingWebhook(t *testing.T) {
+1 -1
View File
@@ -5,10 +5,10 @@ import (
"os"
"time"
"github.com/cortezaproject/corteza-server/internal/http"
"github.com/cortezaproject/corteza-server/internal/mail"
"github.com/cortezaproject/corteza-server/pkg/auth"
"github.com/cortezaproject/corteza-server/pkg/cli/options"
"github.com/cortezaproject/corteza-server/pkg/http"
)
func InitGeneralServices(smtpOpt *options.SMTPOpt, jwtOpt *options.JWTOpt, httpClientOpt *options.HttpClientOpt) {