metadata

package
v0.7.19 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 1 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

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