MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / convertAppMetaToEngineMeta

Function convertAppMetaToEngineMeta

tsunami/app/defaultclient.go:100–112  ·  view source on GitHub ↗
(appMeta *AtomMeta)

Source from the content-addressed store, hash-verified

98}
99
100func convertAppMetaToEngineMeta(appMeta *AtomMeta) *engine.AtomMeta {
101 if appMeta == nil {
102 return nil
103 }
104 return &engine.AtomMeta{
105 Description: appMeta.Desc,
106 Units: appMeta.Units,
107 Min: appMeta.Min,
108 Max: appMeta.Max,
109 Enum: appMeta.Enum,
110 Pattern: appMeta.Pattern,
111 }
112}
113
114// HandleDynFunc registers a dynamic HTTP handler function with the internal http.ServeMux.
115// The pattern MUST start with "/dyn/" to be valid. This allows registration of dynamic

Callers 2

ConfigAtomFunction · 0.85
DataAtomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected