mirror of
https://github.com/btcsuite/btcd.git
synced 2025-03-12 02:08:34 +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)
|
||
|
}
|