Maint: loopstate package used in Openvpn state
This commit is contained in:
16
internal/openvpn/settings.go
Normal file
16
internal/openvpn/settings.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package openvpn
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/qdm12/gluetun/internal/configuration"
|
||||
)
|
||||
|
||||
func (l *looper) GetSettings() (settings configuration.OpenVPN) {
|
||||
return l.state.GetSettings()
|
||||
}
|
||||
|
||||
func (l *looper) SetSettings(ctx context.Context, settings configuration.OpenVPN) (
|
||||
outcome string) {
|
||||
return l.state.SetSettings(ctx, settings)
|
||||
}
|
||||
Reference in New Issue
Block a user