Skip to content

Commit

Permalink
add temporary containeraddrnoproto
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcacheux committed Nov 14, 2024
1 parent 3fdf769 commit e8b4cdc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions process/utils.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package process

type ContainerAddrNoProto struct {
Ip string
Port int32
Protocol ConnectionType
}

func (c *ContainerAddr) ToNoProto() ContainerAddrNoProto {
return ContainerAddrNoProto{
Ip: c.Ip,
Port: c.Port,
Protocol: c.Protocol,
}
}

0 comments on commit e8b4cdc

Please sign in to comment.