diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 63 |
1 files changed, 63 insertions, 0 deletions
@@ -23,7 +23,69 @@ type Config struct { ProxyContainerName string `env:"PROXY_CONTAINER_NAME"` } +const startupMessage = ` + , . + , . . . + . . . . + what's the worst that i can say?... + . . + . . . + . . + . ...things are better if i stay... + . . . + . , + . , . . , + . . . + ! , + ! . + , . ^ + / \ . + . /___\ , + . |= =| , + . | | + | | , +, | | + | | . + | | + . . | | , + , | | . + | | + | | . + /|##!##|\ + . / |##!##| \ + / |##!##| \ , + | / ^ | ^ \ | + . | / ( | ) \ | , + , . |/ ( | ) \| + (( )) + (( : )) . + (( : )) + , (( )) . + . (( )) , + ( ) + . + . . . + , . , + + _ __ + ___| |_ / _| + / __| __| |_ + _ | (__| |_| _| + (_)_ __ ___| \___|\__|_|_ ___ ___ _ __ + | | '_ \/ __| __/ _` + "`" + ` | '_ \ / __/ _ \ '__| + | | | | \__ \ || (_| | | | | (_| __/ | + |_|_| |_|___/\__\__,_|_| |_|\___\___|_| + +____^/\___^--____/\____O______________/\/\-- + /\^ ^ ^ ^ ^^ ^ '\ + -- - -- - + -- __ ___-- ^ ^ + +` + func main() { + slog.Info(startupMessage) + var config Config if err := env.Parse(&config); err != nil { @@ -54,4 +116,5 @@ func main() { slog.Info("starting http server") err = http.ListenAndServe(":8080", web.NewMux(®istryClient, &dockerDeployer)) slog.Error("http server closing", "reason", err.Error()) + slog.Info("so long and goodnight; so long and goodnight...") } |
