update website link and add todo

This commit is contained in:
2026-08-03 12:52:14 +08:00
parent 86fba66370
commit 2605bf350c
4 changed files with 23 additions and 1 deletions
+2
View File
@@ -2,6 +2,8 @@ package public
import "github.com/XingfenD/rainyun_api_go_sdk/constant"
// https://api.rainyun.com/#/paths/app_config/get
type GetAppConfigResponse struct {
Code int `json:"code"`
Data []AppConfigItem `json:"data"`
+2
View File
@@ -6,6 +6,8 @@ import (
"github.com/XingfenD/rainyun_api_go_sdk/constant"
)
// https://api.rainyun.com/#/paths/news/get
type GetNewsResponse struct {
Code int `json:"code"`
Data []RainyunNewsItem `json:"data"`
+11 -1
View File
@@ -1,6 +1,15 @@
package public
import "github.com/XingfenD/rainyun_api_go_sdk/constant"
import (
"github.com/XingfenD/rainyun_api_go_sdk/apis/common"
"github.com/XingfenD/rainyun_api_go_sdk/constant"
)
// https://api.rainyun.com/#/paths/status/get
type GetStatusRequest struct {
Options common.StandQueryParameters `json:"options"`
}
type GetStatusResponse struct {
Code int `json:"code"`
@@ -25,6 +34,7 @@ type NodeStatusRecordItem struct {
Data string `json:"Data"`
}
// TODO
func (s *PublicService) GetStatus() (*GetStatusResponse, error) {
path := "/status"