Documentation ¶
Index ¶
- func DimensionCacheKey(dim Dimension) string
- type CameraPicture
- type Client
- func (c *Client) Config() Config
- func (c *Client) GetDelayedImage(refreshInterval time.Duration) *cameraPicture
- func (c *Client) GetRawImage() *cameraPicture
- func (c *Client) GetResizedImage(refreshInterval time.Duration, dim Dimension, jpgQuality int) *cameraPicture
- func (c *Client) Name() string
- func (c *Client) Shutdown()
- type ClientPool
- type Config
- type Dimension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DimensionCacheKey ¶
Types ¶
type CameraPicture ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetDelayedImage ¶
func (*Client) GetRawImage ¶
func (c *Client) GetRawImage() *cameraPicture
func (*Client) GetResizedImage ¶
type ClientPool ¶
type ClientPool struct {
// contains filtered or unexported fields
}
func RunPool ¶
func RunPool() (pool *ClientPool)
func (*ClientPool) AddClient ¶
func (p *ClientPool) AddClient(client *Client)
func (*ClientPool) GetClient ¶
func (p *ClientPool) GetClient(clientName string) *Client
func (*ClientPool) RemoveClient ¶
func (p *ClientPool) RemoveClient(client *Client)
func (*ClientPool) Shutdown ¶
func (p *ClientPool) Shutdown()
Click to show internal directories.
Click to hide internal directories.