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