Giter VIP home page Giter VIP logo

gowamp's People

Contributors

beatgammit avatar gngeorgiev avatar jakobgreen avatar jcelliott avatar maxekman avatar sharpner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gowamp's Issues

rpc-server example crash on start

Trying to run rpc-server example (Go 1.9.2, Windows):

`C:\Users\toplonka\Documents\go\src\wamp>go run main.go
2018/01/22 11:08:49 websocket_server.go:60: NewBasicWebsocketServer
2018/01/22 11:08:49 websocket_server.go:47: NewWebsocketServer
2018/01/22 11:08:49 realm.go:44: Established internal session: 8232508857284127
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x86ba0f]

goroutine 17 [running]:
wamp/vendor/github.com/gngeorgiev/gowamp.(*Client).Publish(0x0, 0x9b5c00, 0x14, 0xc042122010, 0x1, 0x1, 0x0, 0xc04212a180, 0xc04212a180)
C:/Users/toplonka/Documents/go/src/wamp/vendor/github.com/gngeorgiev/gowamp/client.go:476 +0x10f
wamp/vendor/github.com/gngeorgiev/gowamp.(*localClient).onJoin(0xc04214c130, 0x0)
C:/Users/toplonka/Documents/go/src/wamp/vendor/github.com/gngeorgiev/gowamp/realm.go:93 +0xa6
wamp/vendor/github.com/gngeorgiev/gowamp.(*Realm).handleSession(0xc04214c0a0, 0xc115c0, 0xc04211a150, 0x1d3f6c560c761f, 0x0, 0xc04214e0c0)
C:/Users/toplonka/Documents/go/src/wamp/vendor/github.com/gngeorgiev/gowamp/realm.go:102 +0x129
created by wamp/vendor/github.com/gngeorgiev/gowamp.(*Realm).getPeer
C:/Users/toplonka/Documents/go/src/wamp/vendor/github.com/gngeorgiev/gowamp/realm.go:43 +0x208
exit status 2
`

Connection unique ID access

Would it be possible to get at some sort of connection identifier from inside an RPC call or a pub/sub event? I was thinking session but that maybe not be what I want after some research. I just would like to know who the data/call is from without having to send it on the wire each time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.