mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-10 04:30:20 +02:00
Each stream uses a different color, fixes #136
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package constants
|
||||
|
||||
import "github.com/fatih/color"
|
||||
|
||||
func ColorUnbound() color.Color {
|
||||
return *color.New(color.FgCyan)
|
||||
}
|
||||
|
||||
func ColorTinyproxy() color.Color {
|
||||
return *color.New(color.FgHiMagenta)
|
||||
}
|
||||
|
||||
func ColorShadowsocks() color.Color {
|
||||
return *color.New(color.FgHiYellow)
|
||||
}
|
||||
|
||||
func ColorShadowsocksError() color.Color {
|
||||
return *color.New(color.FgHiRed)
|
||||
}
|
||||
|
||||
func ColorOpenvpn() color.Color {
|
||||
return *color.New(color.FgHiMagenta)
|
||||
}
|
||||
Reference in New Issue
Block a user