Go获取请求IP地址

来源:互联网 发布:ip地址及端口号 编辑:程序博客网 时间:2024/05/19 23:53
loginip := strings.Split(this.Ctx.Request.RemoteAddr, ":")[0]fmt.Println(loginip)
0 0