github.com/resonatecoop/id@v1.1.0-43/health/service_interface.go (about) 1 package health 2 3 import ( 4 "github.com/gorilla/mux" 5 "github.com/resonatecoop/id/util/routes" 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 }