middleware.go 260 B

123456789
  1. package binding
  2. import (
  3. "git.sxidc.com/go-framework/baize/framework/core/api"
  4. "git.sxidc.com/go-framework/baize/framework/core/infrastructure"
  5. )
  6. // Middleware binder使用的中间件
  7. type Middleware func(c *api.Context, i *infrastructure.Infrastructure)