gitee.com/quant1x/engine@v1.8.4/command/command_bestip.go (about)

     1  package command
     2  
     3  import (
     4  	"gitee.com/quant1x/gotdx/quotes"
     5  	cmder "github.com/spf13/cobra"
     6  )
     7  
     8  // CmdBestIP 检测服务器地址
     9  var CmdBestIP = &cmder.Command{
    10  	Use:   "bestip",
    11  	Short: "检测服务器网速",
    12  	Run: func(cmd *cmder.Command, args []string) {
    13  		quotes.BestIP()
    14  	},
    15  }