mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 14:54:22 +01:00
lsps0: lsps0 server implementation
This commit is contained in:
12
lightning/custom_msg_client.go
Normal file
12
lightning/custom_msg_client.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package lightning
|
||||
|
||||
type CustomMessage struct {
|
||||
PeerId string
|
||||
Type uint32
|
||||
Data []byte
|
||||
}
|
||||
|
||||
type CustomMsgClient interface {
|
||||
Recv() (*CustomMessage, error)
|
||||
Send(*CustomMessage) error
|
||||
}
|
||||
Reference in New Issue
Block a user