mirror of
https://github.com/btcsuite/btcd.git
synced 2025-01-18 21:32:30 +01:00
17 lines
468 B
Go
17 lines
468 B
Go
package btcjson
|
|
|
|
// GetZmqNotificationsCmd defines the getzmqnotifications JSON-RPC command.
|
|
type GetZmqNotificationsCmd struct{}
|
|
|
|
// NewGetZmqNotificationsCmd returns a new instance which can be used to issue a
|
|
// getzmqnotifications JSON-RPC command.
|
|
func NewGetZmqNotificationsCmd() *GetZmqNotificationsCmd {
|
|
return &GetZmqNotificationsCmd{}
|
|
}
|
|
|
|
func init() {
|
|
flags := UsageFlag(0)
|
|
|
|
MustRegisterCmd("getzmqnotifications", (*GetZmqNotificationsCmd)(nil), flags)
|
|
}
|