gkit

module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT

README

gkit

gkit is a Go toolkit that collects reusable libraries for application, transport, systems, and utility work under a single module.

Package areas

Visible package groups in this repository include:

  • can/ for CAN-related packages such as ISO-TP, raw CAN, and UDS helpers
  • gconnect/ for ConnectRPC client and server foundations
  • gcodec/, gjson/, and gyaml/ for codec and serialization helpers
  • gencryption/ and gcompression/ for encryption and compression utilities
  • gfs/, gexec/, gfilelog/, and glogger/ for filesystem, process, file logging, and structured logging support
  • gpubsub/, gscheduler/, and gshutdown/ for messaging, scheduling, and shutdown coordination
  • gduration/, gsize/, and gtemplate/ for general-purpose supporting utilities

Installation

Add the root module to your project and import the packages you need:

go get gitlab.com/natitec_public/gkit@latest

Example imports:

import (
    "gitlab.com/natitec_public/gkit/gconnect"
    "gitlab.com/natitec_public/gkit/glogger"
)

License

This repository is available under the MIT License. See LICENSE for details.

Directories

Path Synopsis
can
Package gcodec provides shared infrastructure for codec packages: file I/O, optional encryption, template rendering, and filesystem permissions.
Package gcodec provides shared infrastructure for codec packages: file I/O, optional encryption, template rendering, and filesystem permissions.
Package gconnect provides production-oriented ConnectRPC transport foundations for gkit services.
Package gconnect provides production-oriented ConnectRPC transport foundations for gkit services.
Package gencryption provides cryptographic primitives for encrypting files, packets, and binary data.
Package gencryption provides cryptographic primitives for encrypting files, packets, and binary data.
Package gexec provides helpers for executing shell commands and direct processes with configurable environment variables, working directories and I/O redirection.
Package gexec provides helpers for executing shell commands and direct processes with configurable environment variables, working directories and I/O redirection.
Package gfilelog provides high-throughput rotating binary file logging for typed payloads and raw byte slices.
Package gfilelog provides high-throughput rotating binary file logging for typed payloads and raw byte slices.
Package gfs provides production-ready filesystem helpers for common file operations such as querying directories, filtering paths, copying files, moving files, and preserving selected metadata across copies.
Package gfs provides production-ready filesystem helpers for common file operations such as querying directories, filtering paths, copying files, moving files, and preserving selected metadata across copies.
Package gjson provides JSON serialization plus file I/O, encryption, and template rendering by wrapping the shared gcodec core package.
Package gjson provides JSON serialization plus file I/O, encryption, and template rendering by wrapping the shared gcodec core package.
Package glogger provides structured logging built on zerolog with optional pub/sub fan-out for three use cases:
Package glogger provides structured logging built on zerolog with optional pub/sub fan-out for three use cases:
Package gpubsub provides a high-throughput, low-contention publish/subscribe library with optional topics support.
Package gpubsub provides a high-throughput, low-contention publish/subscribe library with optional topics support.
Package gyaml provides YAML serialization plus file I/O, encryption, and template rendering by wrapping the shared gcodec core package.
Package gyaml provides YAML serialization plus file I/O, encryption, and template rendering by wrapping the shared gcodec core package.

Jump to

Keyboard shortcuts

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