pkg/

directory
v0.18.0-beta03 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: AGPL-3.0

README

pkg/ - Go packages

This document details convention about pkg/ structure. Packages documentation is available using godoc -http=:6060.

pkg
├── embedded                      # Files embedded within Go binary.
├── event                         # Prisme events structure.
├── handlers                      # HTTP handlers.
├── middlewares                   # HTTP middlewares.
├── services                      # Reusable and swappable features hided behind interfaces.
└── wired                         # Wire providers of external dependency.

Directories

Path Synopsis
Package clickhouse contains wire provider for clickhouse connection and migration.
Package clickhouse contains wire provider for clickhouse connection and migration.
Package config contains utils and structure to load Prisme configurations.
Package config contains utils and structure to load Prisme configurations.
Package embedded holds files embedded in Go binary.
Package embedded holds files embedded in Go binary.
Package event holds dumb structure (with no logic) to represent events.
Package event holds dumb structure (with no logic) to represent events.
Package grafana holds a generic grafana API client tailored for our specific needs.
Package grafana holds a generic grafana API client tailored for our specific needs.
Package handlers holds our Fiber HTTP handlers.
Package handlers holds our Fiber HTTP handlers.
Package log holds our zerolog.Logger constructors.
Package log holds our zerolog.Logger constructors.
Package middlewares holds our custom Fiber HTTP middlewares.
Package middlewares holds our custom Fiber HTTP middlewares.
services
Package wired contains wire provider for external dependencies or code shared between Prisme mode.
Package wired contains wire provider for external dependencies or code shared between Prisme mode.

Jump to

Keyboard shortcuts

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