passage-server

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

README

Overview

What is Passage?

Passage Server is a powerful, open-source access control management solution built in Go. It provides a centralized portal for managing and automating role-based access across multiple platforms and cloud services. Designed with flexibility and scalability in mind.

Passage UI

Head to Passage documentation to know more.

Getting Started

Running Passage Locally

To start the Passage server locally, run:

go run main.go

This will launch Passage Server using the default configuration file inside the configs directory.

Database Configuration

By default, Passage uses an SQLite database. However, it also supports other databases like PostgreSQL and MySQL. Check the database configuration guide for more details.

API documentation

Passage uses gin-swagger for API documentation.

Generating Swagger Docs

To generate Swagger documentation, install swag first:

go install github.com/swaggo/swag/cmd/swag@latest

Then, initialize the Swagger documentation:

swag init

Documentation

Overview

Package main is the entry point for the contracts-api application.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
pkg
api
pkg/api/server.go
pkg/api/server.go

Jump to

Keyboard shortcuts

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