schema

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Verbose int

Functions

This section is empty.

Types

type MetaDataDetails

type MetaDataDetails struct {
	Schema       string            `json:"schema"`
	Units        map[string]string `json:"units"`
	Descriptions map[string]string `json:"descriptions"`
	DataTypes    map[string]string `json:"types"`
}

MetaDataDetails represents individual FOXDEN schema details dictionary

type MetaDataManager

type MetaDataManager struct {
	Records []MetaDataDetails
}

MetaDataManager holds MetaDataDetails list for all FOXDEN schemas

func (*MetaDataManager) DataTypes added in v0.2.8

func (s *MetaDataManager) DataTypes(sname string) map[string]string

DataTypes provides data-type map for given schema name

func (*MetaDataManager) Descriptions

func (s *MetaDataManager) Descriptions(sname string) map[string]string

Descriptions provides description map for given schema name

func (*MetaDataManager) Units

func (s *MetaDataManager) Units(sname string) map[string]string

Units provides units map for given schema name

Jump to

Keyboard shortcuts

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