Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthTypeBasic = "basic" AuthTypeBearer = "bearer" AuthTypeSalesforceOauth = "SalesforceOauth" DefaultBatchSize = 10 DefaultBatchDelaySeconds = 3 )
Variables ¶
This section is empty.
Functions ¶
func NewRestAPISource ¶
func NewRestAPISource(sourceConfig internal.SourceConfig) (internal.Source, error)
NewRestAPISource unmarshals the sourceConfig's ExtraJson into a RestApi struct
Types ¶
type RestAPI ¶
type RestAPI struct { RequestMethod string BaseURL string AuthType string Username string Password string ClientID string ClientSecret string UserAgent string BatchSize int BatchDelaySeconds int // contains filtered or unexported fields }
type SalesforceAuthResponse ¶
Click to show internal directories.
Click to hide internal directories.