sf

package
v1.0.65 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SF_PID     int32 = -1
	SF_SUB_PID int32 = -1
)

Functions

func API_ClaimServer added in v1.0.64

func API_ClaimServer(AdminPassword string, authToken string) (string, error)

func API_CreatePasswordlessAuth added in v1.0.64

func API_CreatePasswordlessAuth() (string, error)

func API_RunCommand added in v1.0.64

func API_RunCommand(Command string, authToken string) (string, error)

func API_SendRequest added in v1.0.64

func API_SendRequest(dataString string, token string, returnModel interface{}) error

func API_SetClientPassword added in v1.0.64

func API_SetClientPassword(ClientPassword string, authToken string) error

func API_ValidateToken added in v1.0.64

func API_ValidateToken(authToken string) error

func AutoRestart added in v1.0.47

func AutoRestart() error

func ClaimServer added in v1.0.64

func ClaimServer(AdminPassword string, ClientPassword string) error

func GetLatestedVersion

func GetLatestedVersion()

func GetSFPID

func GetSFPID() int32

func GetStartArgs

func GetStartArgs() []string

func InitSFHandler

func InitSFHandler()

func InstallSFServer

func InstallSFServer(force bool) error

func IsInstalled

func IsInstalled() bool

func IsRunning

func IsRunning() bool

func KillSFServer

func KillSFServer() error

func RemoveSFServer

func RemoveSFServer() error

func SendStates

func SendStates()

func ShutdownSFHandler

func ShutdownSFHandler() error

func ShutdownSFServer

func ShutdownSFServer() error

func StartSFServer

func StartSFServer() error

func UpdateSFServer

func UpdateSFServer() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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