clientproc

package
v0.0.0-...-9392742 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIsLeagueExecutable

func CheckIsLeagueExecutable(name string) bool

CheckIsLeagueExecutable returns if the string might be the league executable.

func LocateLeagueClient

func LocateLeagueClient() (*ps.Process, string, error)

LocateLeagueClient attempts to locate the league of legends client returning the exepath and proc. May return nil and empty string if not found.

Types

type Lockfile

type Lockfile struct {
	Port  int
	Token string
}

Lockfile is information determined from the process "lockfile"

func LockfileFromClient

func LockfileFromClient(processPath string) (*Lockfile, error)

LockfileFromClient determines api information from a process path.

Jump to

Keyboard shortcuts

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