Documentation
¶
Index ¶
- func CreatePullPointSubscription(ctx context.Context, dev *onvif.Device, ...) (event.CreatePullPointSubscriptionResponse, error)
- func GetEventProperties(ctx context.Context, dev *onvif.Device, ...) (event.GetEventPropertiesResponse, error)
- func GetServiceCapabilities(ctx context.Context, dev *onvif.Device, ...) (event.GetServiceCapabilitiesResponse, error)
- func PullMessages(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.PullMessages]) (event.PullMessagesResponse, error)
- func Subscribe(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.Subscribe]) (event.SubscribeResponse, error)
- func Unsubscribe(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.Unsubscribe]) (event.UnsubscribeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePullPointSubscription ¶ added in v0.0.10
func CreatePullPointSubscription(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.CreatePullPointSubscription]) (event.CreatePullPointSubscriptionResponse, error)
CreatePullPointSubscription forwards the call to onvif.Do then parses the payload of the reply as a CreatePullPointSubscriptionResponse.
func GetEventProperties ¶ added in v0.0.10
func GetEventProperties(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.GetEventProperties]) (event.GetEventPropertiesResponse, error)
GetEventProperties forwards the call to onvif.Do then parses the payload of the reply as a GetEventPropertiesResponse.
func GetServiceCapabilities ¶ added in v0.0.10
func GetServiceCapabilities(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.GetServiceCapabilities]) (event.GetServiceCapabilitiesResponse, error)
GetServiceCapabilities forwards the call to onvif.Do then parses the payload of the reply as a GetServiceCapabilitiesResponse.
func PullMessages ¶ added in v0.0.10
func PullMessages(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.PullMessages]) (event.PullMessagesResponse, error)
PullMessages forwards the call to onvif.Do then parses the payload of the reply as a PullMessagesResponse.
func Subscribe ¶ added in v0.0.10
func Subscribe(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.Subscribe]) (event.SubscribeResponse, error)
Subscribe forwards the call to onvif.Do then parses the payload of the reply as a SubscribeResponse.
func Unsubscribe ¶ added in v0.0.10
func Unsubscribe(ctx context.Context, dev *onvif.Device, request *onvif.Req[event.Unsubscribe]) (event.UnsubscribeResponse, error)
Unsubscribe forwards the call to onvif.Do then parses the payload of the reply as a UnsubscribeResponse.
Types ¶
This section is empty.