github.com/voedger/voedger@v0.0.0-20240520144910-273e84102129/pkg/ihttpctl/types.go (about)

     1  /*
     2   * Copyright (c) 2022-present unTill Pro, Ltd.
     3   */
     4  
     5  package ihttpctl
     6  
     7  import (
     8  	"io/fs"
     9  
    10  	"github.com/voedger/voedger/pkg/istructs"
    11  	ibus "github.com/voedger/voedger/staging/src/github.com/untillpro/airs-ibus"
    12  )
    13  
    14  type StaticResourcesType map[string]fs.FS
    15  type RedirectRoutes map[string]string
    16  type DefaultRedirectRoute map[string]string // single record only
    17  type AppRequestHandler struct {
    18  	AppQName      istructs.AppQName
    19  	NumPartitions uint
    20  	NumAppWS      uint
    21  	Handlers      map[istructs.PartitionID]ibus.RequestHandler
    22  }
    23  type AppRequestHandlers []AppRequestHandler