event

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockEvent

type BlockEvent struct {
	Event
}

type ContractEvent

type ContractEvent struct {
	Event
	ContractAddress string `json:"contractAddress"`
}

type Event

type Event struct {
	EventId    string `json:"eventId"`
	AppCode    string `json:"appCode"`
	UserCode   string `json:"userCode"`
	NotifyUrl  string `json:"notifyUrl"`
	AttachArgs string `json:"attachArgs"`
	CreateTime string `json:"createTime"`
}

type EventList

type EventList struct {
	BlockEvent    []BlockEvent    `json:"blockEvent"`
	ContractEvent []ContractEvent `json:"contractEvent"`
}

func (*EventList) GetEncryptionValue

func (e *EventList) GetEncryptionValue() string

type QueryEventResData

type QueryEventResData struct {
	base.BaseResModel
	Body EventList `json:"body"`
}

func (*QueryEventResData) GetEncryptionValue

func (f *QueryEventResData) GetEncryptionValue() string

type RegisterEvent

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

type RegisterEventResData

type RegisterEventResData struct {
	base.BaseResModel
	Body RegisterEvent `json:"body"`
}

func (*RegisterEventResData) GetEncryptionValue

func (f *RegisterEventResData) GetEncryptionValue() string

type RemoveEventResData

type RemoveEventResData struct {
	base.BaseResModel
	Body interface{} `json:"body"`
}

func (*RemoveEventResData) GetEncryptionValue

func (f *RemoveEventResData) GetEncryptionValue() string

Jump to

Keyboard shortcuts

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