friendica-exporter/serverinfo/url.go
2024-10-27 19:51:26 +01:00

11 lines
200 B
Go

package serverinfo
import "fmt"
const (
statsPathFormat = "%s/stats?key=%v"
)
func StatsURL(serverUrl string, StatsKey string) string {
return fmt.Sprintf(statsPathFormat, serverUrl, StatsKey)
}