mirror of
https://github.com/aljazceru/ark.git
synced 2026-01-21 04:34:19 +01:00
Rename ark-sdk > ark/pkg/client-sdk (#236)
This commit is contained in:
@@ -6,10 +6,10 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client"
|
||||
"github.com/ark-network/ark-sdk/internal/utils"
|
||||
arkv1 "github.com/ark-network/ark/api-spec/protobuf/gen/ark/v1"
|
||||
"github.com/ark-network/ark/common/tree"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/internal/utils"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials"
|
||||
"google.golang.org/grpc/credentials/insecure"
|
||||
|
||||
@@ -8,13 +8,13 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client"
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/arkservice"
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/arkservice/ark_service"
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark-sdk/internal/utils"
|
||||
arkv1 "github.com/ark-network/ark/api-spec/protobuf/gen/ark/v1"
|
||||
"github.com/ark-network/ark/common/tree"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/arkservice"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/arkservice/ark_service"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/internal/utils"
|
||||
"github.com/btcsuite/btcd/btcutil/psbt"
|
||||
httptransport "github.com/go-openapi/runtime/client"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
cr "github.com/go-openapi/runtime/client"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// NewArkServiceClaimPaymentParams creates a new ArkServiceClaimPaymentParams object,
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceClaimPaymentReader is a Reader for the ArkServiceClaimPayment structure.
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
cr "github.com/go-openapi/runtime/client"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// NewArkServiceFinalizePaymentParams creates a new ArkServiceFinalizePaymentParams object,
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceFinalizePaymentReader is a Reader for the ArkServiceFinalizePayment structure.
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/go-openapi/strfmt"
|
||||
"github.com/go-openapi/swag"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceGetEventStreamReader is a Reader for the ArkServiceGetEventStream structure.
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceGetInfoReader is a Reader for the ArkServiceGetInfo structure.
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceGetRoundByIDReader is a Reader for the ArkServiceGetRoundByID structure.
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceGetRoundReader is a Reader for the ArkServiceGetRound structure.
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceListVtxosReader is a Reader for the ArkServiceListVtxos structure.
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
cr "github.com/go-openapi/runtime/client"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// NewArkServiceOnboardParams creates a new ArkServiceOnboardParams object,
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceOnboardReader is a Reader for the ArkServiceOnboard structure.
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServicePingReader is a Reader for the ArkServicePing structure.
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
cr "github.com/go-openapi/runtime/client"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// NewArkServiceRegisterPaymentParams creates a new ArkServiceRegisterPaymentParams object,
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceRegisterPaymentReader is a Reader for the ArkServiceRegisterPayment structure.
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
cr "github.com/go-openapi/runtime/client"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// NewArkServiceTrustedOnboardingParams creates a new ArkServiceTrustedOnboardingParams object,
|
||||
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/go-openapi/runtime"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/models"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/models"
|
||||
)
|
||||
|
||||
// ArkServiceTrustedOnboardingReader is a Reader for the ArkServiceTrustedOnboarding structure.
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
httptransport "github.com/go-openapi/runtime/client"
|
||||
"github.com/go-openapi/strfmt"
|
||||
|
||||
"github.com/ark-network/ark-sdk/client/rest/service/arkservice/ark_service"
|
||||
"github.com/ark-network/ark/pkg/client-sdk/client/rest/service/arkservice/ark_service"
|
||||
)
|
||||
|
||||
// Default ark v1 service proto HTTP client.
|
||||
|
||||
Reference in New Issue
Block a user