bezeichner

command module
v2.25.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Gopher CircleCI codecov Go Reference

🏷️ Bezeichner

Bezeichner is a Go service that generates and maps identifiers over gRPC and HTTP. It lets applications share a generator configuration across languages and translate legacy identifiers through application-specific mappings.

The Go module is github.com/alexfalkowski/bezeichner/v2. Go clients migrating from v1 must add /v2 to their imports. The protobuf package and RPC routes retain the bezeichner.v1 name.

🚀 Quickstart

Install the Go version specified in go.mod, Ruby with Bundler, and curl. Configure GitHub SSH access for the bin submodule, then run these commands from the root of a clone named bezeichner.

git submodule sync
git submodule update --init
make dep
make build
./bezeichner server -config file:test/.config/server.yaml

If Go reports inconsistent vendoring, rerun make dep. The development config uses HTTP port 11000 and gRPC port 12000. Check local readiness at http://localhost:11000/bezeichner/readyz.

In another terminal, generate two identifiers for the uuid application.

curl -fsS \
  -H 'Content-Type: application/json' \
  -d '{"application":"uuid","count":2}' \
  http://localhost:11000/bezeichner.v1.Service/GenerateIdentifiers

The response contains two UUIDv7 identifiers prefixed with uuid_ in the ids array.

📚 Documentation

  • API guide covers the v1 RPCs, errors, and HTTP and gRPC examples.
  • Operations guide covers generator and mapper configuration, request limits, health probes, and deployment.
  • Development guide covers live reload, tests, benchmarks, local CI checks, and protobuf generation.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
internal
api/ids
Package ids provides the domain service for generating and mapping identifiers.
Package ids provides the domain service for generating and mapping identifiers.
api/v1
Package v1 wires the versioned API surface for Bezeichner.
Package v1 wires the versioned API surface for Bezeichner.
api/v1/ids
Package ids provides the protobuf-facing identifier service for the Bezeichner v1 API.
Package ids provides the protobuf-facing identifier service for the Bezeichner v1 API.
api/v1/transport/grpc
Package grpc provides the gRPC transport registration for the Bezeichner v1 API.
Package grpc provides the gRPC transport registration for the Bezeichner v1 API.
api/v1/transport/http
Package http provides the HTTP transport for the Bezeichner v1 API.
Package http provides the HTTP transport for the Bezeichner v1 API.
cmd
Package cmd wires the service CLI commands for Bezeichner.
Package cmd wires the service CLI commands for Bezeichner.
config
Package config defines the top-level configuration schema for the Bezeichner service and provides dependency-injection wiring for configuration.
Package config defines the top-level configuration schema for the Bezeichner service and provides dependency-injection wiring for configuration.
generator
Package generator provides identifier generator implementations and a registry for selecting them by kind.
Package generator provides identifier generator implementations and a registry for selecting them by kind.
health
Package health integrates service health checks and observers for Bezeichner.
Package health integrates service health checks and observers for Bezeichner.
limits
Package limits contains request limit configuration.
Package limits contains request limit configuration.
mapper
Package mapper defines configuration for mapping identifiers.
Package mapper defines configuration for mapping identifiers.

Jump to

Keyboard shortcuts

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