Server - object capable of being subscribed to by remote handlers
| 35 | |
| 36 | // Server - object capable of being subscribed to by remote handlers |
| 37 | type Server struct { |
| 38 | eventBus Bus |
| 39 | address string |
| 40 | path string |
| 41 | subscribers map[string][]*SubscribeArg |
| 42 | service *ServerService |
| 43 | } |
| 44 | |
| 45 | // NewServer - create a new Server at the address and path |
| 46 | func NewServer(address, path string, eventBus Bus) *Server { |
nothing calls this directly
no outgoing calls
no test coverage detected