func (h *Handler) ApplyConfig(conf *config.Config) error {
	h.mtx.Lock()
	defer h.mtx.Unlock()

	h.config = conf

	return nil
}
func (h *Handler) ApplyConfig(conf *config.Config) error {
	h.mtx.Lock()
	defer h.mtx.Unlock()

	h.config = conf

	return nil
}
func ( h * Handler ) ApplyConfig ( conf * config . Config ) error { h . mtx . Lock ( ) defer h . mtx . Unlock ( ) h . config = conf return nil }
// ApplyConfig updates the config field of the Handler struct
ApplyConfig updates the config field of the Handler struct