Description

Cond set condition function if cond return true can run this namespace, else can't usage: ns.Cond(func (ctx *context.Context) bool{

    if ctx.Input.Domain() == "api.beego.me" {
      return true
    }
    return false
})

Cond as the first filter

Cond is referenced in 1 repository

github.com/astaxie/beego