Documentation ¶ Index ¶ type InstanceData type Veadotube func New() (*Veadotube, error) func (v *Veadotube) Connect() func (v *Veadotube) SetState(state string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type InstanceData ¶ type InstanceData struct { Time int64 `json:"time"` Name string `json:"name"` Server string `json:"server"` } type Veadotube ¶ type Veadotube struct { CurrentInstance InstanceData Connection *websocket.Conn StateMap map[string]string } func New ¶ func New() (*Veadotube, error) Select a running Veadotube instance from the user's home directory. This function involves direct user input, and may return `nil` on an error or if multiple instances are available to be selected but the user selects none of them. func (*Veadotube) Connect ¶ func (v *Veadotube) Connect() Connect to the Veadotube instance. func (*Veadotube) SetState ¶ func (v *Veadotube) SetState(state string) Set the active Veadotube state to that with the provided state name. Source Files ¶ View all Source files requests.go responses.go veadotube.go Click to show internal directories. Click to hide internal directories.