Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BencodeDecode ¶
BencodeDecode reads one bencoded value from the reader. Returns string, int64, []interface{}, or map[string]interface{}.
func BencodeEncode ¶
BencodeEncode encodes a value to bencode format. Supported types: string, int/int64, []interface{}, map[string]interface{}.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client connects to a running nREPL server.
func (*Client) Completions ¶
func (c *Client) Completions(prefix, ns string) ([]CompletionEntry, error)
Completions requests completions for prefix in the given namespace.
type CompletionEntry ¶
type CompletionEntry struct {
Candidate string
NS string // namespace the symbol is defined in
Type string // "namespace", "function", etc.
}
CompletionEntry holds a completion candidate with optional metadata.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a minimal nREPL server for editor integration.
func Start ¶
Start creates and starts an nREPL server on the given host and port. Port 0 means auto-assign a free port.
Click to show internal directories.
Click to hide internal directories.