Files
gluetun/internal/restrictednet/interfaces.go
T
Quentin McGaw aa781c6cc5 initial
2026-06-05 03:56:25 +00:00

13 lines
223 B
Go

package restrictednet
import (
"context"
"net/netip"
)
type Firewall interface {
AcceptOutputFromIPPortToIPPort(ctx context.Context,
protocol, intf string, source, destination netip.AddrPort, remove bool,
) error
}