Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SettingLatestBlock keeps the latest parsed block ID
SettingLatestBlock = "latest_block"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Incoming ¶
type Incoming struct { ID uint64 Service Service To sumuslib.PublicKey From sumuslib.PublicKey Amount *amount.Amount Token sumuslib.Token Digest sumuslib.Digest Block *big.Int Timestamp time.Time FirstNotifyAt *time.Time NotifyAt *time.Time Notified bool }
Incoming model
type Service ¶
type Service struct { ID uint64 Name string Transport ServiceTransport CallbackURL string }
Service model
type ServiceTransport ¶
type ServiceTransport uint8
ServiceTransport is a type of transport of the API, i.e. HTTP, Nats etc.
const ( // ServiceNats is Nats transport ServiceNats ServiceTransport = iota + 1 // ServiceHTTP is HTTP transport ServiceHTTP )
type WalletServices ¶
WalletServices model
Click to show internal directories.
Click to hide internal directories.