mirror of
https://github.com/kerberos-io/agent.git
synced 2026-11-25 23:30:51 +00:00
Rename many Go source files to lower_snake_case (e.g. RTSPClient.go -> rtsp_client.go, Server.go -> server.go, etc.) to follow project naming conventions. Enhance machinery/src/cloud/tus_client_test.go: add encoding/base64 import, record incoming requests (recordedRequest + requests slice), provide requestsForMethod helper, add test helpers (testHubConfig, decodeTusMetadata) and two new tests (TestUploadHubResumable_HappyPath and TestUploadHubResumable_Unsupported) that validate hub resumable upload behavior and per-method auth/metadata. Update swag.sh to point to the renamed server.go entry file.
7 lines
149 B
Go
7 lines
149 B
Go
package models
|
|
|
|
type AudioDataPartial struct {
|
|
Timestamp int64 `json:"timestamp" bson:"timestamp"`
|
|
Data []int16 `json:"data" bson:"data"`
|
|
}
|