using System; using System.Threading.Tasks; namespace FastGithub { /// /// 定义中间件的接口 /// interface IGithubScanMiddleware { /// /// 执行中间件 /// /// 上下文 /// 下一个中间件 /// Task InvokeAsync(GithubContext context, Func next); } }