models

package
v0.0.0-...-9b39d9c Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigModel

type ConfigModel struct {
	//this DVR name
	Name         string
	OnvifDevices []OnvifDeviceConfig
}

type OnvifDeviceConfig

type OnvifDeviceConfig struct {
	//this Camera name
	Name     string
	XAddr    string
	UserName string
	Password string
}

type OnvifDeviceConfigListResp

type OnvifDeviceConfigListResp struct {
	Code         int
	Msg          string
	OnvifDevices []OnvifDeviceConfig
}

type OperationResp

type OperationResp struct {
	Code int
	Msg  string
}

type ServiceInfo

type ServiceInfo struct {
	Instance string   `json:"instance"`
	Service  string   `json:"service"`
	Domain   string   `json:"domain"`
	Port     int      `json:"port"`
	HostName string   `json:"host_name"`
	Ip       string   `json:"ip"`
	Text     []string `json:"text"`
}

Jump to

Keyboard shortcuts

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