1.0.6 • Published 5 years ago

4readclub.api.core v1.0.6

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

Core

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) 1.5. trusted app list 2. Setting in ini file 3. Panic

Kind: global class

core.app_name : string

Kind: instance property of Core

core.app_version : string

Kind: instance property of Core

core.app_similar : number

Kind: instance property of Core

core.app_need_exit : boolean

Kind: instance property of Core

core.ini_setting : lib_setting

Kind: instance property of Core

core.sql : lib_sql

Kind: instance property of Core

core.init(app_filename, app_version, callback)

Kind: instance method of Core

ParamType
app_filenamestring
app_versionstring
callbackfunction

core.panic(text)

print panic text and halt app

Kind: instance method of Core

ParamType
textstring

core.sql_setting_get(setting_rid) ⇒ string

get one setting value by setting code

Kind: instance method of Core

ParamType
setting_ridstring

core.trusted_app_check(access_name, access_key) ⇒ boolean

check trusted app by name and key

Kind: instance method of Core

ParamType
access_namestring
access_keystring
1.0.6

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago