make the sdk a separate module

The SFTPGo SDK now is at the following URL

https://github.com/sftpgo/sdk

Fixes #657

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-01-06 11:54:43 +01:00
parent 6d3d94a01f
commit 1f619d5ea6
76 changed files with 73 additions and 5767 deletions

View File

@@ -1,7 +1,7 @@
package kms
import (
sdkkms "github.com/drakkan/sftpgo/v2/sdk/kms"
sdkkms "github.com/sftpgo/sdk/kms"
)
// BaseSecret defines the base struct shared among all the secret providers

View File

@@ -9,7 +9,7 @@ import (
"errors"
"io"
sdkkms "github.com/drakkan/sftpgo/v2/sdk/kms"
sdkkms "github.com/sftpgo/sdk/kms"
)
var (

View File

@@ -8,8 +8,9 @@ import (
"strings"
"sync"
sdkkms "github.com/sftpgo/sdk/kms"
"github.com/drakkan/sftpgo/v2/logger"
sdkkms "github.com/drakkan/sftpgo/v2/sdk/kms"
)
// SecretProvider defines the interface for a KMS secrets provider

View File

@@ -7,10 +7,9 @@ import (
"encoding/hex"
"io"
sdkkms "github.com/sftpgo/sdk/kms"
"gocloud.dev/secrets/localsecrets"
"golang.org/x/crypto/hkdf"
sdkkms "github.com/drakkan/sftpgo/v2/sdk/kms"
)
func init() {