==================== Crypto Config Endpoint ==================== HandleGetCryptoConfig Get crypto configuration
(c *gin.Context)
| 24 | |
| 25 | // HandleGetCryptoConfig Get crypto configuration |
| 26 | func (h *CryptoHandler) HandleGetCryptoConfig(c *gin.Context) { |
| 27 | cfg := config.Get() |
| 28 | c.JSON(http.StatusOK, gin.H{ |
| 29 | "transport_encryption": cfg.TransportEncryption, |
| 30 | }) |
| 31 | } |
| 32 | |
| 33 | // ==================== Public Key Endpoint ==================== |
| 34 |