Documentation ¶ Index ¶ Variables type Handler func (h *Handler) Handle(ctx context.Context, conn *net.UDPConn, addr *net.UDPAddr, req []byte) type Reporter func NewReporter(lc fx.Lifecycle, shutdowner fx.Shutdowner, handler *Handler, cfg config.Config, ...) (*Reporter, error) Constants ¶ This section is empty. Variables ¶ View Source var Module = fx.Module("reporter", fx.Provide( fx.Private, newHandler, ), fx.Provide( fx.Private, reporting.NewService, ), fx.Provide(NewReporter), ) Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func (*Handler) Handle ¶ func (h *Handler) Handle( ctx context.Context, conn *net.UDPConn, addr *net.UDPAddr, req []byte, ) type Reporter ¶ type Reporter struct{} func NewReporter ¶ func NewReporter( lc fx.Lifecycle, shutdowner fx.Shutdowner, handler *Handler, cfg config.Config, logger *zerolog.Logger, ) (*Reporter, error) Source Files ¶ View all Source files reporter.go Click to show internal directories. Click to hide internal directories.