nqmDemo

package
v3.15.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CityData = []byte(`
  [
    {
      "id": -1,
      "name": "<UNDEFINED>",
      "post_code": "<UNDEFINED>",
      "province": {
        "id": -1,
        "name": "<UNDEFINED>"
      }
    },
    {
      "id": 1,
      "name": "北京市",
      "post_code": "100000",
      "province": {
        "id": 4,
        "name": "北京"
      }
    },
    {
      "id": 2,
      "name": "天津市",
      "post_code": "300000",
      "province": {
        "id": 12,
        "name": "天津"
      }
    },
    {
      "id": 3,
      "name": "上海市",
      "post_code": "200000",
      "province": {
        "id": 8,
        "name": "上海"
      }
    },
    {
      "id": 4,
      "name": "重庆市",
      "post_code": "400000",
      "province": {
        "id": 16,
        "name": "重庆"
      }
    },
    {
      "id": 5,
      "name": "广州市",
      "post_code": "510000",
      "province": {
        "id": 20,
        "name": "广东"
      }
    },
    {
      "id": 6,
      "name": "深圳市",
      "post_code": "518000",
      "province": {
        "id": 20,
        "name": "广东"
      }
    },
    {
      "id": 7,
      "name": "东莞市",
      "post_code": "511700",
      "province": {
        "id": 20,
        "name": "广东"
      }
    },
    {
      "id": 294,
      "name": "国外",
      "post_code": "",
      "province": {
        "id": -1,
        "name": "<UNDEFINED>"
      }
    }
  ]
`)
View Source
var IspData = []byte(`
[
  {
    "id": -1,
    "name": "<UNDEFINED>",
    "acronym": "<UNDEFINED>"
  },
  {
    "id": 1,
    "name": "北京三信时代",
    "acronym": "北京三信时代"
  },
  {
    "id": 1,
    "name": "教育网",
    "acronym": "教育网"
  },
  {
    "id": 3,
    "name": "移动",
    "acronym": "移动"
  },
  {
    "id": 4,
    "name": "电信",
    "acronym": "电信"
  },
  {
    "id": 5,
    "name": "联通",
    "acronym": "联通"
  }
]
`)

Functions

func Cities

func Cities(c *gin.Context)

func GroupTags

func GroupTags(c *gin.Context)

func Isps

func Isps(c *gin.Context)

func NameTags

func NameTags(c *gin.Context)

func PingTasks

func PingTasks(c *gin.Context)

func Provinces

func Provinces(c *gin.Context)

func Routes

func Routes(r *gin.Engine)

func Targets

func Targets(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL