Add flags to proxy and add license headers.

This commit is contained in:
2021-06-08 19:21:22 +00:00
parent 21cf29f651
commit 2d74da1c91
38 changed files with 123 additions and 24 deletions

View File

@@ -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)