Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CRC16("github.com/privatix/dappctrl/messages/ept") = 0xDC36 ErrTimeOut errors.Error = 0xDC36<<8 + iota ErrInvalidFormat ErrProdOfferAccessID ErrProdEndAddress )
Errors.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Timeout uint // In milliseconds.
}
Config is a configuration for Endpoint Message Service.
type Message ¶
type Message struct { TemplateHash data.HexString `json:"templateHash"` Username string `json:"username"` Password string `json:"password"` PaymentReceiverAddress string `json:"paymentReceiverAddress"` ServiceEndpointAddress string `json:"serviceEndpointAddress"` AdditionalParams map[string]string `json:"additionalParams"` }
Message structure for Endpoint Message.
Click to show internal directories.
Click to hide internal directories.