go-tcp-server

command module
v0.0.0-...-7d2b470 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 5 Imported by: 0

README

TCP server written in Go with bare metal (no Docker) deployment scripts.

How to build

make

How to prepare for deployment

This step need to be run on Debian-like Linux distro with dpkg-deb package installed

make package

How to deploy

We assume 192.168.1.10 is the address of a remote host, running Debian-like Linux distro and having the SSH port opened. We also assume we have the remote access to root user with authorization provided by ssh-agent.

./deploy.sh --user root --host 192.168.1.10

How to monitor the deployment

Log in to the machine through SSH.

Get status
systemctl status go-tcp-server
Get logs
journalctl -u go-tcp-server
Change configuration
vi /etc/go-tcp-server/config.yml

# apply changes

systemctl restart go-tcp-server

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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