Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
Peers(http.ResponseWriter, *http.Request)
RPC(http.ResponseWriter, *http.Request)
Details(http.ResponseWriter, *http.Request)
Connections(http.ResponseWriter, *http.Request)
Root(http.ResponseWriter, *http.Request)
SetAllow(allow map[string][]*net.IPNet)
}
the argument passed to the handlers
type InternalConnection ¶
type InternalConnection struct {
// contains filtered or unexported fields
}
InternalConnection - type to allow RPC system to interface to http request
func (*InternalConnection) Close ¶
func (c *InternalConnection) Close() error
Click to show internal directories.
Click to hide internal directories.