 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadWSMessage ¶
func ReadWSMessage(done chan struct{}, connection *WSConnection, messageHandler func(message []byte))
    func WSHeartbeat ¶
func WSHeartbeat(done chan struct{}, wsConnection *WSConnection)
    Types ¶
type ConnectionManager ¶
type ConnectionManager interface {
	Save(wsConnection *WSConnection)
	Get() *WSConnection
	Close() error
}
    type WSConnection ¶
func NewWebsocketConnection ¶
func NewWebsocketConnection(configRepo repository.ConfigRepository, tokenRepo repository.TokenRepository, messageHandler func(msg []byte)) (*WSConnection, error)
 Click to show internal directories. 
   Click to hide internal directories.