Versions in this module Expand all Collapse all v1 v1.1.1 Dec 18, 2024 Changes in this version + type Decidable interface + Accept func(context.Context) error + ID func() ids.ID + Reject func(context.Context) error + Status func() Status + type Status uint32 + const Accepted + const Processing + const Rejected + const Unknown + func (s *Status) UnmarshalJSON(b []byte) error + func (s Status) Bytes() []byte + func (s Status) Decided() bool + func (s Status) Fetched() bool + func (s Status) MarshalJSON() ([]byte, error) + func (s Status) String() string + func (s Status) Valid() error + type TestDecidable struct + AcceptV error + IDV ids.ID + RejectV error + StatusV Status + func (d *TestDecidable) Accept(context.Context) error + func (d *TestDecidable) ID() ids.ID + func (d *TestDecidable) Reject(context.Context) error + func (d *TestDecidable) Status() Status