Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CBSData ¶
type CBSData struct { Number int `json:"RNUM"` ModifiedDate string `json:"LAST_MODF_DT"` RegisterDate string `json:"FRST_REGIST_DT"` SJ string `json:"SJ"` IndexNumber int `json:"IDX_NO"` Content string `json:"CONT"` NM string `json:"USR_NM"` ExpsrAt string `json:"USR_EXPSR_AT"` }
CBSData is structure for CBS Raw Data
type CeasyData ¶
type CeasyData struct { ID int `gorm:"primary_key;unique_index"` Area string `json:"area" gorm:""` AreaDetail string `json:"area_detail" gorm:""` Content string `json:"content"` Date *time.Time }
CeasyData returns actual data
type CeasyDataForParse ¶
type CeasyDataForParse struct { ID string `json:"bbs_ordr"` Content string `json:"cn"` Date string `json:"frst_regist_dt"` }
CeasyDataForParse returns date data
type Config ¶
type Config struct { Port string `json:"PORT"` Debug bool `json:"DEBUG"` DefaultLimit int `json:"DefaultLimit"` MaxLimit int `json:"MaxLimit"` DBHost string `json:"DBHost"` DBPort string `json:"DBPort"` DBUser string `json:"DBUser"` DBPass string `json:"DBPass"` DBDatabase string `json:"DBDatabase"` }
Config exports config
type SelectBbsList ¶
type SelectBbsList struct { Result RtnResult `json:"rtnResult"` Data []struct { ID int `json:"BBS_ORDR"` CreateAt string `json:"FRST_REGIST_DT"` Title string `json:"SJ"` } `json:"bbsList"` }
SelectBbsList returns bbs selection
type SelectBbsView ¶
type SelectBbsView struct { Result RtnResult `json:"rtnResult"` Data CeasyDataForParse `json:"bbsMap"` }
SelectBbsView returns organized data
Click to show internal directories.
Click to hide internal directories.