Skip to content

Commit

Permalink
main: Add listen branding to init
Browse files Browse the repository at this point in the history
  • Loading branch information
nkprince007 committed May 23, 2018
1 parent 2aaa91b commit ba5fc19
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"fmt"
"os"

_ "github.com/micro/go-plugins/broker/rabbitmq"
Expand All @@ -18,6 +19,16 @@ func getEnv(key string, fallback string) string {
}

func main() {
fmt.Print(`
___ __
/ (_)____/ /____ ____
/ / / ___/ __/ _ \/ __ \
/ / (__ ) /_/ __/ / / /
/_/_/____/\__/\___/_/ /_/ server catches webhooks :P
`)

// grab port from environment
port := getEnv("PORT", "8000")

Expand Down

0 comments on commit ba5fc19

Please sign in to comment.