github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/cmd/srv-applet-mgr/apis/debug/root.go (about)

     1  package debug
     2  
     3  import (
     4  	"github.com/machinefi/w3bstream/pkg/depends/kit/httptransport"
     5  	"github.com/machinefi/w3bstream/pkg/depends/kit/kit"
     6  )
     7  
     8  var Root = kit.NewRouter(httptransport.Group("/debug"))
     9  
    10  func init() {
    11  	Root.Register(kit.NewRouter(&FetchInstances{}))
    12  	Root.Register(kit.NewRouter(&GetInstance{}))
    13  }