cmd

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package cmd provides the Gate CLI entrypoint and root command. It wires config loading, subcommands (server, db), and runs the Cobra root.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ConfigPath is the path to the configuration file, set via --config flag.
	ConfigPath string
)

Functions

func Execute

func Execute()

Execute runs the root command and parses the CLI. On error it exits the process with code 1.

Types

This section is empty.

Directories

Path Synopsis
Package db provides CLI commands for managing database operations, including running and rolling back schema migrations.
Package db provides CLI commands for managing database operations, including running and rolling back schema migrations.
Package server implements the Gate HTTP server and its lifecycle.
Package server implements the Gate HTTP server and its lifecycle.
handlers
Package handlers provides HTTP request handlers for the Gate API.
Package handlers provides HTTP request handlers for the Gate API.
middlewares
Package middlewares provides HTTP middleware for the Gate server.
Package middlewares provides HTTP middleware for the Gate server.

Jump to

Keyboard shortcuts

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