package domainprovider import ( dimp "git.sendico.io/tech/sxchnge/product/app/urls/internal" "git.sendico.io/tech/sxchnge/shared/logging" ) type DomainProvider interface { GetFullLink(linkElem ...string) (string, error) GetAPILink(linkElem ...string) (string, error) } // CreateDomainProvider accepts a resolved host, protocol and installation mount. func CreateDomainProvider(logger mlogger.Logger, domain, protocol, apiEndpoint string) (DomainProvider, error) { return dimp.CreateDomainProviderImp(logger, domain, protocol, apiEndpoint) }