Documentation ¶
Index ¶
- Variables
- func PrettyPrintB(b BonusIssue, nw NewReportWatch)
- func PrettyPrintC(c ConvertibleIssue, nw NewReportWatch)
- func PrettyPrintE(e ExchangeIssue, nw NewReportWatch)
- func PrettyPrintR(r RightsIssue, nw NewReportWatch)
- type BonusIssue
- type ChannelTitle
- type Content
- type ConvertibleIssue
- type ExchangeIssue
- type Feed
- type NewReportWatch
- type ReportMap
- type RightsIssue
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestStruct0 = NewReportWatch{ Ctx: Content{ Title: "무상증자 테스트용", Link: "https://dart.fss.or.kr/dsaf001/main.do?rcpNo=20220525000375", Category: "TEST", }, T: 1, } TestStruct1 = NewReportWatch{ Ctx: Content{ Title: "유상증자 테스트용", Link: "https://dart.fss.or.kr/dsaf001/main.do?rcpNo=20220525000311", Category: "TEST", }, T: 2, } TestStruct2 = NewReportWatch{ Ctx: Content{ Title: "전환사채 테스트용", Link: "https://dart.fss.or.kr/dsaf001/main.do?rcpNo=20220525000128", Category: "TEST", }, T: 4, } TestStruct3 = NewReportWatch{ Ctx: Content{ Title: "교환사채 테스트용", Link: "https://dart.fss.or.kr/dsaf001/main.do?rcpNo=20220519000209", Category: "TEST", }, T: 5, } )
Functions ¶
func PrettyPrintB ¶
func PrettyPrintB(b BonusIssue, nw NewReportWatch)
func PrettyPrintC ¶
func PrettyPrintC(c ConvertibleIssue, nw NewReportWatch)
func PrettyPrintE ¶
func PrettyPrintE(e ExchangeIssue, nw NewReportWatch)
func PrettyPrintR ¶
func PrettyPrintR(r RightsIssue, nw NewReportWatch)
Types ¶
type BonusIssue ¶
type ChannelTitle ¶
type ConvertibleIssue ¶
type ExchangeIssue ¶
type Feed ¶
type Feed struct { ChannelInit xml.Name `xml:"rss"` ChannelDet ChannelTitle `xml:"channel"` }
type NewReportWatch ¶
type NewReportWatch struct { Ctx Content RawUrl string // url to raw report T int // report type OrgHTML string // original HTML in string Rawhtml string // inner HTML in string }
func Rss ¶
func Rss() ([]NewReportWatch, error)
func (*NewReportWatch) GetDcmNo ¶
func (dartReport *NewReportWatch) GetDcmNo() (string, string)
func (*NewReportWatch) GetRcpNo ¶
func (dartReport *NewReportWatch) GetRcpNo() (string, string)
func (*NewReportWatch) InnerReportURL ¶
func (dartReport *NewReportWatch) InnerReportURL() error
func (*NewReportWatch) OuterReportText ¶
func (dartReport *NewReportWatch) OuterReportText() error
func (*NewReportWatch) Run ¶
func (dartReport *NewReportWatch) Run() interface{}
Click to show internal directories.
Click to hide internal directories.