Documentation ¶
Index ¶
- type Client
- func (m *Client) AddAddLocation(f ClientAddLocationFunc)
- func (m *Client) AddLocation(ctx context.Context, city, state string) error
- func (m *Client) AddSubscribe(f ClientSubscribeFunc)
- func (m *Client) HasMore() bool
- func (m *Client) SetAddLocation(f ClientAddLocationFunc)
- func (m *Client) SetSubscribe(f ClientSubscribeFunc)
- func (m *Client) Subscribe(ctx context.Context, city, state string) (<-chan *poller1.Forecast, error)
- type ClientAddLocationFunc
- type ClientSubscribeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddAddLocation ¶
func (m *Client) AddAddLocation(f ClientAddLocationFunc)
func (*Client) AddLocation ¶
func (*Client) AddSubscribe ¶
func (m *Client) AddSubscribe(f ClientSubscribeFunc)
func (*Client) SetAddLocation ¶
func (m *Client) SetAddLocation(f ClientAddLocationFunc)
func (*Client) SetSubscribe ¶
func (m *Client) SetSubscribe(f ClientSubscribeFunc)
type ClientAddLocationFunc ¶
Click to show internal directories.
Click to hide internal directories.