mirror of
https://github.com/qdm12/gluetun.git
synced 2025-12-11 13:56:50 -06:00
18 lines
342 B
Go
18 lines
342 B
Go
package httpproxy
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/qdm12/gluetun/internal/configuration/settings"
|
|
)
|
|
|
|
func (l *Loop) GetSettings() (settings settings.HTTPProxy) {
|
|
return l.state.GetSettings()
|
|
}
|
|
|
|
func (l *Loop) SetSettings(ctx context.Context, settings settings.HTTPProxy) (
|
|
outcome string,
|
|
) {
|
|
return l.state.SetSettings(ctx, settings)
|
|
}
|