MCPcopy Index your code
hub / github.com/TruthHun/DocHub / GetPublicDomain

Method GetPublicDomain

models/CloudStoreModel.go:397–401  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

395}
396
397func (c *CloudStore) GetPublicDomain() (domain string) {
398 object := "test.dochub.test"
399 link := c.GetSignURL(object)
400 return strings.TrimRight(strings.Split(link, object)[0], "/")
401}

Callers 4

PrepareMethod · 0.95
PrepareMethod · 0.95
ImageWithoutDomainMethod · 0.95
DeleteImageFromHtmlMethod · 0.95

Calls 1

GetSignURLMethod · 0.95

Tested by

no test coverage detected