 function">OnBeforeServe</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span><span class="token function">Add</span><span class="token punctuation">(</span><span class="token keyword">func</span><span class="token punctuation">(</span>e <span class="token operator">*</span>core<span class="token punctuation">.</span>ServeEvent<span class="token punctuation">)</span> <span class="token builtin">error</span> <span class="token punctuati