Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 032b6e5096 |
@@ -17,8 +17,8 @@ import (
|
|||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/server"
|
"tunnel_pls/internal/server"
|
||||||
"tunnel_pls/internal/transport"
|
"tunnel_pls/internal/transport"
|
||||||
"tunnel_pls/internal/types"
|
|
||||||
"tunnel_pls/internal/version"
|
"tunnel_pls/internal/version"
|
||||||
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ import (
|
|||||||
"tunnel_pls/internal/config"
|
"tunnel_pls/internal/config"
|
||||||
"tunnel_pls/internal/port"
|
"tunnel_pls/internal/port"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import "tunnel_pls/types"
|
||||||
"tunnel_pls/internal/types"
|
|
||||||
)
|
|
||||||
|
|
||||||
type Config interface {
|
type Config interface {
|
||||||
Domain() string
|
Domain() string
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package config
|
|||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/joho/godotenv"
|
"github.com/joho/godotenv"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/config"
|
"tunnel_pls/internal/config"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
proto "git.fossy.my.id/bagas/tunnel-please-grpc/gen"
|
proto "git.fossy.my.id/bagas/tunnel-please-grpc/gen"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/session/forwarder"
|
|
||||||
"tunnel_pls/internal/session/interaction"
|
|
||||||
"tunnel_pls/internal/session/lifecycle"
|
|
||||||
"tunnel_pls/internal/session/slug"
|
|
||||||
"tunnel_pls/internal/types"
|
|
||||||
|
|
||||||
"tunnel_pls/internal/port"
|
"tunnel_pls/internal/port"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
|
"tunnel_pls/session/forwarder"
|
||||||
|
"tunnel_pls/session/interaction"
|
||||||
|
"tunnel_pls/session/lifecycle"
|
||||||
|
"tunnel_pls/session/slug"
|
||||||
|
"tunnel_pls/types"
|
||||||
|
|
||||||
proto "git.fossy.my.id/bagas/tunnel-please-grpc/gen"
|
proto "git.fossy.my.id/bagas/tunnel-please-grpc/gen"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ package registry
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
"tunnel_pls/internal/session/forwarder"
|
"tunnel_pls/session/forwarder"
|
||||||
"tunnel_pls/internal/session/interaction"
|
"tunnel_pls/session/interaction"
|
||||||
"tunnel_pls/internal/session/lifecycle"
|
"tunnel_pls/session/lifecycle"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Key = types.SessionKey
|
type Key = types.SessionKey
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/port"
|
"tunnel_pls/internal/port"
|
||||||
"tunnel_pls/internal/session/forwarder"
|
"tunnel_pls/session/forwarder"
|
||||||
"tunnel_pls/internal/session/interaction"
|
"tunnel_pls/session/interaction"
|
||||||
"tunnel_pls/internal/session/lifecycle"
|
"tunnel_pls/session/lifecycle"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
"tunnel_pls/internal/port"
|
"tunnel_pls/internal/port"
|
||||||
"tunnel_pls/internal/random"
|
"tunnel_pls/internal/random"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/session"
|
"tunnel_pls/session"
|
||||||
|
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import (
|
|||||||
"tunnel_pls/internal/http/stream"
|
"tunnel_pls/internal/http/stream"
|
||||||
"tunnel_pls/internal/middleware"
|
"tunnel_pls/internal/middleware"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -11,11 +11,11 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/session/forwarder"
|
"tunnel_pls/session/forwarder"
|
||||||
"tunnel_pls/internal/session/interaction"
|
"tunnel_pls/session/interaction"
|
||||||
"tunnel_pls/internal/session/lifecycle"
|
"tunnel_pls/session/lifecycle"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/config"
|
"tunnel_pls/internal/config"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
|
|||||||
+2
-5
@@ -2,8 +2,6 @@
|
|||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended"
|
"config:recommended"
|
||||||
],
|
],
|
||||||
"prConcurrentLimit": 1,
|
|
||||||
"prHourlyLimit": 1,
|
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"matchUpdateTypes": [
|
"matchUpdateTypes": [
|
||||||
@@ -12,10 +10,9 @@
|
|||||||
"pin",
|
"pin",
|
||||||
"digest"
|
"digest"
|
||||||
],
|
],
|
||||||
"groupName": "all-dependencies",
|
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
"matchPackageNames": [
|
"baseBranchPatterns": [
|
||||||
"*"
|
"staging"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"sync"
|
"sync"
|
||||||
"tunnel_pls/internal/config"
|
"tunnel_pls/internal/config"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
@@ -10,8 +10,8 @@ import (
|
|||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"tunnel_pls/internal/config"
|
"tunnel_pls/internal/config"
|
||||||
"tunnel_pls/internal/random"
|
"tunnel_pls/internal/random"
|
||||||
"tunnel_pls/internal/session/slug"
|
"tunnel_pls/session/slug"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/charmbracelet/bubbles/help"
|
"github.com/charmbracelet/bubbles/help"
|
||||||
"github.com/charmbracelet/bubbles/key"
|
"github.com/charmbracelet/bubbles/key"
|
||||||
+1
-1
@@ -7,7 +7,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/charmbracelet/bubbles/key"
|
"github.com/charmbracelet/bubbles/key"
|
||||||
"github.com/charmbracelet/bubbles/list"
|
"github.com/charmbracelet/bubbles/list"
|
||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/random"
|
"tunnel_pls/internal/random"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/charmbracelet/bubbles/help"
|
"github.com/charmbracelet/bubbles/help"
|
||||||
"github.com/charmbracelet/bubbles/key"
|
"github.com/charmbracelet/bubbles/key"
|
||||||
@@ -3,7 +3,7 @@ package interaction
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/charmbracelet/bubbles/key"
|
"github.com/charmbracelet/bubbles/key"
|
||||||
"github.com/charmbracelet/bubbles/textinput"
|
"github.com/charmbracelet/bubbles/textinput"
|
||||||
@@ -6,10 +6,10 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/session/slug"
|
|
||||||
"tunnel_pls/internal/types"
|
|
||||||
|
|
||||||
portUtil "tunnel_pls/internal/port"
|
portUtil "tunnel_pls/internal/port"
|
||||||
|
"tunnel_pls/session/slug"
|
||||||
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"net"
|
"net"
|
||||||
"testing"
|
"testing"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
@@ -12,12 +12,12 @@ import (
|
|||||||
portUtil "tunnel_pls/internal/port"
|
portUtil "tunnel_pls/internal/port"
|
||||||
"tunnel_pls/internal/random"
|
"tunnel_pls/internal/random"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/session/forwarder"
|
|
||||||
"tunnel_pls/internal/session/interaction"
|
|
||||||
"tunnel_pls/internal/session/lifecycle"
|
|
||||||
"tunnel_pls/internal/session/slug"
|
|
||||||
"tunnel_pls/internal/transport"
|
"tunnel_pls/internal/transport"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/session/forwarder"
|
||||||
|
"tunnel_pls/session/interaction"
|
||||||
|
"tunnel_pls/session/lifecycle"
|
||||||
|
"tunnel_pls/session/slug"
|
||||||
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
@@ -15,8 +15,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
"tunnel_pls/internal/config"
|
"tunnel_pls/internal/config"
|
||||||
"tunnel_pls/internal/registry"
|
"tunnel_pls/internal/registry"
|
||||||
"tunnel_pls/internal/session/lifecycle"
|
"tunnel_pls/session/lifecycle"
|
||||||
"tunnel_pls/internal/types"
|
"tunnel_pls/types"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
Reference in New Issue
Block a user