Expose admin Redis snapshot for user and channel concurrency plus current user RPM usage.
12 lines
253 B
Go
12 lines
253 B
Go
package controller
|
|
|
|
import (
|
|
"github.com/QuantumNous/new-api/common"
|
|
"github.com/QuantumNous/new-api/service"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func GetOpsConcurrencySnapshot(c *gin.Context) {
|
|
common.ApiSuccess(c, service.GetOpsConcurrencySnapshot())
|
|
}
|