站点RPC方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
212 B

package siterpc
import (
"testing"
"git.tetele.net/tgo/conf"
)
func Test_GetSiteInfoByHost(t *testing.T) {
conf.IS_PRIVATE = true
res, err := GetSiteInfoByHost("dev.tetele.net")
t.Log(res)
t.Log(err)
}