1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-30 14:41:15 +02:00

Use reference to Stream

This commit is contained in:
Alexandre Iooss
2020-10-17 13:43:16 +02:00
parent 5b85eed646
commit 5b8c73057b
6 changed files with 30 additions and 18 deletions

View File

@ -11,7 +11,7 @@ import (
// TestHTTPServe tries to serve a real HTTP server and load some pages
func TestHTTPServe(t *testing.T) {
// Init streams messaging
streams := make(map[string]stream.Stream)
streams := make(map[string]*stream.Stream)
// Create a disabled web server
go Serve(streams, nil, nil, &Options{Enabled: false, ListenAddress: "127.0.0.1:8081"})