pixelmon

package
v0.0.0-...-f0a4d25 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToWhitelist

func AddToWhitelist(instanceID string, rcon string, username string) error

func GetStatus

func GetStatus(url string, opts ...Option) (bool, int, error)

func SayMessage

func SayMessage(instanceID string, rcon string, username string, message string) error

func StartInstance

func StartInstance(instanceID string) error

func StartService

func StartService(instanceID string, zoneID string, url string) error

func StopInstance

func StopInstance(instanceID string) error

func StopService

func StopService(instanceID string, zoneID string, url string, rcon string) error

Types

type Option

type Option func(*options)

func WithURL

func WithURL(url string) Option

Jump to

Keyboard shortcuts

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