github.com/jxgolibs/go-oauth2-server@v1.0.1/health/service_interface.go (about)

     1  package health
     2  
     3  import (
     4  	"github.com/RichardKnop/go-oauth2-server/util/routes"
     5  	"github.com/gorilla/mux"
     6  )
     7  
     8  // ServiceInterface defines exported methods
     9  type ServiceInterface interface {
    10  	// Exported methods
    11  	GetRoutes() []routes.Route
    12  	RegisterRoutes(router *mux.Router, prefix string)
    13  	Close()
    14  }