tunneld: banner

This commit is contained in:
Michał Matczuk 2017-11-28 23:05:07 +01:00
parent 1debf52fed
commit 65f37882e5
2 changed files with 16 additions and 0 deletions

14
cmd/tunneld/banner.go Normal file
View file

@ -0,0 +1,14 @@
// Copyright (C) 2017 Michał Matczuk
// Use of this source code is governed by an AGPL-style
// license that can be found in the LICENSE file.
package main
const banner = `
______ __ __________________ __ __
/ ____/___ / / / /_ __/_ __/ __ \ / /___ ______ ____ ___ / /
/ / __/ __ \ / /_/ / / / / / / /_/ / / __/ / / / __ \/ __ \/ _ \/ /
/ /_/ / /_/ / / __ / / / / / / ____/ / /_/ /_/ / / / / / / / __/ /
\____/\____/ /_/ /_/ /_/ /_/ /_/ \__/\__,_/_/ /_/_/ /_/\___/_/
github.com/mmatczuk/go-http-tunnel
`

View file

@ -28,6 +28,8 @@ func main() {
return
}
fmt.Fprintln(os.Stderr, banner)
logger := log.NewFilterLogger(log.NewStdLogger(), opts.logLevel)
tlsconf, err := tlsConfig(opts)