metadata

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 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 FromString added in v0.8.0

func FromString(m map[string]string) Metadata

FromString transforms a Metadata from map[string]string

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