Discover Packages
github.com/ontio/ontology-oracle
runners
package
Version:
v0.0.0-...-32eac98
Opens a new window with list of versions in this module.
Published: Aug 31, 2020
License: LGPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type HTTPPost struct {
URL models .WebURL `json:"url"`
ContentType string `json:"contentType"`
Body string `json:"body"`
}
type IntegerData struct {
Data []interface{} `json:"data"`
CompletionTime string `json:"completionTime"`
}
type OracleParamAbi struct {
Type string `json:"type"`
Path []string `json:"path"`
Decimal uint64 `json:"decimal"`
SubType []*OracleParamAbi `json:"sub_type"`
}
type RandomOrg struct {
Method string `json:"method"`
N int `json:"n"`
Min int `json:"min"`
Max int `json:"max"`
Replacement bool `json:"replacement"`
}
The Runner interface applies to all core runners.
Each implementation must return a RunResult.
For determines the runner type to use for a given task
type SignedIntegerData struct {
CompletionTime string `json:"completionTime"`
HashedApiKey string `json:"hashedApiKey"`
SerialNumber int `json:"serialNumber"`
Data []int `json:"data"`
Signature string `json:"signature"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.