站点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

  1. package siterpc
  2. import (
  3. "testing"
  4. "git.tetele.net/tgo/conf"
  5. )
  6. func Test_GetSiteInfoByHost(t *testing.T) {
  7. conf.IS_PRIVATE = true
  8. res, err := GetSiteInfoByHost("dev.tetele.net")
  9. t.Log(res)
  10. t.Log(err)
  11. }