Documentation ¶
Overview ¶
Package service implements server and client for the elvishd service.
Index ¶
Constants ¶
View Source
const (
Version = "0"
)
Variables ¶
View Source
var ( VersionMismatch = errors.New("version mismatch") UniVarNotFound = errors.New("universal variable not found") )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps rpc.Client with type-safe wrappers.
type Elvishd ¶
type Elvishd struct {
// contains filtered or unexported fields
}
func (*Elvishd) Echo ¶
Echo replies with an exact duplicate of the argument string. Could be useful for testing.
func (*Elvishd) GetUniVar ¶
GetUniVar replies with the value of the universal variable with the name arg. If the named variable does not exist or there is a database error, an error is returned instead.
Click to show internal directories.
Click to hide internal directories.