event

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryReqData

type QueryReqData struct {
	base.BaseReqModel
	Body interface{} `json:"body"`
}

func (*QueryReqData) GetEncryptionValue

func (f *QueryReqData) GetEncryptionValue() string

type RegisterReqData

type RegisterReqData struct {
	base.BaseReqModel
	Body RegisterReqDataBody `json:"body"`
}

func (*RegisterReqData) GetEncryptionValue

func (f *RegisterReqData) GetEncryptionValue() string

type RegisterReqDataBody

type RegisterReqDataBody struct {
	EventType int `json:"eventType"` //1 block 2 contract

	//if EventType is 1,ContractAddress and ContractName Can be empty
	//if EventType is 2,ContractAddress and ContractName Cannot be empty at the same time, ContractAddress first
	ContractAddress string `json:"contractAddress"`
	ContractName    string `json:"contractName"`

	NotifyUrl  string `json:"notifyUrl"`
	AttachArgs string `json:"attachArgs"`
}

func (*RegisterReqDataBody) GetEncryptionValue

func (f *RegisterReqDataBody) GetEncryptionValue() string

type RemoveReqData

type RemoveReqData struct {
	base.BaseReqModel
	Body RemoveReqDataBody `json:"body"`
}

func (*RemoveReqData) GetEncryptionValue

func (f *RemoveReqData) GetEncryptionValue() string

type RemoveReqDataBody

type RemoveReqDataBody struct {
	EventId string `json:"eventId"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL