MCPcopy
hub / github.com/vulcand/vulcand / MakeURL

Function MakeURL

testutils/testutils.go:60–62  ·  view source on GitHub ↗
(l engine.Listener, path string)

Source from the content-addressed store, hash-verified

58}
59
60func MakeURL(l engine.Listener, path string) string {
61 return fmt.Sprintf("%s://%s%s", l.Protocol, l.Address.Address, path)
62}
63
64func (b BatchVal) FrontendURL(path string) string {
65 return MakeURL(b.L, path)

Callers 9

FrontendURLMethod · 0.85
TestListenerCRUDMethod · 0.85
TestMiddlewareCRUDMethod · 0.85
TestMiddlewareUpdateMethod · 0.85

Calls

no outgoing calls

Tested by 8

TestListenerCRUDMethod · 0.68
TestMiddlewareCRUDMethod · 0.68
TestMiddlewareUpdateMethod · 0.68