Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogInsert ¶
func StageInsertIfNotExists ¶
ステージ情報を追加する bool = 追加が行われたかどうか error = 追加処理時に発生したエラー(エラーがないときはnil)
func StageIsExists ¶
指定したステージ情報がすでに保存されているかどうか
Types ¶
type AccessLog ¶
type AccessLog struct { Id int64 `db:"id"` Action string `db:"action"` ClientID string `db:"clientid"` Host string `db:"host"` UserAgent string `db:"useragent"` Uptime time.Time `db:"uptime"` }
アクセスログ情報
func AccessLogCreate ¶
func AccessLogSelect ¶
func AccessLogSelectToday ¶
func AccessLogSelectToday(dbmap *gorp.DbMap) []AccessLog
type Stage ¶
type Stage struct { Id int64 `db:"id" json:"id"` Name string `db:"name" json:"name"` Rule string `db:"rule" json:"rule"` MatchType string `db:"matchtype" json:"matchtype"` ImageURL string `db:"imageurl,size:1024" json:"imageurl"` StartTime time.Time `db:"starttime" json:"starttime"` EndTime time.Time `db:"endtime" json:"endtime"` }
ステージ情報
func StageSelectCurrentLater ¶
func StageSelectCurrentLater(dbmap *gorp.DbMap) []Stage
現在時刻以降のステージ情報を取得する
Click to show internal directories.
Click to hide internal directories.