func (lgc *Logic) PauseStream(id string) (int, error) {
	ok, err := lgc.HasStream(id)
	if err != nil {
		return 500, err
	}
	if !ok {
		return 404, fmt.Errorf("no stream found with id <%s>", id)
	}
	// TODO pause
	return 200, nil
}
// PauseStream pauses a stream.
PauseStream pauses a stream.
// PauseStream pauses a stream .
func (lgc *Logic) PauseStream(id string) (int, error) {
	ok, err := lgc.HasStream(id)
	if err != nil {
		return 500, err
	}
	if !ok {
		return 404, fmt.Errorf("no stream found with id <%s>", id)
	}
	return 200, nil
}
func ( lgc * Logic ) PauseStream ( id string ) ( int , error ) { ok , err := lgc . HasStream ( id ) if err != nil { return 500 , err } if ! ok { return 404 , fmt . Errorf ( " " , id ) } return 200 , nil }
PauseStream pauses a stream.
PauseStream pauses a stream .
// TODO pause