Skip to content

Commit

Permalink
core: remove introspection package (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jan 7, 2023
1 parent 1943c64 commit 2a49ff3
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 10,243 deletions.
14 changes: 0 additions & 14 deletions core/host/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (

"github.com/libp2p/go-libp2p/core/connmgr"
"github.com/libp2p/go-libp2p/core/event"
"github.com/libp2p/go-libp2p/core/introspection"
"github.com/libp2p/go-libp2p/core/network"
"github.com/libp2p/go-libp2p/core/peer"
"github.com/libp2p/go-libp2p/core/peerstore"
Expand Down Expand Up @@ -74,16 +73,3 @@ type Host interface {
// EventBus returns the hosts eventbus
EventBus() event.Bus
}

// IntrospectableHost is implemented by Host implementations that are
// introspectable, that is, that may have introspection capability.
type IntrospectableHost interface {
// Introspector returns the introspector, or nil if one hasn't been
// registered. With it, the call can register data providers, and can fetch
// introspection data.
Introspector() introspection.Introspector

// IntrospectionEndpoint returns the introspection endpoint, or nil if one
// hasn't been registered.
IntrospectionEndpoint() introspection.Endpoint
}
7 changes: 0 additions & 7 deletions core/introspection/doc.go

This file was deleted.

30 changes: 0 additions & 30 deletions core/introspection/endpoint.go

This file was deleted.

39 changes: 0 additions & 39 deletions core/introspection/introspector.go

This file was deleted.

11 changes: 0 additions & 11 deletions core/introspection/pb/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions core/introspection/pb/doc.go

This file was deleted.

Loading

0 comments on commit 2a49ff3

Please sign in to comment.