gateway

module
v0.0.0-...-b34430a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: GPL-3.0

README

Table Of Contents

Todo list

  • Integrate FX framework
  • Add middleware layers to http server
  • Implement users methods use middleware in gin framework
  • Complete users CRUD methods
  • Research NGINX to make a reverse-proxy for microservice
  • Vibe coding a webserver based on openapi.yml
  • Deploy the distributed system to a real domain (fiagram.com)
  • (Tech debt) Fork and rewrite openapi to add RegisterWith<middleware_names>Mids intent to group middlewares for convenience

Introduction

  • A gateway for microservices.

Environment for development

Service

Preparation
  • Download tools for the service
make init
  • Generate openapi (by oapi-codegen tool) and others
make generate
Run service as standalone
  • Run service with the make command
make run-standalone-server

Directories

Path Synopsis
cmd
gateway command
internal
app
generated/openapi
Package oapi provides primitives to interact with the openapi HTTP API.
Package oapi provides primitives to interact with the openapi HTTP API.
log

Jump to

Keyboard shortcuts

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