diarkis-server-template

module
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0

README

Overview

Server: kubernetes docker golang

Client: golang

This repository is a template for Diarkis engine's server-side code for a project.

One thing to note about this project is that Diarkis itself is proprietary software and will not pass the build process as is, but must be built using diarkis-cli.

A skeleton source code with function definitions and variable definitions is also provided for use with the IDE's completion functions, etc.

Diarkis server cluster is made up with HTTP, TCP, and UDP servers.

Each protocol servers run independently within the cluster, but you do not have to have all protocols.

Only HTTP server is required in the cluster and the rest of the servers should be chosen according to your application's requirements.

How To Use The Template

The repository itself is under the src directory. When you actually start using this repository, it is assumed that you will start your project using the src directory as a template. To generate it, use the following command.

make init project_id={project ID} builder_token={build token} output={absolute path to install}

The repository itself is under the src directory. When you actually start using this repository, it is assumed that you will start your project using the src directory as a template. To generate it, use the following command.

To build, you will need the build token to build diarkis, which can be obtained by contacting us at https://diarkis.io .

The structure of the project after it is generated and how to use it can be found in the Readme that is included in the generated directory, which should help.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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