Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateStream(name string, period float64) (s *seer.Stream, err error)
- func (c *Client) DeleteStream(name string) (err error)
- func (c *Client) GetForecast(name string, length int) (f *seer.Forecast, err error)
- func (c *Client) GetStream(name string) (s *seer.Stream, err error)
- func (c *Client) ListStreams(pageNum, pageSize int) (s []*seer.Stream, err error)
- func (c *Client) UpdateStream(name string, times []time.Time, values []float64) (s *seer.Stream, err error)
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
}
Client is a seer client
func (*Client) CreateStream ¶
CreateStream creates a stream with the specified data on the server.
func (*Client) DeleteStream ¶
DeleteStream deletes the stream with the specified name.
func (*Client) GetForecast ¶
GetForecast generates a forecast from the specified stream.
func (*Client) ListStreams ¶
ListStreams returns a paged slice of streams.
Click to show internal directories.
Click to hide internal directories.