mirror of
https://github.com/aljazceru/python-nostr.git
synced 2025-12-19 15:24:19 +01:00
implement basic protocol in nip-01
This commit is contained in:
9
nostr/message_type.py
Normal file
9
nostr/message_type.py
Normal file
@@ -0,0 +1,9 @@
|
||||
class ClientMessageType:
|
||||
EVENT = "EVENT"
|
||||
REQUEST = "REQ"
|
||||
CLOSE = "CLOSE"
|
||||
|
||||
class RelayMessageType:
|
||||
EVENT = "EVENT"
|
||||
NOTICE = "NOTICE"
|
||||
|
||||
Reference in New Issue
Block a user