diff options
author | Slack Coder <slackcoder@server.ky> | 2023-09-14 13:54:49 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2023-09-14 15:52:56 -0500 |
commit | 33af09195b60fd7364e2190934717a9345ce6cad (patch) | |
tree | 947017bc407ff86040f0c4c162268089e8c8e6aa /qr_code.go | |
parent | e4d26432d4ef366c9e4b969d4fdb8d4728b545b3 (diff) | |
download | send-over-http-33af09195b60fd7364e2190934717a9345ce6cad.tar.xz |
Allow user to set network address
Give the user the ability to set which network address to listen on and
the network type (IP 4 or 6 etc.). Randomly choose an available port to
avoid conflicting with other services listening on a predefined one.
Diffstat (limited to 'qr_code.go')
-rw-r--r-- | qr_code.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ func NewTerminalQRShower(str string) *TerminalQRShower { func (s *TerminalQRShower) Start() error { qrterminal.Generate(s.str, qrterminal.L, os.Stdout) fmt.Println() - fmt.Printf("serving on '%s'", s.str) + fmt.Printf("Hosting file at %s", s.str) fmt.Println() fmt.Println() s.waiter.Wait() |