Documentation
¶
Index ¶
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 represents the client interface to a stash-box server instance.
func NewClient ¶
func NewClient(box models.StashBox, txnManager models.TransactionManager) *Client
NewClient returns a new instance of a stash-box client.
func (Client) FindStashBoxScenesByFingerprints ¶
func (c Client) FindStashBoxScenesByFingerprints(sceneIDs []string) ([]*models.ScrapedScene, error)
FindStashBoxScenesByFingerprints queries stash-box for scenes using every scene's MD5 checksum and/or oshash.
func (Client) QueryStashBoxScene ¶
func (c Client) QueryStashBoxScene(queryStr string) ([]*models.ScrapedScene, error)
QueryStashBoxScene queries stash-box for scenes using a query string.
Click to show internal directories.
Click to hide internal directories.