Add flags to proxy and add license headers.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Copyright 2021, Henrik Sölver henrik.solver@gmail.com
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
package main
|
||||
|
||||
import (
|
||||
@@ -18,7 +20,7 @@ func main() {
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
go mdnsserver.Run(ctx)
|
||||
go mdnsserver.Run(ctx, "some location", 1234, "ChroBroPrint")
|
||||
|
||||
http.HandleFunc("/ipp/print", handle)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user