schildcafe.servitor

command module
v0.0.0-...-8fb031d Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

README

SchildCafé: Servitør

SchildCafé

This is a Go implementation of the Servitør app used in the SchildCafé, built with Gin Gonic and GORM.

Installation

Consider using Air.

go mod tidy

or

make prep

Compile

swag init
go run .
make run

Options

To specify a port other then the default, set the environment variable

export SERVITOR_PORT="1333"

To log log in Gelf format, use the following environment setting

export GELF_LOGGING="true"

In order to turn off debug mode, use

export GIN_MODE="release"

To send traces to an OTEL endpoint, specify its address

export OTEL_TRACES_ENDPOINT="localhost:4318"

Execution

Make sure to provide the MySQL credentials as environment variables.

make run

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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