Documentation ¶
Overview ¶
Package ggp contains code for binding to and controlling Stadia gamelets. https://stadia.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GGP file.Path
GGP is the path to the ggp executable.
Functions ¶
func GGPExecutablePath ¶
GGPExecutablePath returns the path to the ggp executable
Types ¶
type Binding ¶
Binding represents an attached ggp ssh client
func (Binding) DefaultReplayCacheDir ¶
DefaultReplayCacheDir returns the default replay resource cache directory on a GGP device
type GGPConfiguration ¶
type GGPConfiguration struct { remotessh.Configuration Gamelet string }
type ParsedList ¶
ParseList contains the output from ggp xxx list command
func ParseListOutput ¶
func ParseListOutput(stdout *bytes.Buffer) (*ParsedList, error)
ParseListOutput parses the output from ggp xxx list command. For example: blablabla header1 header2 header3 ======= ======= ======= value1 value2 value3
func (ParsedList) ColumnByName ¶
func (t ParsedList) ColumnByName(name string) ([]string, error)
ColumnByName returns the content of the table for the specified column in a list of string.
Click to show internal directories.
Click to hide internal directories.