Stream beets imports over HTTP.

refactor(server): expand abbreviated identifiers #44

Merged glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:refactor/naming-server
Merged opened by and assigned to glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:refactor/naming-server

Summary #

Mechanically expand abbreviated identifiers in internal/server (and direct cross-package call sites) with zero behavioral changes:

  • Rename Config.HooksDir to Config.HooksDirectory, Config.BeetsBin to Config.BeetsBinary, and Server.Addr() to Server.Address()
  • Rename Server.cfg to Server.config and Server method receivers s to server
  • Rename HTTP handler parameters w and r to writer and request
  • Rename sseStream fields and receivers (w to writer, rc to responseController, reqCtx to requestContext, mu to mutex, wg to waitGroup, s to stream)
  • Rename mbURL to musicBrainzURL, mbID to musicBrainzID, MBURL to MusicBrainzURL, MBID to MusicBrainzID, appVer to appVersion, beetsVer to beetsVersion, req to importTarget, importCtx to importContext, r to router, and errCh to errorChannel
  • Update direct call sites in cmd/goosefoot and internal/server tests
Commits 0