gorps

module
v0.0.0-...-c65080c Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: AGPL-3.0

README

gorps

GURPS character management with go.

Building

go build -o bin/ ./...

Configuration

There's an example configuration file located at example.config.toml. Gorps-server is searching for a file with the name config.toml in its CWD.

As an alternative, specify the path to the configuration file by starting the server with the parameter --config-path /path/to/config.toml

Run

bin/./gorps-server

API

/api/v1/register
  • Method: POST

Example body:

{
  "username": "",
  "password": ""
}
/api/v1/login
  • Method: POST

Example body:

{
  "username": "",
  "password": ""
}
/api/v1/logout
  • Method POST

Body is not required.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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