mirror of
https://github.com/moul/sshportal.git
synced 2025-11-12 08:20:34 +08:00
chore: fix lint issues
This commit is contained in:
parent
7ae90b9199
commit
ede8b3ecf2
2 changed files with 2 additions and 8 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
package bastion // import "moul.io/sshportal/pkg/bastion"
|
package bastion // import "moul.io/sshportal/pkg/bastion"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"moul.io/sshportal/pkg/dbmodels"
|
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
|
"moul.io/sshportal/pkg/dbmodels"
|
||||||
)
|
)
|
||||||
|
|
||||||
type byWeight []*dbmodels.ACL
|
type byWeight []*dbmodels.ACL
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,6 @@ import (
|
||||||
gossh "golang.org/x/crypto/ssh"
|
gossh "golang.org/x/crypto/ssh"
|
||||||
)
|
)
|
||||||
|
|
||||||
type forwardData struct {
|
|
||||||
DestinationHost string
|
|
||||||
DestinationPort uint32
|
|
||||||
SourceHost string
|
|
||||||
SourcePort uint32
|
|
||||||
}
|
|
||||||
|
|
||||||
type sessionConfig struct {
|
type sessionConfig struct {
|
||||||
Addr string
|
Addr string
|
||||||
Logs string
|
Logs string
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue