teonet-go

module
v0.0.0-...-2e4d9bc Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: BSD-3-Clause

README

Teonet-go

About

Teonet-go is golang implementation of Teonet C library. It is communication library to process network / cloud transport between microservices. Teonet-go uses UDP to communicate between its network peers. There UDP packets are encrypted with unique keys. Teonet-go uses own UDP based protocol called TR-UDP for real time communications that allows sending messages with low latency and provides protocol reliability features.

***This project is under constraction. The documentation and examples are not finesed yet. Look at Teonet C Library to use it in production.

Requirements

Teonet-go requires Go 1.2 or newer. Download the latest from: https://code.google.com/p/go/downloads/

Git is required for installing via go get.

A C compiler (gcc or clang) and the openssl library are required too.

On Debian and Ubuntu, install the development packages:

apt-get install build-essential libssl-dev

On CentOS and RHEL:

yum install gcc libssl-dev

Installation

Make sure $GOROOT and $GOPATH are set, and install:

go get github.com/kirill-scherba/teonet-go

Running

To run main teonet developer application:

cd teonet
go run .

Directories

Path Synopsis
services
teoapi
Package teoapi is the Teonet registry service client package.
Package teoapi is the Teonet registry service client package.
teocdb
Package teocdb (teo-cdb) is the Teonet key-value database service package Install this go package: go get github.com/kirill-scherba/teonet-go/services/teocdb Data base organisation This service uses ScyllaDB.
Package teocdb (teo-cdb) is the Teonet key-value database service package Install this go package: go get github.com/kirill-scherba/teonet-go/services/teocdb Data base organisation This service uses ScyllaDB.
teocdbcli
Package teocdbcli is the Teonet key-value databaseb service client package.
Package teocdbcli is the Teonet key-value databaseb service client package.
teocdbcli/conf
Package conf is the Teonet config reader based on teocdb key-value databaseb service client package.
Package conf is the Teonet config reader based on teocdb key-value databaseb service client package.
teoconf
Package teoconf is the Teonet file in json format config reader.
Package teoconf is the Teonet file in json format config reader.
teoreg
Package teoreg (teo-reg) is the Teonet registrar service package.
Package teoreg (teo-reg) is the Teonet registrar service package.
teoregistry
Package teoregistry (teo-registry) is the Teonet registry service package Teoregistry store teonet applications(services) and its commands api description in teonet database.
Package teoregistry (teo-registry) is the Teonet registry service package Teoregistry store teonet applications(services) and its commands api description in teonet database.
teoroom
Package teoroom (teo-room) is the Teonet room controller service package Room controller used to connect users to rooms and send commands between it.
Package teoroom (teo-room) is the Teonet room controller service package Room controller used to connect users to rooms and send commands between it.
teoroom/stats
Package stats is the Teonet room statistic functions and datbase themes.
Package stats is the Teonet room statistic functions and datbase themes.
teoroomcli
Package teoroomcli is teonet room controller service client package.
Package teoroomcli is teonet room controller service client package.
teoroomcli/stats
Package stats is teonet teoroom statistic (which writing to cdb) service client package.
Package stats is teonet teoroom statistic (which writing to cdb) service client package.
teousers
Package teousers (teo-users) is the Teonet users service package.
Package teousers (teo-users) is the Teonet users service package.
teouserscli
Package teouserscli is teonet teousers service client package.
Package teouserscli is teonet teousers service client package.
Package teocli is the Teonet client package
Package teocli is the Teonet client package
examples/teocli-termloop
Teonet client using linux terminal game engine This is simple terminal game with teonet client connected to teonet l0 server and teonet room controller.
Teonet client using linux terminal game engine This is simple terminal game with teonet client connected to teonet l0 server and teonet room controller.
Package teokeys is the Teonet terminal hotkeys menu, cursor position and colors processing package
Package teokeys is the Teonet terminal hotkeys menu, cursor position and colors processing package
Package teolog is the Teonet loger package
Package teolog is the Teonet loger package
Package teonet contain Teonet server functions and data structures.
Package teonet contain Teonet server functions and data structures.
app/teocdb
Teonet cdb (teo-cdb) database service service application.
Teonet cdb (teo-cdb) database service service application.
app/teoroom
Teonet room controller (teo-room) micro service application.
Teonet room controller (teo-room) micro service application.
app/teoroom/table
Demo code for the Table primitive.
Demo code for the Table primitive.
teovpn
cmd/teotun
Teotun is a simple udp tunnel which up tap interface beatven two node
Teotun is a simple udp tunnel which up tap interface beatven two node
tests
buf
library
This example shows how to create dynamic library using go and use it in C application.
This example shows how to create dynamic library using go and use it in C application.
raw
ws
Package trudp is the Teonet relable udp processing package.
Package trudp is the Teonet relable udp processing package.

Jump to

Keyboard shortcuts

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