gettor

package
v0.0.0-...-e8355e7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DistName = "gettor"

	CommandHelp  = "help"
	CommandLinks = "links"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Platform string
	Command  string
}

type GettorDistributor

type GettorDistributor struct {
	// contains filtered or unexported fields
}
func (d *GettorDistributor) GetAliasedLinks(platform string) []*resources.TBLink
func (d *GettorDistributor) GetLinks(platform string) []*resources.TBLink

func (*GettorDistributor) Init

func (d *GettorDistributor) Init(cfg *internal.Config)

func (*GettorDistributor) ParseCommand

func (d *GettorDistributor) ParseCommand(body io.Reader) *Command

func (*GettorDistributor) Shutdown

func (d *GettorDistributor) Shutdown()

func (*GettorDistributor) SupportedPlatforms

func (d *GettorDistributor) SupportedPlatforms() []string
type TBLinkList map[string][]*resources.TBLink

TBLinkList are indexed by platform

Jump to

Keyboard shortcuts

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