Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinancialDisclosure ¶
type FinancialDisclosure struct { XMLName xml.Name `xml:"FinancialDisclosure"` Members []*Member `xml:"Member"` }
func CreateFinancialDisclosure ¶
func CreateFinancialDisclosure(xmlPath string) (*FinancialDisclosure, error)
type Member ¶
type Member struct { XMLName xml.Name `xml:"Member"` Prefix string `xml:"Prefix"` Last string `xml:"Last"` First string `xml:"First"` Suffix string `xml:"Suffix"` FilingType string `xml:"FilingType"` StateDst string `xml:"StateDst"` Year int `xml:"Year"` FilingDate string `xml:"FilingDate"` DocId int `xml:"DocID"` }
func (*Member) BuildPdfFileName ¶
func (*Member) BuildPdfFilePath ¶
func (*Member) BuildPdfUrl ¶
func (*Member) PdfFileExists ¶
func (*Member) ShouldDownload ¶
type OcrResult ¶
type OcrResult struct { LineNum int `csv:"lineNum"` WordNum int `csv:"wordNum"` Word string `csv:"word"` Confidence float64 `csv:"confidence"` }
func NewOcrResult ¶
func NewOcrResult(box gosseract.BoundingBox) *OcrResult
type S3DefaultProfile ¶
S3DefaultProfile The profile used when credentials are initialized in the .aws directory
func (*S3DefaultProfile) GetBucket ¶
func (s *S3DefaultProfile) GetBucket() string
func (*S3DefaultProfile) GetHostname ¶
func (s *S3DefaultProfile) GetHostname() string
func (*S3DefaultProfile) GetRegion ¶
func (s *S3DefaultProfile) GetRegion() string
func (*S3DefaultProfile) StaticAuthentication ¶
func (s *S3DefaultProfile) StaticAuthentication() bool
type S3StaticProfile ¶
type S3StaticProfile struct { S3DefaultProfile S3ApiKey string S3SecretKey string }
S3StaticProfile The profile used when credentials are statically used from the config.yaml file
func (*S3StaticProfile) StaticAuthentication ¶
func (s *S3StaticProfile) StaticAuthentication() bool
Click to show internal directories.
Click to hide internal directories.