CasaOS/drivers/base/types.go
2023-03-17 15:37:28 +08:00

12 lines
243 B
Go

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)