remove no need interface, fix interval type for v2board v1.7.4dev

This commit is contained in:
yuzuki999
2023-05-18 09:11:28 +08:00
parent 48da83fc3d
commit 8bb0196c78
8 changed files with 53 additions and 46 deletions

View File

@@ -32,7 +32,7 @@ type Client struct {
etag string
}
func New(c *conf.ApiConfig) (Panel, error) {
func New(c *conf.ApiConfig) (*Client, error) {
client := resty.New()
client.SetRetryCount(3)
if c.Timeout > 0 {