(appMeta *AtomMeta)
| 98 | } |
| 99 | |
| 100 | func 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 |
no outgoing calls
no test coverage detected