adapt relaypool to the new nip-01.

This commit is contained in:
fiatjaf
2021-02-20 17:44:05 -03:00
parent ee53d55800
commit 4a172a5f51
4 changed files with 172 additions and 128 deletions
+12
View File
@@ -0,0 +1,12 @@
package relaypool
const (
PublishStatusSent = 0
PublishStatusFailed = -1
PublishStatusSucceeded = 1
)
type PublishStatus struct {
Relay string
Status int
}