1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

add get sub-domain func

This commit is contained in:
Timothy 2014-05-13 17:32:05 +08:00
parent 8c554c329b
commit aca4a9ca27
2 changed files with 5 additions and 1 deletions

View File

@ -89,6 +89,10 @@ func get_domain(name string) int64 {
return ret
}
func get_subdomain(name string) int64 {
}
func post_data(url string, content url.Values) (string, error) {
client := &http.Client{}
values := generate_header(content)

View File

@ -35,7 +35,7 @@ func dns_loop(loop chan bool) {
//Continue to check the IP of sub-domain
// if len(currentIP) > 0 {
get_domain(Configuration.Domain)
domain_id := get_domain(Configuration.Domain)
// }
api_version()