tangled
alpha
login
or
join now
atscan.net
/
plcbundle
A Transparent and Verifiable Way to Sync the AT Protocol's PLC Directory
14
fork
atom
overview
issues
2
pulls
pipelines
update
tree.fail
3 months ago
d08e1189
42eb5a76
+2
-2
2 changed files
expand all
collapse all
unified
split
cmd
plcbundle
main.go
server.go
+1
-1
cmd/plcbundle/main.go
···
829
829
830
830
server := &http.Server{
831
831
Addr: addr,
832
832
-
Handler: newServerHandler(mgr, dir),
832
832
+
Handler: newServerHandler(mgr),
833
833
ReadTimeout: 30 * time.Second,
834
834
WriteTimeout: 30 * time.Second,
835
835
}
+1
-1
cmd/plcbundle/server.go
···
12
12
"github.com/atscan/plcbundle/bundle"
13
13
)
14
14
15
15
-
func newServerHandler(mgr *bundle.Manager, dir string) http.Handler {
15
15
+
func newServerHandler(mgr *bundle.Manager) http.Handler {
16
16
mux := http.NewServeMux()
17
17
18
18
// Root - ASCII art + info