(client wgClient, interfaceName string, config wgtypes.Config)
| 55 | type configureDeviceFunc func(client wgClient, interfaceName string, config wgtypes.Config) error |
| 56 | |
| 57 | func defaultConfigureDevice(client wgClient, interfaceName string, config wgtypes.Config) error { |
| 58 | return client.ConfigureDevice(interfaceName, config) |
| 59 | } |
| 60 | |
| 61 | func wrapPermissionDeniedError(action string, err error) error { |
| 62 | if err == nil { |
nothing calls this directly
no test coverage detected