github.com/chenbh/concourse/v6@v6.4.2/atc/wrappa/multi_wrappa.go (about)

     1  package wrappa
     2  
     3  import "github.com/tedsuo/rata"
     4  
     5  type MultiWrappa []Wrappa
     6  
     7  func (wrappas MultiWrappa) Wrap(handlers rata.Handlers) rata.Handlers {
     8  	for _, w := range wrappas {
     9  		handlers = w.Wrap(handlers)
    10  	}
    11  
    12  	return handlers
    13  }