Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nat/nat.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ type PortBinding struct {
}

// PortMap is a collection of PortBinding indexed by Port
type PortMap map[Port][]PortBinding
type PortMap = map[Port][]PortBinding

// PortSet is a collection of structs indexed by Port
type PortSet map[Port]struct{}
type PortSet = map[Port]struct{}

// Port is a string containing port number and protocol in the format "80/tcp"
type Port string
Expand Down
Loading