shared

package
v2.2.27 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContext

func CreateContext() *config.Context

func F32ToHumanReadable

func F32ToHumanReadable(number float32) string

func FormatMessage

func FormatMessage(shortMessage string, longMessage string) string

func IsConfigValidAccount

func IsConfigValidAccount() bool

func PrintDeviceData

func PrintDeviceData(thisDevice *cloudflare.Device, boundDevice *cloudflare.BoundDevice)

func SetDeviceName

func SetDeviceName(ctx *config.Context, deviceName string) (*cloudflare.BoundDevice, error)

changing the bound account (e.g. changing license key) will reset the device name

Types

This section is empty.

Jump to

Keyboard shortcuts

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