Documentation ¶
Index ¶
- Constants
- func FilterFromCategory(filter map[string]string) (map[string]*common.URL, error)
- func OldOverride2URL(o *model.OldOverride) (*common.URL, error)
- func Providers2DTO(providers []*model.Provider) []*model.ServiceDTO
- func URL2Consumer(id string, url *common.URL) *model.Consumer
- func URL2ConsumerList(servicesMap map[string]*common.URL) []*model.Consumer
- func URL2Provider(id string, url *common.URL) *model.Provider
- func URL2ProviderList(servicesMap map[string]*common.URL) []*model.Provider
Constants ¶
View Source
const ( ServiceFilterKey = ".service" AddressFilterKey = ".address" IDFilterKey = ".id" )
Variables ¶
This section is empty.
Functions ¶
func FilterFromCategory ¶
FilterFromCategory get URLs from cache by filter
func OldOverride2URL ¶
func OldOverride2URL(o *model.OldOverride) (*common.URL, error)
func Providers2DTO ¶
func Providers2DTO(providers []*model.Provider) []*model.ServiceDTO
Providers2DTO converts a list of providers to a list of servicesDTOs
func URL2Consumer ¶
URL2Consumer transforms a URL to a consumer
func URL2ConsumerList ¶
URL2ConsumerList transforms URLs into a list of consumers
func URL2Provider ¶
URL2Provider transforms a URL into a Service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.