github.com/dbernstein1/tyk@v2.9.0-beta9-dl-apic+incompatible/goplugin/no_goplugin.go (about)

     1  // +build !goplugin
     2  
     3  package goplugin
     4  
     5  import (
     6  	"fmt"
     7  	"net/http"
     8  )
     9  
    10  func GetHandler(path string, symbol string) (http.HandlerFunc, error) {
    11  	return nil, fmt.Errorf("goplugin.GetHandler is disabled, please disable build flag 'nogoplugin'")
    12  }