84642486b9
With this change, Agent.New() accepts many of the dependencies instead of creating them in New. Accepting fully constructed dependencies from a constructor makes the type easier to test, and easier to change. There are still a number of dependencies created in Start() which can be addressed in a follow up. |
||
---|---|---|
.. | ||
monitor | ||
gated_writer.go | ||
gated_writer_test.go | ||
grpc.go | ||
grpc_test.go | ||
log_levels.go | ||
logfile.go | ||
logfile_test.go | ||
logger.go | ||
logger_test.go | ||
names.go | ||
syslog.go |