mirror of
https://github.com/coaidev/coai.git
synced 2025-05-19 21:10:18 +09:00
16 lines
372 B
Go
16 lines
372 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)
|
|
app.GET("/invite", InviteAPI)
|
|
}
|