WIP
This commit is contained in:
12
internal/types/openports.go
Normal file
12
internal/types/openports.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package types
|
||||
|
||||
type TPort struct {
|
||||
Address string `yaml:"address"`
|
||||
Port uint16 `yaml:"port"`
|
||||
}
|
||||
|
||||
type TOpenPort struct {
|
||||
Name string `yaml:"name"`
|
||||
Local TPort `yaml:"local"`
|
||||
Remote TPort `yaml:"remote"`
|
||||
}
|
||||
Reference in New Issue
Block a user