Documentation
¶
Index ¶
- Constants
- func Print(out io.Writer, msg vtp.Message, group *sync.WaitGroup)
- func PrintEnv(out io.Writer, env *environment)
- type CmdClient
- type Evaluator
- type Repl
- type Scanner
- type TCPClient
- func (c *TCPClient) Alias(index, alias string, cb callback)
- func (c *TCPClient) Drop(index string, cb callback)
- func (c *TCPClient) Error(fn errorCallback)
- func (c *TCPClient) Index(index, name, payload string, format entities.MimeType, cb callback)
- func (c *TCPClient) Request(msg vtp.Message)
- func (c *TCPClient) Responses() <-chan vtp.Message
- func (c *TCPClient) Search(index, terms string, engine search.EngineType, cb callback)
- func (c *TCPClient) ShowIndices(cb callback)
- func (c *TCPClient) Start(ctx context.Context)
- func (c *TCPClient) Stop()
- func (c *TCPClient) UnAlias(index, alias string, cb callback)
- type TCPClientConfig
Constants ¶
View Source
const ( Version = 0 Prompt = "> " )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdClient ¶
type CmdClient struct {
// contains filtered or unexported fields
}
func NewCmdClient ¶
type TCPClient ¶
type TCPClient struct {
// contains filtered or unexported fields
}
func NewTCPClient ¶
func NewTCPClient(config TCPClientConfig) *TCPClient
func (*TCPClient) Search ¶
func (c *TCPClient) Search(index, terms string, engine search.EngineType, cb callback)
func (*TCPClient) ShowIndices ¶
func (c *TCPClient) ShowIndices(cb callback)
type TCPClientConfig ¶
Click to show internal directories.
Click to hide internal directories.