Remove websocket.Dialer from Client
parent
010ec2eaf9
commit
34cce1bb0d
|
@ -13,8 +13,6 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/gorilla/websocket"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Config is a setting for access mastodon APIs.
|
// Config is a setting for access mastodon APIs.
|
||||||
|
@ -28,7 +26,6 @@ type Config struct {
|
||||||
// Client is a API client for mastodon.
|
// Client is a API client for mastodon.
|
||||||
type Client struct {
|
type Client struct {
|
||||||
http.Client
|
http.Client
|
||||||
websocket.Dialer
|
|
||||||
config *Config
|
config *Config
|
||||||
interval time.Duration
|
interval time.Duration
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue