mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
remove no need interface, fix interval type for v2board v1.7.4dev
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user