github.com/kjdelisle/consul@v1.4.5/sentinel/sentinel_oss.go (about)

     1  // +build !ent
     2  
     3  package sentinel
     4  
     5  import (
     6  	"log"
     7  )
     8  
     9  // New returns a new instance of the Sentinel code engine. This is only available
    10  // in Consul Enterprise so this version always returns nil.
    11  func New(logger *log.Logger) Evaluator {
    12  	return nil
    13  }