Go Tcp Client / Server Common library
Code used for computation, logging, thread pool manageemnt, and more...
Affected Repositories
Here list of linked repositories:
Provided libraries:
-
common - Common model entities
-
io -> files tools - File operations
-
io -> parsers tools - Json, Yaml, Xml parsing libraries
-
io/streams -> data stream - Fluent DataStream model
-
log - System Logger
-
net/api/client - Api Client (TLS/No TLS) declarations and implementation
-
net/api/common - Api Client Commmon Models
-
net/api/server - Api Server (TLS/No TLS) declarations and implementation
-
net/common - Common Net interfaces
-
net/rest/common - Common Net Rest interfaces
-
net/rest/tls/client - Rest TLS Client (TLS/No TLS) declarations
-
net/rest/tls/client -> impl - Rest TLS Client (TLS/No TLS) implementation
-
net/rest/tls/server - Rest TLS Server (TLS/No TLS) declarations
-
net/rest/tls/server -> impl - Rest TLS Server (TLS/No TLS) implementation
-
net/rest/tls -> clients - Rest TLS Clients export interfaces
-
net/rest/tls -> servers - Rest TLS Servers export interfaces
-
pool - Thread Pool component and related interfaces and sub-components
Available samples
Samples are available for:
Before to run the sample prease create the certificates :
On the root of the project execute
./makecert.sh -d
Then to run the Rest Server/Client Sample :
go run samples/rest/tls/server-client.go
Or to run the Api Server/Client Sample :
go run samples/api/tls/server-client.go
Enjoy the experience.
License
The library is licensed with LGPL v. 3.0 clauses, with prior authorization of author before any production or commercial use. Use of this library or any extension is prohibited due to high risk of damages due to improper use. No warranty is provided for improper or unauthorized use of this library or any implementation.
Any request can be prompted to the author Fabrizio Torelli at the following email address: