mirror of
https://github.com/stulzq/azure-openai-proxy.git
synced 2025-12-21 16:24:23 +01:00
13 lines
256 B
Go
13 lines
256 B
Go
package main
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/stulzq/azure-openai-proxy/azure"
|
|
)
|
|
|
|
// registerRoute registers all routes
|
|
func registerRoute(r *gin.Engine) {
|
|
// https://platform.openai.com/docs/api-reference
|
|
r.Any("*path", azure.Proxy)
|
|
}
|