json_rpc_server_b/

directory
v0.0.0-...-dc806d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: GPL-3.0

README

This is an Example of JSON-RPC Server written in Go programming Language.

The Example is done according to the Task, described in the File 'TASK'.

This Program is intended for testing Purposes only!

The Server uses its own built-in File DataBase (D.B.) which is faster than any external SQL DataBase. The main Activity is done in the Memory of the Process which is the Reason for excellent Speed. Server periodically saves the Data to the File. The Saves are done incrementally. Each Record in the D.B. has a fixed Size making Alteration of Records very rapid and secure!

However, this Product (at this Moment) lacks some Features which could increase Performance even more, so for now it is not an ideal Solution due to Lack of my spare Time.

For Example, in this Implementation, there are no Indexes for 'login' Field, also the Code lacks graceful Shutdown of the Server. Moreover, the automated Tests are not full. 

Some Tests are written in '*_test.go' Files. They do some basic Testing of the User Model. Other Tests may be done manually. Examples of test Client Methods can be found in the 'TEST' File in the Folder 'test'.

Author: McArcher.
Date: 2017-07-06.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL