Debian Codegraph @

serverinfo/url.go

raw symbols SCIP
1 package serverinfoscip-go gomod github.com/xperimental/nextcloud-exporter . `github.com/xperimental/nextcloud-exporter/serverinfo`/
2
3 import (
4 "fmtscip-go gomod github.com/golang/go/src go1.23 fmt/"
5 )
6
7 const (
8 infoPathFormatscip-go gomod github.com/xperimental/nextcloud-exporter . `github.com/xperimental/nextcloud-exporter/serverinfo`/infoPathFormat. = "%s/ocs/v2.php/apps/serverinfo/api/v1/info?format=json&skipApps=%v&skipUpdate=%v"
9 )
10
11 // InfoURL constructs the URL of the info endpoint from the server base URL and optional parameters.
12 func InfoURLscip-go gomod github.com/xperimental/nextcloud-exporter . `github.com/xperimental/nextcloud-exporter/serverinfo`/InfoURL().(serverURL string, skipApps bool, skipUpdate bool) string {
13 return fmtscip-go gomod github.com/golang/go/src go1.23 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.23 fmt/Sprintf().(infoPathFormatscip-go gomod github.com/xperimental/nextcloud-exporter . `github.com/xperimental/nextcloud-exporter/serverinfo`/infoPathFormat., serverURL, skipApps, skipUpdate)
14 }