viva-warp
v1.0.51
Published
template for nodejs service (+MS SQL)
Downloads
67
Readme
Classes
Typedefs
App
Kind: global class
app.env : type_environment
Kind: instance property of App
app.go(endpoint_currentdir, params, callback)
Kind: instance method of App
| Param | Type | Description | | --- | --- | --- | | endpoint_currentdir | string | | | params | type_go | | | callback | function | error |
app.log_debug(message, [pipe], [trace_objects], [additional_param])
Kind: instance method of App
| Param | Type | Description | | --- | --- | --- | | message | string | message | | [pipe] | Array.<string> | string | logger pipe | | [trace_objects] | any | Array.<any> | trace object list | | [additional_param] | lib_logger.type_additional_param | Array.<lib_logger.type_additional_param> | additional params, contat to message |
app.log_error(error, [pipe], [trace_objects], [additional_param], [callback])
Kind: instance method of App
| Param | Type | Description | | --- | --- | --- | | error | any | object error or error text | | [pipe] | string | Array.<string> | logger pipe | | [trace_objects] | any | Array.<any> | trace object list | | [additional_param] | lib_logger.type_additional_param | Array.<lib_logger.type_additional_param> | additional params, contat to message | | [callback] | function | empty function for check end write error, for logger_reserve only |
app.log_debug_trace_object_names(trace_object_names) ⇒ type_log_debug_trace_object_names
Kind: instance method of App
| Param | Type | | --- | --- | | trace_object_names | string | Array.<string> |
type_app_endpoint
Kind: global typedef
Properties
| Name | Type | | --- | --- | | name | string | | version | string | | similar | string | | title | string |
type_ui_console
Kind: global typedef
Properties
| Name | Type | | --- | --- | | host | string | | [url_hostname] | string | | [url_path] | string | | [url_port] | number | | title | string |
type_go
Kind: global typedef
Properties
| Name | Type | Description | | --- | --- | --- | | [endpoint_app_version] | string | | | [endpoint_app_similar] | string | | | [ui_console_host] | string | example - http://127.0.0.1:9000 | | [ui_console_title] | string | example - console for BEST.APP |
type_environment
Kind: global typedef
Properties
| Name | Type | | --- | --- | | endpoint | type_app_endpoint | | internal | lib_internal_setting.type_internal_setting | | ui_console | type_ui_console |
type_log_debug_trace_object_names
Kind: global typedef
Properties
| Name | Type | | --- | --- | | key | string | | value | string |