feat(auth): Add login, register, session_info and api creation
This commit is contained in:
11
app/utils/res/http.go
Normal file
11
app/utils/res/http.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package res
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
type HTTPResponse struct {
|
||||
Code int `json:"code"`
|
||||
Body *fiber.Map `json:"body"`
|
||||
ODataContext string `json:"@odata.context"`
|
||||
ODataCount int `json:"@odata.count"`
|
||||
ODataNextLink *string `json:"@odata.nextLink"`
|
||||
}
|
||||
Reference in New Issue
Block a user