Chronoamperometry at channel electrodes: a general computational approach