1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-15 23:54:17 +02:00

Test rclone (#961)

This commit is contained in:
link
2023-03-17 15:37:28 +08:00
committed by GitHub
parent 59f2ccbeb3
commit 10191a1be3
35 changed files with 2675 additions and 268 deletions

12
drivers/base/types.go Normal file
View File

@ -0,0 +1,12 @@
package base
import "github.com/go-resty/resty/v2"
type Json map[string]interface{}
type TokenResp struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
}
type ReqCallback func(req *resty.Request)