Documentation
¶
Index ¶
- type SQLAPIParams
- type SQLAPISource
- func (s *SQLAPISource) Close() error
- func (s *SQLAPISource) FetchData(opts map[string]interface{}) ([]map[string]interface{}, error)
- func (s *SQLAPISource) Init(config map[string]interface{}, model *models.Model) error
- func (s *SQLAPISource) Transform(item interface{}) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLAPIParams ¶
func ParseOpts ¶
func ParseOpts(opts map[string]interface{}) (SQLAPIParams, error)
type SQLAPISource ¶
type SQLAPISource struct {
Model *models.Model
Endpoint string
APIToken string
Query string
Date string
}
func (*SQLAPISource) Close ¶
func (s *SQLAPISource) Close() error
func (*SQLAPISource) FetchData ¶
func (s *SQLAPISource) FetchData(opts map[string]interface{}) ([]map[string]interface{}, error)
func (*SQLAPISource) Init ¶
func (s *SQLAPISource) Init(config map[string]interface{}, model *models.Model) error
func (*SQLAPISource) Transform ¶
func (s *SQLAPISource) Transform(item interface{}) (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.