Documentation ¶
Overview ¶
Package domain provides interface and default implementation of domain.
Usage:
domain := NewBaseDomain(parent, "DomainName") classID := domain.GetClassID() name := domain.GetName()
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDomain ¶
type BaseDomain struct { contract.BaseSmartContract //class object.Factory Name string }
BaseDomain is a base implementation of Domain interface.
func NewBaseDomain ¶
NewBaseDomain creates new BaseDomain instance.
func (*BaseDomain) GetClassID ¶
func (d *BaseDomain) GetClassID() string
GetClassID return string representation of object's class.
type Domain ¶
type Domain interface { contract.SmartContract }
Domain is a collection of objects and related policies (construction, referencing, logical consensus etc).
type InternalDomain ¶ added in v0.0.2
type InternalDomain interface { contract.InternalSmartContract }
Click to show internal directories.
Click to hide internal directories.