github.com/avenga/couper@v1.12.2/config/runtime/mux.go (about)

     1  package runtime
     2  
     3  import (
     4  	"net/http"
     5  
     6  	"github.com/avenga/couper/config/runtime/server"
     7  )
     8  
     9  type MuxOptions struct {
    10  	EndpointRoutes map[string]http.Handler
    11  	FileRoutes     map[string]http.Handler
    12  	SPARoutes      map[string]http.Handler
    13  	ServerOptions  *server.Options
    14  }
    15  
    16  func NewMuxOptions() *MuxOptions {
    17  	return &MuxOptions{
    18  		EndpointRoutes: make(map[string]http.Handler),
    19  		FileRoutes:     make(map[string]http.Handler),
    20  		SPARoutes:      make(map[string]http.Handler),
    21  	}
    22  }