A Transparent and Verifiable Way to Sync the AT Protocol's PLC Directory

update

+2 -2
+1 -1
cmd/plcbundle/main.go
··· 829 830 server := &http.Server{ 831 Addr: addr, 832 - Handler: newServerHandler(mgr, dir), 833 ReadTimeout: 30 * time.Second, 834 WriteTimeout: 30 * time.Second, 835 }
··· 829 830 server := &http.Server{ 831 Addr: addr, 832 + Handler: newServerHandler(mgr), 833 ReadTimeout: 30 * time.Second, 834 WriteTimeout: 30 * time.Second, 835 }
+1 -1
cmd/plcbundle/server.go
··· 12 "github.com/atscan/plcbundle/bundle" 13 ) 14 15 - func newServerHandler(mgr *bundle.Manager, dir string) http.Handler { 16 mux := http.NewServeMux() 17 18 // Root - ASCII art + info
··· 12 "github.com/atscan/plcbundle/bundle" 13 ) 14 15 + func newServerHandler(mgr *bundle.Manager) http.Handler { 16 mux := http.NewServeMux() 17 18 // Root - ASCII art + info