Skip to content

Config Schema Reference

This page is generated by go run ./cmd/docgen. Run it after adding or changing module config structs.

Terminal window
go run ./cmd/docgen
modules:
logging:
tint:
default:
level: "info"
no_color: false
time_format: "15:04:05"
modules:
logging:
slog:
default:
level: "info"
modules:
otel:
default:
enabled: true
endpoint: "http://localhost:4317"
service_name: ""
service_version: ""
modules:
http:
fiber:
default:
host: "0.0.0.0"
port: 8080
# + any fiber.Config field via raw passthrough
modules:
grpc:
server:
default:
host: "0.0.0.0"
port: 50051
reflection: true
tls:
enabled: false
cert_file: ""
key_file: ""
modules:
grpc:
client:
default:
target: ""
tls:
enabled: false
ca_file: ""
timeout: "10s"
modules:
db:
pgx:
default:
dsn: ""
max_conns: 10
min_conns: 2
max_conn_lifetime: "1h"
max_conn_idle_time: "30m"
modules:
health:
default:
path: "/health"
timeout: "5s"
modules:
workflows:
temporal:
default:
host: "localhost:7233"
namespace: "default"
task_queue: ""
tls:
enabled: false