mirror of
https://github.com/coaidev/coai.git
synced 2025-05-19 04:50:14 +09:00
19 lines
470 B
Go
19 lines
470 B
Go
package auth
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func Register(app *gin.Engine) {
|
|
app.POST("/verify", VerifyAPI)
|
|
app.POST("/reset", ResetAPI)
|
|
app.POST("/register", RegisterAPI)
|
|
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)
|
|
app.GET("/invite", InviteAPI)
|
|
}
|