mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 05:20:15 +09:00
15 lines
341 B
Go
15 lines
341 B
Go
package auth
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func Register(app *gin.Engine) {
|
|
app.POST("/login", LoginAPI)
|
|
app.POST("/state", StateAPI)
|
|
app.GET("/apikey", KeyAPI)
|
|
app.GET("/package", PackageAPI)
|
|
app.GET("/quota", QuotaAPI)
|
|
app.POST("/buy", BuyAPI)
|
|
app.GET("/subscription", SubscriptionAPI)
|
|
app.POST("/subscribe", SubscribeAPI)
|
|
}
|