options

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 2 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
	DefaultMOTDColor description.Color
}

BedrockStatus is the options used by the StatusBedrock() function

type JavaStatus

type JavaStatus struct {
	EnableSRV        bool
	Timeout          time.Duration
	ProtocolVersion  int
	DefaultMOTDColor description.Color
}

JavaStatus is the options used by the Status() function

type JavaStatusLegacy

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

JavaStatusLegacy is the options used by the StatusLegacy() function

type LegacyVote added in v1.4.0

type LegacyVote struct {
	PublicKey   string
	ServiceName string
	Username    string
	IPAddress   string
	Timestamp   time.Time
	Timeout     time.Duration
}

LegacyVote is the options used by the SendLegacyVote() 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 {
	ServiceName string
	Username    string
	Token       string
	UUID        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