lsps0: lsps0 server implementation

This commit is contained in:
Jesse de Wit
2023-08-11 08:49:57 +02:00
parent c23dc64df5
commit ef19a67e7a
7 changed files with 689 additions and 0 deletions

View 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
}