astrogo

command module
v1.0.93 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 7 Imported by: 0

README

╔═══════════════════════════════════════════════════════════════╗
║                                                               ║
║         🚀 ASTEROIDEA R&D GO PACKAGE (AstroPkg) 🚀              ║
║                                                               ║
║              A Collection of Go Utilities                     ║
║                                                               ║
║            © 2026 Asteroidea R&D Department                   ║
║                   All Rights Reserved                         ║
║                                                               ║
╚═══════════════════════════════════════════════════════════════╝

AstroPkg — Asteroidea Go Utilities Library

A comprehensive collection of reusable Go packages for modern application development, providing utilities for database management, messaging, logging, email, task scheduling, RTSP stream processing, and more.

Module: git.asteroidea.co/go-packages/astrogo

Installation

go get git.asteroidea.co/go-packages/astrogo

Then import any sub-package by its full path:

import "git.asteroidea.co/go-packages/astrogo/pkg/astrodb"
import "git.asteroidea.co/go-packages/astrogo/pkg/astrolog"

Packages

All packages reside under the pkg/ directory:

Package Description
astroaudit Database auditing with PostgreSQL triggers and Gin middleware
astrocron Task scheduling and cron job execution with human-readable schedule formats
astrodb Unified database abstraction for PostgreSQL and SQLite with auto-migration (Bun + GORM backends)
astroenv Type-safe environment variable loader using struct tags with .env file support
astroexport PDF and Excel (XLSX) export with RTL/Arabic text support
astrolog Structured logging built on zerolog with configurable file rotation via lumberjack
astromail Simplified SMTP email sending with CC, HTML body, and SSL/TLS support
astronats Thin NATS and JetStream client wrapper with pub/sub, streams, KV store, and object store
astrortsp RTSP stream capture, snapshot, split, and crop image processing via FFmpeg

Project Structure

AstroPkg/
├── CHANGELOG.md
├── go.mod
├── go.sum
├── LICENSE
├── test.go
├── utils/
└── pkg/
    ├── astroaudit/       # Database auditing
    │   └── README.md
    ├── astrocron/        # Task scheduling
    │   └── README.md
    ├── astrodb/          # Database abstraction (Bun + GORM)
    │   ├── README.md
    │   ├── README_BUN.md
    │   └── README_GORM.md
    ├── astroenv/         # Environment variable loader
    │   └── Readme.md
    ├── astroexport/      # PDF and Excel export
    │   └── README.md
    ├── astrolog/         # Structured logging
    │   └── README.md
    ├── astromail/        # SMTP email
    │   └── README.md
    ├── astronats/        # NATS messaging
    │   ├── Readme.md
    │   └── REFERENCE.md
    ├── astrortsp/        # RTSP image capture
    │   └── README.md
    └── README.md         # Package overview

Author

Yassine MANAI — Asteroidea R&D Department

License

MIT License — © 2026 Asteroidea.co

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.


Made with ❤️ by Asteroidea

Documentation

Overview

main.go

Source Files

  • test.go

Directories

Path Synopsis
pkg
astrocron
================ Version : V1.1.1 ===========
================ Version : V1.1.1 ===========
astrodb
================================ Version 1.0.0 ================================ File: pkg/astrodb/db_audit.go Description: Optional Postgres audit-trigger management for the Bun path.
================================ Version 1.0.0 ================================ File: pkg/astrodb/db_audit.go Description: Optional Postgres audit-trigger management for the Bun path.
astroenv
Package astroenv provides a type-safe environment variable loader for Go applications.
Package astroenv provides a type-safe environment variable loader for Go applications.
astrolog
================================ Version 1.0.91 ==================================== File: pkg/astrolog/logger.go Description: This file contains logging utilities for the AsteroIdea project.
================================ Version 1.0.91 ==================================== File: pkg/astrolog/logger.go Description: This file contains logging utilities for the AsteroIdea project.
astrortsp
================ Version : V1.1.0 ===========
================ Version : V1.1.0 ===========

Jump to

Keyboard shortcuts

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