Documentation
¶
Index ¶
- type Builder
- func (builder *Builder) GetAPIRouterPublicURL() *url.URL
- func (builder *Builder) GetCodeListAPIURL() *url.URL
- func (builder *Builder) GetDatasetAPIURL() *url.URL
- func (builder *Builder) GetDownloadServiceURL() *url.URL
- func (builder *Builder) GetImportAPIURL() *url.URL
- func (builder *Builder) GetPrivateWebsiteURL() *url.URL
- func (builder *Builder) GetPublicWebsiteURL() *url.URL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder encapsulates the building of urls in a central place, with knowledge of the url structures and base host names.
func NewBuilder ¶
func NewBuilder(publicWebsiteURL, privateWebsiteURL, downloadServiceURL, datasetAPIURL, codeListAPIURL, importAPIURL, apiRouterPublicURL *url.URL) *Builder
NewBuilder returns a new instance of url.Builder
func (*Builder) GetAPIRouterPublicURL ¶ added in v1.94.0
func (*Builder) GetCodeListAPIURL ¶ added in v1.67.0
func (*Builder) GetDatasetAPIURL ¶ added in v1.67.0
func (*Builder) GetDownloadServiceURL ¶ added in v1.67.0
func (*Builder) GetImportAPIURL ¶ added in v1.67.0
func (*Builder) GetPrivateWebsiteURL ¶ added in v1.105.0
func (*Builder) GetPublicWebsiteURL ¶ added in v1.105.0
Click to show internal directories.
Click to hide internal directories.