Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config *config.SalesForceConfig // contains filtered or unexported fields }
func (*Client) Query ¶
func (c *Client) Query(q string) (*simpleforce.QueryResult, error)
type ClientAdaptor ¶
type ClientAdaptor interface { LoginPassword(string, string, string) error Query(string) (*simpleforce.QueryResult, error) }
type FakeAdaptor ¶
type FakeAdaptor struct {
// contains filtered or unexported fields
}
func (*FakeAdaptor) LoginPassword ¶
func (a *FakeAdaptor) LoginPassword(url, clientID, token string) error
func (*FakeAdaptor) Query ¶
func (a *FakeAdaptor) Query(q string) (*simpleforce.QueryResult, error)
type Option ¶
type Option func(*Client)
func InjectSalesforceAdaptorOption ¶
func InjectSalesforceAdaptorOption(adaptor ClientAdaptor) Option
Click to show internal directories.
Click to hide internal directories.