Split out load balancer into a separate module (#657)
This commit is contained in:
@@ -75,11 +75,10 @@ type StreamTracker struct {
|
||||
}
|
||||
|
||||
func NewStreamTracker(params StreamTrackerParams) *StreamTracker {
|
||||
s := &StreamTracker{
|
||||
return &StreamTracker{
|
||||
params: params,
|
||||
status: StreamStatusStopped,
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
func (s *StreamTracker) OnStatusChanged(f func(status StreamStatus)) {
|
||||
|
||||
Reference in New Issue
Block a user