github.com/nxtrace/NTrace-core@v1.3.1-0.20240513132635-39169291e8c9/ipgeo/tokens.go (about)

     1  package ipgeo
     2  
     3  import "github.com/nxtrace/NTrace-core/util"
     4  
     5  type tokenData struct {
     6  	ipinsight string
     7  	ipinfo    string
     8  	ipleo     string
     9  }
    10  
    11  var token = tokenData{
    12  	ipinsight: util.GetenvDefault("NEXTTRACE_IPINSIGHT_TOKEN", ""),
    13  	ipinfo:    util.GetenvDefault("NEXTTRACE_IPINFO_TOKEN", ""),
    14  	ipleo:     "NextTraceDemo",
    15  }