Utilities for golang developments on Conflux blockchain, especially for backend service.
| Module | Description |
|---|---|
| Alert | Send notification messages to DingTalk, Telegram, SMTP email or PagerDuty. |
| API | REST API utilities based on gin. |
| Channel | Provides more powerful channels. |
| Cmd | Utilities for CLI tools. |
| Config | Initialize all modules. |
| DLock | Utilities for distributed lock. |
| Health | Utilities for health management. |
| HTTP | Provides common used middlewares,e.g. remote address, API key and rate limit. |
| Log | Based on logrus and integrated with Alert. |
| Metrics | To monitor system runtime. |
| Parallel | Utilities for parallel execution. |
| Pprof | To enable pprof server based on configuration. |
| Rate Limit | Utilities to limit request rate, along with HTTP handler middlewares |
| Store | Provides utilities to initialize database. |
| Viper | Initialize the original viper in common and fix some issues. |