forked from nxtrace/NTrace-core
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcda750
commit 15eab6d
Showing
6 changed files
with
124 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,28 +41,38 @@ func CopyRight() { | |
color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "[email protected]"), | ||
) | ||
|
||
MoeQingOrgCopyRight() | ||
PluginCopyRight() | ||
moeQingOrgCopyRight() | ||
sponsor() | ||
//PluginCopyRight() | ||
} | ||
|
||
func MoeQingOrgCopyRight() { | ||
func moeQingOrgCopyRight() { | ||
fmt.Fprintf(color.Output, "%s\n%s %s\n%s %s\n\n", | ||
color.New(color.FgHiYellow, color.Bold).Sprintf("%s", "MoeQing Network"), | ||
color.New(color.FgGreen, color.Bold).Sprintf("%s", "Supported by MoeQing Network"), | ||
color.New(color.FgWhite, color.Bold).Sprintf("%s", "YekongTAT"), | ||
color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "[email protected]"), | ||
color.New(color.FgWhite, color.Bold).Sprintf("%s", "Haima"), | ||
color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "[email protected]"), | ||
) | ||
} | ||
|
||
func PluginCopyRight() { | ||
fmt.Fprintf(color.Output, "%s\n%s %s\n\n", | ||
color.New(color.FgGreen, color.Bold).Sprintf("%s", "NextTrace Map Plugin Author"), | ||
color.New(color.FgWhite, color.Bold).Sprintf("%s", "Tso"), | ||
color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "[email protected]"), | ||
func sponsor() { | ||
fmt.Fprintf(color.Output, "%s\n%s\n%s\n%s\n", | ||
color.New(color.FgGreen, color.Bold).Sprintf("%s", "Sponsored by the following entities"), | ||
color.New(color.FgWhite, color.Bold).Sprintf("%s", "DMIT.io"), | ||
color.New(color.FgWhite, color.Bold).Sprintf("%s", "Misaka.io"), | ||
color.New(color.FgWhite, color.Bold).Sprintf("%s", "Skywolf.cloud"), | ||
) | ||
} | ||
|
||
//func PluginCopyRight() { | ||
// fmt.Fprintf(color.Output, "%s\n%s %s\n\n", | ||
// color.New(color.FgGreen, color.Bold).Sprintf("%s", "NextTrace Map Plugin Author"), | ||
// color.New(color.FgWhite, color.Bold).Sprintf("%s", "Tso"), | ||
// color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "[email protected]"), | ||
// ) | ||
//} | ||
|
||
func PrintTraceRouteNav(ip net.IP, domain string, dataOrigin string, maxHops int, packetSize int) { | ||
fmt.Println("IP Geo Data Provider: " + dataOrigin) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters