passage-server

command module
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: GPL-3.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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