gateway

module
v0.0.0-...-2d539fd Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: AGPL-3.0

README

Sakura Gateway

Installation

Install the dependencies

go get

Copy the .env.sample file as .env

cp .env.sample .env

Add your database information and other config to the .env file.

Note that the ALLOWED_ORIGINS field is used for site origins that are allowed to access the gateway (CORS).

ALLOWED_ORIGINS="http://hello.world, https://foo.bar"

Usage

To run in a development environment:

go run cmd/gateway/main.go

Directories

Path Synopsis
cmd
gateway command
internal
app
pkg

Jump to

Keyboard shortcuts

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