Skip to content

Commit

Permalink
separate types to avoid circular dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pouriyajamshidi committed Nov 8, 2024
1 parent 83f9894 commit 285f83a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions internal/types/types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package types

import (
"net/netip"

"github.com/vishvananda/netlink"
)

// UserInput holds the information provided through flags
type UserInput struct {
Interface netlink.Link
IP netip.Addr
Port uint16
}

0 comments on commit 285f83a

Please sign in to comment.