Documentation ¶
Index ¶
- func BatchUpdateChainHeightPausedBySFIDs(ctx context.Context, ids []types.SFID, s datatypes.Bool) error
- func BatchUpdateChainTxPausedBySFIDs(ctx context.Context, ids []types.SFID, s datatypes.Bool) error
- func BatchUpdateContractLogPausedBySFIDs(ctx context.Context, ids []types.SFID, s datatypes.Bool) error
- func CreateChainHeight(ctx context.Context, r *CreateChainHeightReq) (*models.ChainHeight, error)
- func CreateChainTx(ctx context.Context, r *CreateChainTxReq) (*models.ChainTx, error)
- func CreateContractLog(ctx context.Context, r *CreateContractLogReq) (*models.ContractLog, error)
- func GetChainHeightBySFID(ctx context.Context, id types.SFID) (*models.ChainHeight, error)
- func GetChainTxBySFID(ctx context.Context, id types.SFID) (*models.ChainTx, error)
- func GetContractLogBySFID(ctx context.Context, id types.SFID) (*models.ContractLog, error)
- func InitChainDB(ctx context.Context) error
- func ListChainHeightBySFIDs(ctx context.Context, ids []types.SFID) ([]models.ChainHeight, error)
- func ListChainTxBySFIDs(ctx context.Context, ids []types.SFID) ([]models.ChainTx, error)
- func ListContractLogBySFIDs(ctx context.Context, ids []types.SFID) ([]models.ContractLog, error)
- func Monitor(ctx context.Context)
- func RemoveChainHeightBySFID(ctx context.Context, id types.SFID) error
- func RemoveChainTxBySFID(ctx context.Context, id types.SFID) error
- func RemoveContractLogBySFID(ctx context.Context, id types.SFID) error
- func RemoveMonitor(ctx context.Context, projectName string) error
- type BatchUpdateMonitorReq
- type CreateChainHeightReq
- type CreateChainTxReq
- type CreateContractLogReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchUpdateChainHeightPausedBySFIDs ¶ added in v1.2.5
func BatchUpdateChainTxPausedBySFIDs ¶ added in v1.2.5
func BatchUpdateContractLogPausedBySFIDs ¶ added in v1.2.5
func CreateChainHeight ¶
func CreateChainHeight(ctx context.Context, r *CreateChainHeightReq) (*models.ChainHeight, error)
func CreateChainTx ¶
func CreateContractLog ¶
func CreateContractLog(ctx context.Context, r *CreateContractLogReq) (*models.ContractLog, error)
func GetChainHeightBySFID ¶ added in v1.1.0
func GetChainTxBySFID ¶ added in v1.1.0
func GetContractLogBySFID ¶ added in v1.1.0
func InitChainDB ¶
func ListChainHeightBySFIDs ¶ added in v1.2.5
func ListChainTxBySFIDs ¶ added in v1.2.5
func ListContractLogBySFIDs ¶ added in v1.2.5
func RemoveChainHeightBySFID ¶ added in v1.1.0
func RemoveChainTxBySFID ¶ added in v1.1.0
func RemoveContractLogBySFID ¶ added in v1.1.0
Types ¶
type BatchUpdateMonitorReq ¶ added in v1.2.5
type CreateChainHeightReq ¶
type CreateChainHeightReq struct { ProjectName string `json:"-"` models.ChainHeightInfo }
type CreateChainTxReq ¶
type CreateChainTxReq struct { ProjectName string `json:"-"` models.ChainTxInfo }
type CreateContractLogReq ¶
type CreateContractLogReq struct { ProjectName string `json:"-"` models.ContractLogInfo }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.