MCPcopy Index your code
hub / github.com/dnote/dnote / getServerDisplayURL

Function getServerDisplayURL

pkg/cli/cmd/login/login.go:126–133  ·  view source on GitHub ↗
(ctx context.DnoteCtx)

Source from the content-addressed store, hash-verified

124}
125
126func getServerDisplayURL(ctx context.DnoteCtx) string {
127 baseURL, err := getBaseURL(ctx.APIEndpoint)
128 if err != nil {
129 return ""
130 }
131
132 return baseURL
133}
134
135func getGreeting(ctx context.DnoteCtx) string {
136 base := "Welcome to Dnote"

Callers 2

TestGetServerDisplayURLFunction · 0.85
getGreetingFunction · 0.85

Calls 1

getBaseURLFunction · 0.85

Tested by 1

TestGetServerDisplayURLFunction · 0.68