summaryrefslogtreecommitdiff
path: root/service/watcher/watcher.go
blob: 10c642cb7702a7efefdd2db77f3773e81d663dab (plain)
1
2
3
4
5
6
7
8
9
package watcher

import "github.com/spiral/roadrunner"

// Watchable defines the ability to attach roadrunner watcher.
type Watchable interface {
	// Watch attaches watcher to the service.
	Watch(w roadrunner.Watcher)
}