mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
feat(server): PUT /v1/portforward route to set ports forwarded (#2392)
This commit is contained in:
committed by
Quentin McGaw
parent
199ad77ec9
commit
724cd3a15e
@@ -21,8 +21,9 @@ type DNSLoop interface {
|
||||
GetStatus() (status models.LoopStatus)
|
||||
}
|
||||
|
||||
type PortForwardedGetter interface {
|
||||
type PortForwarding interface {
|
||||
GetPortsForwarded() (ports []uint16)
|
||||
SetPortsForwarded(ports []uint16) (err error)
|
||||
}
|
||||
|
||||
type PublicIPLoop interface {
|
||||
|
||||
Reference in New Issue
Block a user