Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions caddy.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,10 @@ func (i *Instance) Wait() {
i.wg.Wait()
}

func (i *Instance) Waiter() *sync.WaitGroup {
return i.wg
}

// CaddyfileFromPipe loads the Caddyfile input from f if f is
// not interactive input. f is assumed to be a pipe or stream,
// such as os.Stdin. If f is not a pipe, no error is returned
Expand Down