Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body interface { Resource() resources.Immutable Content() Content HasExecutesOn() bool ExecutesOn() *time.Time }
Body represents an unsigned body of a transaction
type Builder ¶
type Builder interface { Create() Builder WithContainer(container containers.Transaction) Builder WithContent(content contents.Transaction) Builder WithAccess(access access.Transaction) Builder ExecutesOn(executesOn time.Time) Builder Now() (Body, error) }
Builder represents the transaction body
type Content ¶
type Content interface { Hash() hash.Hash IsContainer() bool Container() containers.Transaction IsContent() bool Content() contents.Transaction IsAccess() bool Access() access.Transaction }
Content represents the content of a body transaction
Click to show internal directories.
Click to hide internal directories.