package
Version:
v0.10.0
Opens a new window with list of versions in this module.
Published: Apr 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CoordinatorConfigRsp struct {
ProjectContractAddress string `json:"projectContractAddress"`
OperatorETHAddress string `json:"OperatorETHAddress,omitempty"`
OperatorSolanaAddress string `json:"operatorSolanaAddress,omitempty"`
}
type ErrRsp struct {
Error string `json:"error,omitempty"`
}
type HandleMessageReq struct {
ProjectID uint64 `json:"projectID" binding:"required"`
ProjectVersion string `json:"projectVersion" binding:"required"`
Data string `json:"data" binding:"required"`
}
type HandleMessageRsp struct {
MessageID string `json:"messageID"`
}
type LivenessRsp struct {
Status string `json:"status"`
}
type QueryMessageStateLogRsp struct {
MessageID string `json:"messageID"`
States []*StateLog `json:"states"`
}
type QueryTaskStateLogRsp struct {
TaskID uint64 `json:"taskID"`
ProjectID uint64 `json:"projectID"`
States []*StateLog `json:"states"`
}
type StateLog struct {
State string `json:"state"`
Time time.Time `json:"time"`
Result string `json:"result"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.