models

package
v0.0.0-...-9012df1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppointChannelList

func AppointChannelList(deviceID string, page, limit int, status string, noPage bool) (replyData map[string]interface{})

查询指定设备下的通道列表

func DeviceList

func DeviceList(page, limit int, status string, noPage bool) (replyData map[string]interface{})

查询设备列表

func Login

func Login(remoteAddr string, requestBody []byte) (replyData map[string]interface{})

登录

func Logout

func Logout(token string) (replyData map[string]interface{})

登出

func StartStream

func StartStream(token, channelID string) (replyData map[string]interface{})

先判断内存中是否存在可用的sessionURL,若存在则直接返回

func StreamNoneReaderHook

func StreamNoneReaderHook(deviceID, channelID string)

func StreamNotFound

func StreamNotFound(deviceID, channelID string)

func SystemInfo

func SystemInfo() (replyData map[string]interface{})

获取系统信息:CPU、网络、内存等v

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL