go_core_query

0.0.59 • Public • Published

ccs.go_core_query

The package allows you to connect to the GoCore core via socket or regular http (s) requests. Works in various environments where there is javascript.

Installation

npm i go_core_query --save

Usage

Example

const initQuery = require('ccs.go_core_query')

const params = {
    host: '192.168.1.45',
    port: 9001,
    path:'',
    https: false,
    autoAuth:true,
    debug:true,
    afterInitConnect:(socket)=>{
        console.log('afterInitConnect==>', socket)
    }
}

const query = initQuery(params)

Contributing

Complex Cloud Solutions LLC

License

ISC

Package Sidebar

Install

npm i go_core_query

Homepage

go-core.ru/

Weekly Downloads

5

Version

0.0.59

License

ISC

Unpacked Size

2.6 MB

Total Files

26

Last publish

Collaborators

  • ccsmskru