stakeholder

package
v0.0.0-...-3078d79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SchemaName of stakeholder
	SchemaName = "stakeholder"
)

Variables

This section is empty.

Functions

func Register

func Register()

Register registers the schema of stakeholder block

func SchemaV1Prototype

func SchemaV1Prototype() block.Codec

SchemaV1Prototype creates a prototype for schemaV1

Types

type Footprint

type Footprint struct {
	*block.DataBase
	// contains filtered or unexported fields
}

Footprint is a data handler for the footprint link to the underlying work

func NewFootprint

func NewFootprint() *Footprint

NewFootprint creates a footprint data handler

func (*Footprint) Decode

func (d *Footprint) Decode(data interface{}, m *map[string]interface{}) error

Decode Footprint

func (*Footprint) Encode

func (d *Footprint) Encode(m *map[string]interface{}) error

Encode Footprint

func (*Footprint) Prototype

func (d *Footprint) Prototype() block.Data

Prototype creates a protype Footprint

func (*Footprint) Resolve

func (d *Footprint) Resolve(path []string) (interface{}, []string, error)

Resolve resolves the link

func (*Footprint) Set

func (d *Footprint) Set(data interface{}) error

Set the value of link of footprint

func (*Footprint) ToJSON

func (d *Footprint) ToJSON(om *ordered.OrderedMap) error

ToJSON prepares the data for MarshalJSON

type Type

type Type struct {
	*block.String
}

Type is a data handler for the type of stakeholder

func NewType

func NewType() *Type

NewType creates a stakeholder type data handler

func (*Type) Prototype

func (d *Type) Prototype() block.Data

Prototype creates a prototype Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL