mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
feat: update example
This commit is contained in:
parent
0df4d23f66
commit
154babe82b
@ -86,7 +86,7 @@ func main() {
|
||||
log.Must(l, err, "failed to subscribe to subject")
|
||||
|
||||
// add closes (NOTE: order matters)
|
||||
svr.AddClosers(subscription, stream.Conn())
|
||||
svr.AddClosers(subscription, stream)
|
||||
|
||||
svr.AddService(
|
||||
keel.NewServiceHTTP(l, "demo", "localhost:8080", svs),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user