Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NreplServer ¶
type NreplServer struct {
// contains filtered or unexported fields
}
NreplServer implements the nREPL protocol over TCP.
func NewNreplServer ¶
func NewNreplServer(ctx *compiler.Context) *NreplServer
func (*NreplServer) Port ¶ added in v1.11.0
func (n *NreplServer) Port() int
Port returns the port the server is bound to. After Start with -p 0 this is the OS-assigned ephemeral port, not the 0 that was requested.
func (*NreplServer) Start ¶
func (n *NreplServer) Start(port int) error
Start starts the nREPL server on the given port.
Click to show internal directories.
Click to hide internal directories.