inject

package
v0.0.0-...-95e8c34 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LibraryEntry       entry = "library"
	KeyboardEntry      entry = "keyboard"
	MenuEntry          entry = "menu"
	QuickAccessEntry   entry = "quickAccess"
	AppPropertiesEntry entry = "appProperties"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InjectAppPropertiesArgs

type InjectAppPropertiesArgs struct {
	App   string `json:"app"`
	Title string `json:"title"`
}

type InjectAppPropertiesReply

type InjectAppPropertiesReply struct{}

type InjectArgs

type InjectArgs struct{}

type InjectPluginArgs

type InjectPluginArgs struct {
	PluginId   string `json:"pluginId"`
	Entrypoint entry  `json:"entrypoint"`
	Title      string `json:"title"`
}

type InjectPluginReply

type InjectPluginReply struct{}

type InjectPluginsArgs

type InjectPluginsArgs struct {
	Entrypoint entry  `json:"entrypoint"`
	Title      string `json:"title"`
}

type InjectPluginsReply

type InjectPluginsReply struct{}

type InjectReply

type InjectReply struct{}

type InjectService

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

func NewInjectService

func NewInjectService(debugPort, serverPort string, plugins *plugins.Plugins, steamPath string, authToken string, pluginsDir string) *InjectService

func (*InjectService) InjectAppProperties

func (service *InjectService) InjectAppProperties(r *http.Request, req *InjectAppPropertiesArgs, res *InjectAppPropertiesReply) error

func (*InjectService) InjectKeyboard

func (service *InjectService) InjectKeyboard(r *http.Request, req *InjectArgs, res *InjectReply) error

func (*InjectService) InjectLibrary

func (service *InjectService) InjectLibrary(r *http.Request, req *InjectArgs, res *InjectReply) error

func (*InjectService) InjectMenu

func (service *InjectService) InjectMenu(r *http.Request, req *InjectArgs, res *InjectReply) error

func (*InjectService) InjectPlugin

func (service *InjectService) InjectPlugin(r *http.Request, req *InjectPluginArgs, res *InjectPluginReply) error

func (*InjectService) InjectPlugins

func (service *InjectService) InjectPlugins(r *http.Request, req *InjectPluginsArgs, res *InjectPluginsReply) error

func (*InjectService) InjectQuickAccess

func (service *InjectService) InjectQuickAccess(r *http.Request, req *InjectArgs, res *InjectReply) error

Jump to

Keyboard shortcuts

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