mirror of
https://github.com/lightninglabs/aperture.git
synced 2025-12-17 09:04:19 +01:00
multi: use moved lsat code
This commit is contained in:
@@ -9,8 +9,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightninglabs/aperture/mint"
|
"github.com/lightninglabs/aperture/mint"
|
||||||
"github.com/lightninglabs/loop/lsat"
|
|
||||||
"github.com/lightningnetwork/lnd/lntypes"
|
"github.com/lightningnetwork/lnd/lntypes"
|
||||||
"gopkg.in/macaroon.v2"
|
"gopkg.in/macaroon.v2"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/lightninglabs/aperture/auth"
|
"github.com/lightninglabs/aperture/auth"
|
||||||
"github.com/lightninglabs/loop/lsat"
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"gopkg.in/macaroon.v2"
|
"gopkg.in/macaroon.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightninglabs/aperture/mint"
|
"github.com/lightninglabs/aperture/mint"
|
||||||
"github.com/lightninglabs/loop/lsat"
|
|
||||||
"gopkg.in/macaroon.v2"
|
"gopkg.in/macaroon.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/lightninglabs/aperture/auth"
|
"github.com/lightninglabs/aperture/auth"
|
||||||
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightninglabs/aperture/mint"
|
"github.com/lightninglabs/aperture/mint"
|
||||||
"github.com/lightninglabs/loop/lsat"
|
|
||||||
"gopkg.in/macaroon.v2"
|
"gopkg.in/macaroon.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/lightninglabs/loop/lsat"
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/metadata"
|
"google.golang.org/grpc/metadata"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/lightninglabs/loop/lsat"
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightningnetwork/lnd/lntypes"
|
"github.com/lightningnetwork/lnd/lntypes"
|
||||||
"gopkg.in/macaroon.v2"
|
"gopkg.in/macaroon.v2"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/lightninglabs/loop/lsat"
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"gopkg.in/macaroon.v2"
|
"gopkg.in/macaroon.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
"github.com/lightninglabs/loop/lsat"
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightningnetwork/lnd/lntypes"
|
"github.com/lightningnetwork/lnd/lntypes"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/coreos/etcd/clientv3"
|
"github.com/coreos/etcd/clientv3"
|
||||||
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightninglabs/aperture/mint"
|
"github.com/lightninglabs/aperture/mint"
|
||||||
"github.com/lightninglabs/loop/lsat"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import (
|
|||||||
|
|
||||||
"github.com/coreos/etcd/clientv3"
|
"github.com/coreos/etcd/clientv3"
|
||||||
"github.com/coreos/etcd/embed"
|
"github.com/coreos/etcd/embed"
|
||||||
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightninglabs/aperture/mint"
|
"github.com/lightninglabs/aperture/mint"
|
||||||
"github.com/lightninglabs/loop/lsat"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// etcdSetup is a helper that instantiates a new etcd cluster along with a
|
// etcdSetup is a helper that instantiates a new etcd cluster along with a
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ package aperture
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
|
"github.com/lightninglabs/aperture/lsat"
|
||||||
"github.com/lightninglabs/aperture/mint"
|
"github.com/lightninglabs/aperture/mint"
|
||||||
"github.com/lightninglabs/aperture/proxy"
|
"github.com/lightninglabs/aperture/proxy"
|
||||||
"github.com/lightninglabs/loop/lsat"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// staticServiceLimiter provides static restrictions for services.
|
// staticServiceLimiter provides static restrictions for services.
|
||||||
|
|||||||
Reference in New Issue
Block a user