MCPcopy
hub / github.com/passteque/gluetun / Loop

Struct Loop

internal/shadowsocks/loop.go:14–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type Loop struct {
15 state state
16 // Other objects
17 logger Logger
18 // Internal channels and locks
19 loopLock sync.Mutex
20 running chan models.LoopStatus
21 stop, stopped chan struct{}
22 start chan struct{}
23 backoffTime time.Duration
24}
25
26func (l *Loop) logAndWait(ctx context.Context, err error) {
27 if err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected