1 2 3 4 5 6 7 8 9 10
package publisher import "github.com/go-kit/kit/endpoint" // Publisher produces endpoints. type Publisher interface { Subscribe(chan<- []endpoint.Endpoint) Unsubscribe(chan<- []endpoint.Endpoint) Stop() }