common/

directory
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: AGPL-3.0

README

common

Shared packages imported by both the agent and the API server. Contains no application logic — only logging utilities, HTTP middleware, and shared type definitions. Having these in a common package with no internal project dependencies means either component can import from here without creating a dependency cycle.

Directories

Path Synopsis
Package log configures a global logger and exports common logging functions.
Package log configures a global logger and exports common logging functions.
Package middleware implements some common gin middleware that can be shared between the API and a potential golang frontend.
Package middleware implements some common gin middleware that can be shared between the API and a potential golang frontend.
Package types contains global definitions that are shared between the agent and API.
Package types contains global definitions that are shared between the agent and API.

Jump to

Keyboard shortcuts

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