Versions in this module Expand all Collapse all v1 v1.0.0 Jun 5, 2023 Changes in this version + const Version + var Colorlist1 []Color = []Color + var Colorlist2 []Color = []Color + var Db *sql.DB + var Err error + var OS string + var SortByFollowers bool + func GetAciveFanByAPI(room_id string, yyyymm string) (nofan int) + func GetAndInsertEventRoomInfo(eventid string, breg int, ereg int, eventinfo *Event_Inf, ...) (starttimeafternow bool, status int) + func GetEventInf(eventid string, eventinfo *Event_Inf) (status int) + func GetEventInfAndRoomList(eventid string, breg int, ereg int, eventinfo *Event_Inf, ...) (status int) + func GetEventListByAPI(eventinflist *[]Event_Inf) (status int) + func GetIsOnliveByAPI(room_id string) (isonlive bool, startedat time.Time, status int) + func GetNextliveByAPI(room_id string) (nextlive string, status int) + func GetPointsByAPI(id string) (Point, Rank, Gap int, EventID string) + func GetRoomInfoByAPI(room_id string) (genre string, rank string, nrank string, prank string, level int, ...) + func GetUserInfForHistory() (status int) + func InsertEventInf(eventinf *Event_Inf) (status int) + func InsertIntoEventUser(i int, eventid string, roominf RoomInfo) (status int) + func InsertIntoOrUpdateUser(tnow time.Time, eventid string, roominf RoomInfo) (status int) + func InsertRoomInf(eventid string, roominfolist *RoomInfoList) + func OpenDb() (status int) + func SelectAcqTimeList(eventid string, userno int) (acqtimelist []time.Time, status int) + func SelectEventInfAndRoomList() (IDlist []int, status int) + func SelectEventNoAndName(eventid string) (eventname string, period string, status int) + func SelectEventRoomInfList(eventid string, roominfolist *RoomInfoList) (eventname string, status int) + func UpdateEventInf(eventinf *Event_Inf) (status int) + func UpdateEventuserSetPoint(eventid, userid string, point int) (status int) + func UpdateRoomInf(...) (status int) + type Color struct + Name string + Value string + type ColorInf struct + Color string + Colorvalue string + Selected string + type ColorInfList []ColorInf + type DBConfig struct + Dbhost string + Dbname string + Dbpw string + Dbuser string + HTTPport string + SSLcrt string + SSLkey string + WebServer string + var Dbconfig *DBConfig + type Event struct + Endtime time.Time + EventID string + EventName string + Pbname string + Period string + Pntbasis int + S_end string + S_start string + Selected string + Starttime time.Time + Status string + func SelectLastEventList() (eventlist []Event, status int) + type Event_Inf struct + Cmap int + Dperiod float64 + End_time time.Time + EventStatus string + Event_ID string + Event_name string + Event_no int + Fromorder int + I_Event_ID int + Intervalmin int + League_ids string + MaxPoint int + Maxdsp int + Maxpoint int + Modmin int + Modsec int + NoEntry int + NoRoom int + Nobasis int + Ordbasis int + Period string + Pntbasis int + Resethh int + Resetmm int + Send_time string + Sstart_time string + Start_date float64 + Start_time time.Time + Target int + Toorder int + var Event_inf Event_Inf + func SelectEventInf(eventid string) (eventinf Event_Inf, status int) + type RoomInfo struct + Account string + Color string + Colorinflist ColorInfList + Colorvalue string + Eventid string + Fans int + Fans_lst int + Followers int + Formid string + Genre string + Graph string + ID string + Irank int + Iscntrbpoint string + Istarget string + Level int + Longname string + Name string + Nrank string + Order int + Point int + Prank string + Rank string + Sfollowers string + Shortname string + Slevel string + Spoint string + Status string + Statuscolor string + Userno int + func GetRoomInfoAndPoint(eventid string, roomid string, idbasis string) (roominf RoomInfo, status int) + func SelectRoomInf(userno int) (roominf RoomInfo, status int) + type RoomInfoList []RoomInfo + func (r RoomInfoList) Choose(from, to int) (s RoomInfoList) + func (r RoomInfoList) Len() int + func (r RoomInfoList) Less(i, j int) bool + func (r RoomInfoList) Swap(i, j int) + type RoomLevel struct + Fans int + Fans_lst int + Followers int + Genre string + Level int + Nrank string + Prank string + Rank string + Sts string + User_name string + type RoomLevelInf struct + RoomLevelList []RoomLevel + User_name string + Userno int + func SelectRoomLevel(userno int, levelonly int) (roomlevelinf RoomLevelInf, status int) + type User struct + Selected string + Userlongname string + Userno int