Files
gluetun/internal/loopstate/lock.go
2021-07-23 20:41:45 +00:00

10 lines
156 B
Go

package loopstate
type Locker interface {
Lock()
Unlock()
}
func (s *State) Lock() { s.loopMu.Lock() }
func (s *State) Unlock() { s.loopMu.Unlock() }