Documentation
¶
Index ¶
Constants ¶
View Source
const MSGPROOFCLAIMV01 = "iden3.proofclaim.v0_1"
View Source
const MSGTXT = "iden3.txt.v0_1"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Notification ¶
type Notification struct { Type string `json:"type" binding:"required"` Data interface{} `json:"data" binding:"required"` }
Notification defines the fields to be sent to the server
func NewMsgProofClaim ¶
func NewMsgProofClaim(proofClaim *core.ProofClaim) Notification
func NewMsgTxt ¶
func NewMsgTxt(txt string) Notification
type Service ¶
Service defines fields to notification service
func New ¶
func New(urlService string, signedPacketSigner *signedpacketsrv.SignedPacketSigner) *Service
New creates new notification service
func (*Service) SendNotification ¶
func (ns *Service) SendNotification(notif Notification, id core.ID) error
SendNotification send notification to service
Click to show internal directories.
Click to hide internal directories.