🔧 Update Go version in go.mod and enhance build process with versioning information. Modify Makefile and Taskfile to inject build metadata (version, commit, build time) into the binary. Improve README with instructions for custom version builds and document new build info features. Add benchmarks for message parsing and processing to improve performance testing capabilities.

This commit is contained in:
windyboy
2025-11-18 14:15:58 +08:00
parent 7f44b5389d
commit 06fc9cb9e0
27 changed files with 3009 additions and 55 deletions
+20
View File
@@ -63,6 +63,26 @@ start_sequence = 0
# Example: "2024-11-15T08:00:00Z"
start_time = ""
[nats.auth]
# NATS authentication configuration (optional for development)
# Only one authentication method can be used at a time:
# - token: Simple token authentication
# - credentials_file: Path to NATS credentials file (e.g., /path/to/user.creds)
# - user/password: Username and password authentication
#
# For development, authentication is typically not required.
# Uncomment and configure as needed:
# token = ""
# credentials_file = ""
# user = ""
# password = ""
#
# TLS configuration (optional)
# tls_enabled = false
# tls_cert_file = "" # Client certificate file path
# tls_key_file = "" # Client private key file path
# tls_ca_file = "" # CA certificate file for server verification
[subscription]
topic = "telegram.serial"
queue_group = "tele-queue"