Documentation ¶
Index ¶
- Variables
- func Bot(app string) string
- func CannotBeStarted(service string)
- func CannotBeStopped(service string)
- func ClosingConnectionWith(service string)
- func ConnectionClosedWith(service string)
- func ConnectionEstablishedWith(service string)
- func ConnectionFailedWith(service string)
- func DisconnectionFailedWith(service string)
- func EstablishingConnectionWith(service string)
- func Logo()
- func Module(module string) string
- func Server(app string) string
- func Service(service string) string
- func Started(service string)
- func Starting(service string)
- func Stopped(service string)
- func Stopping(service string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Blue = color.New(color.FgBlue, color.Bold).Sprint Cyan = color.New(color.FgCyan, color.Bold).Sprint Green = color.New(color.FgGreen, color.Bold).Sprint Magenta = color.New(color.FgMagenta, color.Bold).Sprint Red = color.New(color.FgRed, color.Bold).Sprint )
View Source
var ( Log = new(log.Log) Debug = func(message string) { Log.Debug(Cyan(message)) } Error = func(message string) { Log.Error(Red(message)) } Fatal = func(message string) { Log.Fatal(Red(message)) } Info = func(message string) { Log.Info(Blue(message)) } )
View Source
var (
Ok = func(message string) { Log.Info(Green(message)) }
)
Functions ¶
func CannotBeStarted ¶
func CannotBeStarted(service string)
func CannotBeStopped ¶
func CannotBeStopped(service string)
func ClosingConnectionWith ¶
func ClosingConnectionWith(service string)
func ConnectionClosedWith ¶
func ConnectionClosedWith(service string)
func ConnectionEstablishedWith ¶
func ConnectionEstablishedWith(service string)
func ConnectionFailedWith ¶
func ConnectionFailedWith(service string)
func DisconnectionFailedWith ¶
func DisconnectionFailedWith(service string)
func EstablishingConnectionWith ¶
func EstablishingConnectionWith(service string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.