mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 11:44:38 +03:00
expose fewer internals in packages, for easier software reuse
- prometheus is now behind an interface, they aren't dependencies for the reusable components anymore. - some dependencies have been inverted: instead of packages importing a main package to get configuration, the main package now sets configuration in these packages. that means fewer internals are pulled in. - some functions now have new parameters for values that were retrieved from package "mox-".
This commit is contained in:
7
stub/doc.go
Normal file
7
stub/doc.go
Normal file
@ -0,0 +1,7 @@
|
||||
// Package stub provides interfaces and stub implementations.
|
||||
//
|
||||
// Packages in mox use these interfaces and implementations so other software
|
||||
// reusing these packages won't have to take on unwanted dependencies.
|
||||
//
|
||||
// Stubs are provided for: metrics (prometheus).
|
||||
package stub
|
Reference in New Issue
Block a user