good morning!!!!

Skip to content
Snippets Groups Projects
peer.go 331 B
Newer Older
a's avatar
a committed
package jsonrpc
a's avatar
wip
a committed

a's avatar
a committed
import (
	"net/http"
)
a's avatar
wip
a committed

type PeerInfo struct {
	// Transport is name of the protocol used by the client.
	Transport string

	// Address of client. This will usually contain the IP address and port.
	RemoteAddr string

a's avatar
a committed
	// Additional information for HTTP and WebSocket connections.
a's avatar
a committed
	HTTP *http.Request `json:"-"`
a's avatar
wip
a committed
}