Versions in this module Expand all Collapse all v1 v1.0.0 Aug 30, 2023 Changes in this version + type HeuristicMethod int + func StringToHeuristicMethod(s string) HeuristicMethod + type Result = map[string]string + type SessionRequestBody struct + Method string + Params SessionRequestParams + func (irb *SessionRequestBody) Clone() *SessionRequestBody + func (irb *SessionRequestBody) MethodType() HeuristicMethod + type SessionRequestParams struct + AlertingParams *core.AlertPolicy + EndHeight *big.Int + HeuristicType string + Network string + PType string + SessionParams map[string]interface{} + StartHeight *big.Int + func (hrp *SessionRequestParams) AlertPolicy() *core.AlertPolicy + func (hrp *SessionRequestParams) AlertingDestType() core.AlertDestination + func (hrp *SessionRequestParams) GeneratePipelineConfig(pollInterval time.Duration, regType core.RegisterType) *core.PipelineConfig + func (hrp *SessionRequestParams) Heuristic() core.HeuristicType + func (hrp *SessionRequestParams) NetworkType() core.Network + func (hrp *SessionRequestParams) Params() *core.SessionParams + func (hrp *SessionRequestParams) PipelineType() core.PipelineType + func (hrp *SessionRequestParams) SessionConfig() *core.SessionConfig + type SessionResponse struct + Code int + Error string + Result Result + Status SessionResponseStatus + func NewSessionAcceptedResp(id core.SUUID) *SessionResponse + func NewSessionNoProcessResp() *SessionResponse + func NewSessionUnmarshalErrResp() *SessionResponse + type SessionResponseStatus string v0 v0.0.1 Jul 25, 2023 Changes in this version + type ChainConnectionStatus struct + IsL1Healthy bool + IsL2Healthy bool + type HealthCheck struct + ChainConnectionStatus *ChainConnectionStatus + Healthy bool + Timestamp time.Time + type InvRequestBody struct + Method string + Params InvRequestParams + func (irb *InvRequestBody) Clone() *InvRequestBody + func (irb *InvRequestBody) MethodType() InvariantMethod + type InvRequestParams struct + AlertingDest string + EndHeight *big.Int + InvType string + Network string + PType string + SessionParams map[string]interface{} + StartHeight *big.Int + func (irp *InvRequestParams) AlertingDestType() core.AlertDestination + func (irp *InvRequestParams) GeneratePipelineConfig(pollInterval time.Duration, regType core.RegisterType) *core.PipelineConfig + func (irp *InvRequestParams) InvariantType() core.InvariantType + func (irp *InvRequestParams) NetworkType() core.Network + func (irp *InvRequestParams) Params() *core.InvSessionParams + func (irp *InvRequestParams) PipelineType() core.PipelineType + func (irp *InvRequestParams) SessionConfig() *core.SessionConfig + type InvResponse struct + Code int + Error string + Result InvResult + Status InvResponseStatus + func NewInvAcceptedResp(id core.SUUID) *InvResponse + func NewInvNoProcessInvResp() *InvResponse + func NewInvUnmarshalErrResp() *InvResponse + type InvResponseStatus string + const NotOK + const OK + type InvResult = map[string]string + type InvariantMethod int + const Run + const Stop + const Update + func StringToInvariantMethod(s string) InvariantMethod