text

package
v0.0.0-...-73c7f1b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2016 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command represents the text command.

func New

func New() *Command

New creates a new text command.

func (*Command) Boot

func (c *Command) Boot()

Boot opens up a streams to the neural network.

func (*Command) Execute

func (c *Command) Execute(cmd *cobra.Command, args []string)

Execute represents the cobra run method.

func (*Command) ForceShutdown

func (c *Command) ForceShutdown()

ForceShutdown forces the process to stop immediately.

func (*Command) ListenToSignal

func (c *Command) ListenToSignal()

ListenToSignal listens to OS signals to be catched and processed if desired.

func (*Command) New

func (c *Command) New() *cobra.Command

New creates a new cobra command for the text command.

func (*Command) SetConfigCollection

func (c *Command) SetConfigCollection(configCollection *config.Collection)

SetConfigCollection sets the config collection for the text command to configure the endpoint client.

func (*Command) Shutdown

func (c *Command) Shutdown()

Shutdown initializes the shutdown of the neural network.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL