# Functions
Delete sends a delete request to salesforce to delete an object - uses the baseUrl, tokenGetter and http client on RequestHelper.
No description provided by the author
NewTokenCache creates a default implementation of a salesforce token cache using async type of cache.KeylessRecordCache and storing in memory with driver.NewMemoryCache with a ~1 hour TTL/refresh rate (slightly less to unsure token doesn't expire before cache becomes stale) for more info see: https://ellogroup.atlassian.net/wiki/spaces/EP/pages/13402137/Salesforce+Package#TokenFetcher-and-TokenCache.
No description provided by the author
No description provided by the author
Patch sends a patch request to salesforce to update an object - uses the baseUrl, tokenGetter and http client on RequestHelper to query salesforce - returns the status code in the response, as patch requests could result in 200, 201 or 204.
Post sends a post request to salesforce to create an object - uses the baseUrl, tokenGetter and http client on RequestHelper - returns the id of the newly created object.
Query salesforce in a generic way - uses the baseUrl, tokenGetter and http client on RequestHelper to query salesforce - QueryError returned if status code != 200 with status code of response.
# Structs
Attributes to be added, optionally, to concrete types of E for QueryResponse[E].
PostResponse is the response from Salesforce for a post/create request.
No description provided by the author
QueryResponse see https://ellogroup.atlassian.net/wiki/spaces/EP/pages/13402137/Salesforce+Package#QueryResponse%5BE-any%5D for more detail on below NB.
RequestHelper a helper struct for sending requests to salesforce for more on this see https://ellogroup.atlassian.net/wiki/spaces/EP/pages/13402137/Salesforce+Package.
No description provided by the author
No description provided by the author
No description provided by the author