mirror of
https://github.com/qdm12/gluetun.git
synced 2025-12-11 04:38:54 -06:00
18 lines
335 B
Go
18 lines
335 B
Go
package vpn
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/qdm12/gluetun/internal/models"
|
|
)
|
|
|
|
func (l *Loop) GetStatus() (status models.LoopStatus) {
|
|
return l.statusManager.GetStatus()
|
|
}
|
|
|
|
func (l *Loop) ApplyStatus(ctx context.Context, status models.LoopStatus) (
|
|
outcome string, err error,
|
|
) {
|
|
return l.statusManager.ApplyStatus(ctx, status)
|
|
}
|