Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrServiceNotSupported = errors.New("onvif service not supported")
)
Functions ¶
func AuthorizedSOAPClient ¶
func ComposeHeaders ¶ added in v0.0.24
func ComposeHeaders(ref *addressing.EndpointReferenceType) []any
Types ¶
type Client ¶
type Client interface { Analytics() (analytics.AnalyticsEnginePort, error) Device() (device.Device, error) Events() (events.EventPortType, error) Subscription(url string, headers ...any) (events.PullPointSubscription, error) Imaging() (imaging.ImagingPort, error) Media() (media.Media, error) Media2() (media2.Media2, error) PTZ() (ptz.PTZ, error) }
type ClientPool ¶ added in v0.0.11
type ClientPool interface {
GetClient(baseURL, username, password string, verbose bool) (Client, error)
}
func NewPool ¶ added in v0.0.11
func NewPool(ttl time.Duration) ClientPool
type ReplyToAddressingHeader ¶ added in v0.0.24
type ToAddressingHeader ¶ added in v0.0.24
Click to show internal directories.
Click to hide internal directories.