controller

module
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: AGPL-3.0

README

controller

Description (TODO)

Responsibility and purpose of service.

Setup

config.go is responsible for handling configs.

It looks for config.yaml file in project directory. If there is one it reads config from there. After that it reads env variables and overwrites any variables from local config. Config will be printed in console on start.

A sample config file is left in repository to be filled.

Running locally

Open go.mod file and check which version of Go is used. It should have line similar to this one: go 1.16. This means you need to install 1.16 version of Go.

After successfull install you can build the service with:

    go build

This will create an executable posbus that can be ran.

If you run the service locally Unity client won't be able to connect to it securely. Use ws:localhost:port/posbus as URL in NetworkConfiguration.

Directories

Path Synopsis
apps
internal
net
pkg
Package pkg can be used by third-parties
Package pkg can be used by third-parties

Jump to

Keyboard shortcuts

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