mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-02 22:13:06 +00:00
10 lines
366 B
Go
10 lines
366 B
Go
package gowaku
|
|
|
|
import "github.com/waku-org/go-waku/library"
|
|
|
|
// LightpushPublish is used to publish a WakuMessage in a pubsub topic using Lightpush protocol
|
|
func LightpushPublish(messageJSON string, topic string, peerID string, ms int) string {
|
|
response, err := library.LightpushPublish(messageJSON, topic, peerID, ms)
|
|
return prepareJSONResponse(response, err)
|
|
}
|