mirror of
https://github.com/moul/sshportal.git
synced 2025-11-10 07:20:32 +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"
|
||||
|
||||
import (
|
||||
"moul.io/sshportal/pkg/dbmodels"
|
||||
"sort"
|
||||
|
||||
"moul.io/sshportal/pkg/dbmodels"
|
||||
)
|
||||
|
||||
type byWeight []*dbmodels.ACL
|
||||
|
|
|
|||
|
|
@ -13,13 +13,6 @@ import (
|
|||
gossh "golang.org/x/crypto/ssh"
|
||||
)
|
||||
|
||||
type forwardData struct {
|
||||
DestinationHost string
|
||||
DestinationPort uint32
|
||||
SourceHost string
|
||||
SourcePort uint32
|
||||
}
|
||||
|
||||
type sessionConfig struct {
|
||||
Addr string
|
||||
Logs string
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue