Skip to content

Commit 5f9b6c6

Browse files
authored
Release v2.1.0 (#212)
2 parents 3ef7bd0 + 2d2560c commit 5f9b6c6

65 files changed

Lines changed: 131 additions & 131 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

amneziawg/client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"strconv"
1111
"strings"
1212

13-
"github.com/sentinel-official/sentinel-go-sdk/process"
14-
"github.com/sentinel-official/sentinel-go-sdk/types"
15-
"github.com/sentinel-official/sentinel-go-sdk/utils"
13+
"github.com/sentinel-official/sentinel-go-sdk/v2/process"
14+
"github.com/sentinel-official/sentinel-go-sdk/v2/types"
15+
"github.com/sentinel-official/sentinel-go-sdk/v2/utils"
1616
)
1717

1818
// Ensure Client implements the types.ClientService interface.

amneziawg/client_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/spf13/pflag"
1313
"github.com/spf13/viper"
1414

15-
"github.com/sentinel-official/sentinel-go-sdk/utils"
15+
"github.com/sentinel-official/sentinel-go-sdk/v2/utils"
1616
)
1717

1818
// PeerClientConfig represents the configuration for a single AmneziaWG peer.

amneziawg/peer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net/netip"
55
"time"
66

7-
"github.com/sentinel-official/sentinel-go-sdk/types"
7+
"github.com/sentinel-official/sentinel-go-sdk/v2/types"
88
)
99

1010
// Peer represents an AmneziaWG peer with identifying information and network statistics.

amneziawg/responses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package amneziawg
22

33
import (
4-
"github.com/sentinel-official/sentinel-go-sdk/libs/netip"
4+
"github.com/sentinel-official/sentinel-go-sdk/v2/libs/netip"
55
)
66

77
// AddPeerResponse represents the response for adding a peer to the AmneziaWG server.

amneziawg/server.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
"strings"
1212
"time"
1313

14-
"github.com/sentinel-official/sentinel-go-sdk/libs/netip"
15-
"github.com/sentinel-official/sentinel-go-sdk/libs/safe"
16-
"github.com/sentinel-official/sentinel-go-sdk/process"
17-
"github.com/sentinel-official/sentinel-go-sdk/types"
18-
"github.com/sentinel-official/sentinel-go-sdk/utils"
14+
"github.com/sentinel-official/sentinel-go-sdk/v2/libs/netip"
15+
"github.com/sentinel-official/sentinel-go-sdk/v2/libs/safe"
16+
"github.com/sentinel-official/sentinel-go-sdk/v2/process"
17+
"github.com/sentinel-official/sentinel-go-sdk/v2/types"
18+
"github.com/sentinel-official/sentinel-go-sdk/v2/utils"
1919
)
2020

2121
// Ensure Server implements types.ServerService interface.

amneziawg/server_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"github.com/spf13/pflag"
1212
"github.com/spf13/viper"
1313

14-
"github.com/sentinel-official/sentinel-go-sdk/libs/netip"
15-
"github.com/sentinel-official/sentinel-go-sdk/utils"
14+
"github.com/sentinel-official/sentinel-go-sdk/v2/libs/netip"
15+
"github.com/sentinel-official/sentinel-go-sdk/v2/utils"
1616
)
1717

1818
// ServerConfig represents the AmneziaWG server configuration.

app/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os/signal"
77
"syscall"
88

9-
"github.com/sentinel-official/sentinel-go-sdk/libs/log"
9+
"github.com/sentinel-official/sentinel-go-sdk/v2/libs/log"
1010
)
1111

1212
// SignalContext returns a context that is canceled when the process receives

app/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/spf13/cobra"
1010

11-
"github.com/sentinel-official/sentinel-go-sdk/utils"
11+
"github.com/sentinel-official/sentinel-go-sdk/v2/utils"
1212
)
1313

1414
// Run initializes the root Cobra command, sets up signal handling,

cmd/keys.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"github.com/cosmos/go-bip39"
1111
"github.com/spf13/cobra"
1212

13-
"github.com/sentinel-official/sentinel-go-sdk/core"
14-
"github.com/sentinel-official/sentinel-go-sdk/core/config"
15-
"github.com/sentinel-official/sentinel-go-sdk/core/input"
16-
"github.com/sentinel-official/sentinel-go-sdk/types"
17-
"github.com/sentinel-official/sentinel-go-sdk/utils"
13+
"github.com/sentinel-official/sentinel-go-sdk/v2/core"
14+
"github.com/sentinel-official/sentinel-go-sdk/v2/core/config"
15+
"github.com/sentinel-official/sentinel-go-sdk/v2/core/input"
16+
"github.com/sentinel-official/sentinel-go-sdk/v2/types"
17+
"github.com/sentinel-official/sentinel-go-sdk/v2/utils"
1818
)
1919

2020
// NewKeysCmd creates and returns a new Cobra command for key management sub-commands.

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"github.com/spf13/cobra"
55

6-
"github.com/sentinel-official/sentinel-go-sdk/version"
6+
"github.com/sentinel-official/sentinel-go-sdk/v2/version"
77
)
88

99
// NewVersionCmd creates and returns the version command.

0 commit comments

Comments
 (0)