protocol

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAuthenticatedRequest

func MakeAuthenticatedRequest(auth *string, method string, body string, url string) (*bytes.Buffer, int, error)

MakeAuthenticatedRequest Sends a request to the camera. Example usage: c.makeAuthenticatedRequest("GET", "/base","/some.cgi?preset=1") Returns the response body as a buffer.

func SaveResponseBuffer

func SaveResponseBuffer(outDir string, filename string, resp *bytes.Buffer) error

SaveResponseBuffer saves the response buffer to a file

Types

This section is empty.

Jump to

Keyboard shortcuts

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