Versions in this module Expand all Collapse all v1 v1.2.1 Sep 17, 2022 Changes in this version + const ErrEmptyAttrArray + const ErrEmptyNodesArray + const ErrNilAttrArray + const ErrNilNodePointer + const ErrNilNodesArray + const ErrNilQueryPointer + const ErrSrcAttrNotFound + const ErrStatusNotOK + type Client struct + BaseURL string + Debug bool + HTTPClient *http.Client + TempDir string + UserAgent string + func NewClient(opts ...ClientOption) *Client + func (c *Client) Convert(from, to string, overwrite bool) error + func (c *Client) GetVideo(ctx context.Context) ([]byte, error) + func (c *Client) GetVideoURL(ctx context.Context) (string, error) + func (c *Client) SaveVideoToTemp(dat []byte) (string, error) + type ClientOption func(*Client) + func BaseURL(url string) ClientOption + func HTTPClient(cl *http.Client) ClientOption + func TempDir(path string) ClientOption + func UserAgent(ua string) ClientOption + type Error string + func (e Error) Error() string