Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

single source pure

Types 1

type ValueIngester

struct
1type ValueIngester struct {
2	value string
3}
source

ValueIngester is an ingester that ingests a single value.

Methods on ValueIngester

func CommitValue

method on ValueIngester
1func (i *ValueIngester) CommitValue(valueStorer gnorkle.Storage, providerAddress string) error
source

CommitValue commits the ingested value to the given storage instance.

func Ingest

method on ValueIngester
1func (i *ValueIngester) Ingest(value, providerAddress string) (bool, error)
source

Ingest ingests a value provided by the given agent address.

func Type

method on ValueIngester
1func (i *ValueIngester) Type() ingester.Type
source

Type returns the type of the ingester.

Imports 2

Source Files 2