Documentation ¶
Index ¶
- type Message
- func FromBytes(data []byte) (*Message, error)
- func FromBytesWithTS(data []byte, ts int64) (*Message, error)
- func FromString(data, ts string) (*Message, error)
- func NewFungibleSignature(topicMsg *model.TopicEthSignatureMessage) *Message
- func NewNftSignature(topicMsg *model.TopicEthNftSignatureMessage) *Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { *model.TopicMessage TransactionTimestamp int64 }
Message serves as a model between Topic Message Watcher and Handler
func FromBytes ¶
FromBytes instantiates new TopicMessage protobuf used internally by the Watchers/Handlers
func FromBytesWithTS ¶
FromBytesWithTS instantiates new TopicMessage protobuf used internally by the Watchers/Handlers
func FromString ¶
FromString instantiates new Topic Message protobuf from string `content` and `timestamp`
func NewFungibleSignature ¶ added in v1.4.0
func NewFungibleSignature(topicMsg *model.TopicEthSignatureMessage) *Message
NewFungibleSignature instantiates Signature Message struct ready for submission to the Bridge Topic
func NewNftSignature ¶ added in v1.4.0
func NewNftSignature(topicMsg *model.TopicEthNftSignatureMessage) *Message
NewNftSignature instantiates Signature Message struct ready for submission to the Bridge Topic
Click to show internal directories.
Click to hide internal directories.