Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DumbDialer ¶ added in v1.4.0
type DumbDialer struct { Peers map[string][]peer.AddrInfo Connector dial.Connector Self peer.ID // contains filtered or unexported fields }
DumbDialer always dials one of the seed nodes
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler processes API requests.
func (*Handler) ServeHTTP ¶
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler.
Click to show internal directories.
Click to hide internal directories.