mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
18 lines
327 B
Go
18 lines
327 B
Go
package tcp
|
|
|
|
import (
|
|
"context"
|
|
"net/netip"
|
|
)
|
|
|
|
type Firewall interface {
|
|
TempDropOutputTCPRST(ctx context.Context, src, dst netip.AddrPort,
|
|
excludeMark int) (revert func(ctx context.Context) error, err error)
|
|
}
|
|
|
|
type Logger interface {
|
|
Debug(msg string)
|
|
Debugf(msg string, args ...any)
|
|
Warnf(msg string, args ...any)
|
|
}
|