metadata

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata map[string]any

Metadata is a structure to store dynamic values in frontier. it could be use as an additional information of a specific entity

func Build

func Build(m map[string]any) (Metadata, error)

Build transforms a Metadata from map[string]any

func (Metadata) ToStructPB

func (m Metadata) ToStructPB() (*structpb.Struct, error)

ToStructPB transforms Metadata to *structpb.Struct

Jump to

Keyboard shortcuts

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