Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReceiptModelType ¶
NewReceiptModelType creates a new schema.Type for a Receipt. You must provide the schema containing a Result type, which is a keyed union. e.g.
type Result union { | Ok "ok" | Err "error" } representation keyed type Ok struct { status String (rename "Status") } type Err struct { message String (rename "Message") }
func TypeSystem ¶
func TypeSystem() *schema.TypeSystem
Types ¶
type EffectsModel ¶
type EffectsModel struct { Fork []ipld.Link Join ipld.Link }
type OutcomeModel ¶
type OutcomeModel[O any, X any] struct { Ran ipld.Link Out ResultModel[O, X] Fx EffectsModel Meta MetaModel Iss *string Prf []ipld.Link }
type ReceiptModel ¶
type ReceiptModel[O any, X any] struct { Ocm OutcomeModel[O, X] Sig []byte }
type ResultModel ¶
Click to show internal directories.
Click to hide internal directories.