options

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BedrockStatus

type BedrockStatus struct {
	EnableSRV  bool
	Timeout    time.Duration
	ClientGUID int64
}

BedrockStatus is the options used by the StatusBedrock() function

type JavaStatus

type JavaStatus struct {
	EnableSRV       bool
	Timeout         time.Duration
	ProtocolVersion int
	Ping            bool
}

JavaStatus is the options used by the Status() function

type JavaStatusLegacy

type JavaStatusLegacy struct {
	EnableSRV       bool
	Timeout         time.Duration
	ProtocolVersion int
}

JavaStatusLegacy is the options used by the StatusLegacy() function

type Query

type Query struct {
	Timeout   time.Duration
	SessionID int32
}

Query is the options used all query functions

type RCON

type RCON struct {
	Timeout time.Duration
}

RCON is the options used when connecting in the RCON#Connect() method

type Vote

type Vote struct {
	// Deprecated: This property no longer affects how the vote is sent or processed.
	RequireVersion int
	PublicKey      string
	ServiceName    string
	Username       string
	Token          string
	UUID           string
	IPAddress      string
	Timestamp      time.Time
	Timeout        time.Duration
}

Vote is the options used by the SendVote() function

Jump to

Keyboard shortcuts

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