1.0.15 • Published 6 years ago

4readclub.api.shared v1.0.15

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
6 years ago

Shared

My template for back-end style project, consists of two parts: this template and MS SQL base. This is a template for internal features, do not use it. Features: 1. MS SQL 1.1. direct access 1.2. actions 1.3. settings with hot reload 1.4. write 'i am life' info (including memory use) 2. Setting in ini file 3. Panic

Kind: global class

shared.app_name : string

Kind: instance property of Shared

shared.app_version : string

Kind: instance property of Shared

shared.app_similar : number

Kind: instance property of Shared

shared.app_need_exit : boolean

Kind: instance property of Shared

shared.ini_setting : lib_setting

Kind: instance property of Shared

shared.sql : lib_sql

Kind: instance property of Shared

shared.init(app_filename, app_version, callback)

Kind: instance method of Shared

ParamType
app_filenamestring
app_versionstring
callbackfunction

shared.panic(text)

print panic text and halt app

Kind: instance method of Shared

ParamType
textstring

shared.sql_setting_get(setting_rid) ⇒ string

get one setting value by setting code

Kind: instance method of Shared

ParamType
setting_ridstring
1.0.15

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago