backtrace/cmd/main.go
2024-05-02 11:19:00 +08:00

19 lines
756 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package main
import (
"fmt"
"net/http"
"github.com/oneclickvirt/backtrace/backtrace"
. "github.com/oneclickvirt/backtrace/defaultset"
)
func main() {
go func() {
http.Get("https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Foneclickvirt%2Fbacktrace&count_bg=%2323E01C&title_bg=%23555555&icon=sonarcloud.svg&icon_color=%23E7E7E7&title=hits&edge_flat=false")
}()
fmt.Println(Green("项目地址:"), Yellow("https://github.com/oneclickvirt/backtrace"))
backtrace.BackTrace()
fmt.Println(Purple("同一目标地址显示多个线路时可能追踪IP地址已越过汇聚层此时除去第一个线路信息后续信息可能无效"))
fmt.Println(Purple("准确线路请查看详细的路由自行判断"))
}