mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 05:20:15 +09:00
12 lines
313 B
Go
12 lines
313 B
Go
package manager
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func Register(app *gin.Engine) {
|
|
app.GET("/chat", ChatAPI)
|
|
app.GET("/v1/models", ModelAPI)
|
|
app.GET("/dashboard/billing/usage", GetBillingUsage)
|
|
app.GET("/dashboard/billing/subscription", GetSubscription)
|
|
app.POST("/v1/chat/completions", TranshipmentAPI)
|
|
}
|