Categorygithub.com/nil-go/nilgo
modulepackage
0.2.0
Repository: https://github.com/nil-go/nilgo.git
Documentation: pkg.go.dev

# README

:water_buffalo: An opinionated minimalist Go application framework

Go Version Go Reference Build Coverage

Nilgo provides an out-of-the-box, cloud-native, production-ready, minimalist Go application framework with opinionated configuration, log, and telemetry for major Cloud providers.

Nilgo is Nilgai in brezhoneg. The nilgai (literally meaning "blue cow") is the largest Asian antelope and is ubiquitous across the northern Indian subcontinent.

# Packages

Package dev provides function useful for local development.
No description provided by the author
Package grpc provides opinionated production-ready gRPC server.
Package http provides opinionated production-ready HTTP server.
Package otlp provides OpenTelemetry OTLP provider for trace and metric.

# Functions

New creates a new Runner with the given Option(s).
WithLogger provides a slog.Logger to handle logs.
WithMeterProvider provides OpenTelemetry metric provider.
WithPostRun provides runs to execute after the main runs provided in Runner.Run.
WithPreRun provides runs to execute before the main runs provided in Runner.Run.
WithStartGate provides gates to block the start of main runs provided in Runner.Run, until all start gates returns without error.
WithStopGate provides gates to block the stop of main runs provided in Runner.Run, until all stop gates returns.
WithTraceProvider provides OpenTelemetry trace provider.

# Structs

Runner is a pre-configured runtime for executing runs in parallel.

# Type aliases

No description provided by the author