Documentation ¶
Index ¶
- func ChromedpTest(email, pw string)
- func Get(db *sql.DB, query string, key string) map[string]map[string]string
- func OpenDB(file string) (*sql.DB, error)
- func OpenMysql(username, pw, ip, port, dbname string) *sql.DB
- func RemoveBlanks(text string) (result string)
- func Save(db *sql.DB, query string)
- func SaveMysql(db *sql.DB, query string)
- func SelectMysql(db *sql.DB, query string, key string) map[string]map[string]string
- func SelectMysqlTest(db *sql.DB, query string, key string) map[string]map[string]string
- func Start(email, pw, pageNum string, c chan<- string, channum int)
- func Timestamp() string
- type AligoApiData
- type AligoResponse
- type Reservation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChromedpTest ¶
func ChromedpTest(email, pw string)
func RemoveBlanks ¶
func SelectMysql ¶
func SelectMysqlTest ¶
Types ¶
type AligoApiData ¶
type AligoApiData struct { Key string `json:"key"` // **인증용 API Key User_id string `json:"user_id"` // **사용자 id Sender string `json:"sender"` // **발신자 전화번호 (최대 16bytes) Receiver string `json:"receiver"` // **수신자 전화번호 - 컴마(,)분기 입력으로 최대 1천명 Msg string `json:"msg"` // **메세지 내용 Msg_type string `json:"msg_type"` // SMS(단문) , LMS(장문), MMS(그림문자) 구분 Title string `json:"title"` // 문자제목(LMS,MMS만 허용) Destination string `json:"destination"` // %고객명% 치환용 입력 Rdate string `json:"rdate"` // 예약일 (현재일이상) Rtime string `json:"rtime"` // 예약시간 - 현재시간기준 10분이후 Testmode_yn string `json:"testmode_yn"` // 연동테스트시 Y 적용 }
type AligoResponse ¶
type Reservation ¶
func ParseHtml ¶
func ParseHtml(html string) (result []Reservation)
Parse SC website HTML Return reservation struct
Click to show internal directories.
Click to hide internal directories.