11 lines
200 B
Go
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)
|
|
}
|