fea: add restart for ipsec tunnel.

This commit is contained in:
Daniel Ding
2024-06-19 22:04:32 +08:00
parent 8799004044
commit 3eb0c78871
4 changed files with 79 additions and 20 deletions

View File

@@ -98,6 +98,7 @@ type Networker interface {
type IPSecer interface {
AddTunnel(data schema.IPSecTunnel)
DelTunnel(data schema.IPSecTunnel)
RestartTunnel(data schema.IPSecTunnel)
ListTunnels(call func(obj schema.IPSecTunnel))
}