c7128ff516
1. Add GetAllPremiumIndex() to fetch all futures data in one call, used by GetTopPrices instead of per-symbol sequential calls. 2. Add ADMIN_CHAT_ID env check to /refresh command to restrict access to authorized users only. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
9 lines
111 B
Go
9 lines
111 B
Go
package key
|
|
|
|
const (
|
|
LogEnv = "LOG_ENV"
|
|
|
|
TelegramToken = "TELEGRAM_TOKEN"
|
|
AdminChatID = "ADMIN_CHAT_ID"
|
|
)
|