mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-17 03:26:41 +00:00
10 lines
285 B
Go
10 lines
285 B
Go
package rpc
|
|
|
|
import "github.com/kaspanet/kaspad/btcjson"
|
|
|
|
// handleSession implements the session command extension for websocket
|
|
// connections.
|
|
func handleSession(wsc *wsClient, icmd interface{}) (interface{}, error) {
|
|
return &btcjson.SessionResult{SessionID: wsc.sessionID}, nil
|
|
}
|