Documentation ¶
Index ¶
- func CameraCountByCode(code string) (count int64, err error)
- func CameraDelete(e Camera) (i int64, err error)
- func CameraInsert(e Camera) (i int64, err error)
- func CameraShareCountByCode(code string) (count int64, err error)
- func CameraShareDelete(e CameraShare) (i int64, err error)
- func CameraShareInsert(e CameraShare) (i int64, err error)
- func CameraShareUpdate(e CameraShare) (i int64, err error)
- func CameraUpdate(e Camera) (i int64, err error)
- type Camera
- type CameraShare
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CameraCountByCode ¶
func CameraDelete ¶
func CameraInsert ¶
func CameraShareCountByCode ¶
func CameraShareDelete ¶
func CameraShareDelete(e CameraShare) (i int64, err error)
func CameraShareInsert ¶
func CameraShareInsert(e CameraShare) (i int64, err error)
func CameraShareUpdate ¶
func CameraShareUpdate(e CameraShare) (i int64, err error)
func CameraUpdate ¶
Types ¶
type Camera ¶
type Camera struct { Id string `orm:"pk;column(id)" json:"id"` Code string `orm:"column(code)" json:"code"` RtspURL string `orm:"column(rtsp_url)" json:"rtspURL"` RtmpURL string `orm:"column(rtmp_url)" json:"rtmpURL"` PlayAuthCode string `orm:"column(play_auth_code)" json:"playAuthCode"` OnlineStatus int `orm:"column(online_status)" json:"onlineStatus"` Enabled int `orm:"column(enabled)" json:"enabled"` RtmpPushStatus int `orm:"column(rtmp_push_status)" json:"rtmpPushStatus"` SaveVideo int `orm:"column(save_video)" json:"saveVideo"` Live int `orm:"column(live)" json:"live"` Created time.Time `orm:"column(created)" json:"created"` }
func CameraSelectAll ¶
func CameraSelectById ¶
func CameraSelectOne ¶
type CameraShare ¶
type CameraShare struct {}
func CameraShareSelectAll ¶
func CameraShareSelectAll() (es []CameraShare, err error)
func CameraShareSelectByCameraId ¶
func CameraShareSelectByCameraId(cameraId string) (es []CameraShare, err error)
func CameraShareSelectById ¶
func CameraShareSelectById(id string) (e CameraShare, err error)
func CameraShareSelectOne ¶
func CameraShareSelectOne(q CameraShare) (e CameraShare, err error)
Click to show internal directories.
Click to hide internal directories.