elvish: github.com/elves/elvish/pkg/daemon/internal/api Index | Files

package api

import "github.com/elves/elvish/pkg/daemon/internal/api"

Package api defines types and constants useful for the API between the daemon service and client.

Index

Package Files

api.go

Constants

const ServiceName = "Daemon"

ServiceName is the name of the RPC service exposed by the daemon.

type AddCmdRequest Uses

type AddCmdRequest struct {
    Text string
}

type AddCmdResponse Uses

type AddCmdResponse struct {
    Seq int
}

type AddDirRequest Uses

type AddDirRequest struct {
    Dir       string
    IncFactor float64
}

type AddDirResponse Uses

type AddDirResponse struct{}

type CmdRequest Uses

type CmdRequest struct {
    Seq int
}

type CmdResponse Uses

type CmdResponse struct {
    Text string
}

type CmdsRequest Uses

type CmdsRequest struct {
    From int
    Upto int
}

type CmdsResponse Uses

type CmdsResponse struct {
    Cmds []string
}

type CmdsWithSeqRequest Uses

type CmdsWithSeqRequest struct {
    From int
    Upto int
}

type CmdsWithSeqResponse Uses

type CmdsWithSeqResponse struct {
    Cmds []store.Cmd
}

type DelCmdRequest Uses

type DelCmdRequest struct {
    Seq int
}

type DelCmdResponse Uses

type DelCmdResponse struct {
}

type DelDirRequest Uses

type DelDirRequest struct {
    Dir string
}

type DelDirResponse Uses

type DelDirResponse struct{}

type DelSharedVarRequest Uses

type DelSharedVarRequest struct {
    Name string
}

type DelSharedVarResponse Uses

type DelSharedVarResponse struct{}

type DirsRequest Uses

type DirsRequest struct {
    Blacklist map[string]struct{}
}

type DirsResponse Uses

type DirsResponse struct {
    Dirs []store.Dir
}

type NextCmdRequest Uses

type NextCmdRequest struct {
    From   int
    Prefix string
}

type NextCmdResponse Uses

type NextCmdResponse struct {
    Seq  int
    Text string
}

type NextCmdSeqRequest Uses

type NextCmdSeqRequest struct{}

type NextCmdSeqResponse Uses

type NextCmdSeqResponse struct {
    Seq int
}

type PidRequest Uses

type PidRequest struct{}

type PidResponse Uses

type PidResponse struct {
    Pid int
}

type PrevCmdRequest Uses

type PrevCmdRequest struct {
    Upto   int
    Prefix string
}

type PrevCmdResponse Uses

type PrevCmdResponse struct {
    Seq  int
    Text string
}

type SetSharedVarRequest Uses

type SetSharedVarRequest struct {
    Name  string
    Value string
}

type SetSharedVarResponse Uses

type SetSharedVarResponse struct{}

type SharedVarRequest Uses

type SharedVarRequest struct {
    Name string
}

type SharedVarResponse Uses

type SharedVarResponse struct {
    Value string
}

type VersionRequest Uses

type VersionRequest struct{}

type VersionResponse Uses

type VersionResponse struct {
    Version int
}

Package api imports 1 packages (graph) and is imported by 1 packages. Updated 2020-02-22. Refresh now. Tools for package owners.