utils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAdmin

func IsAdmin(username string) bool

func PrivateIPs added in v0.2.0

func PrivateIPs() ([]string, error)

func PublicIPs added in v0.2.0

func PublicIPs() ([]string, error)

func RconClient

func RconClient() (palworldrcon.Client, error)

func ToBool added in v0.3.0

func ToBool(s string) (bool, error)

func ToFloat64 added in v0.3.0

func ToFloat64(s string) (float64, error)

func ToInt added in v0.2.0

func ToInt(s string) (int, error)

func ToUint

func ToUint(s string) (uint, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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