localnetworkinterface

package
v1.21.42 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusChecker

type StatusChecker interface {
	GetCurrentNetworkVersion() (string, int, bool, error)
}

func NewStatusChecker

func NewStatusChecker() StatusChecker

NewStatusChecker creates a new status checker If app is nil, it uses the default LocalAPIEndpoint

func NewStatusCheckerWithApp added in v1.21.42

func NewStatusCheckerWithApp(app *application.Lux) StatusChecker

NewStatusCheckerWithApp creates a new status checker with app context This allows it to read the network state and use the correct endpoint

Jump to

Keyboard shortcuts

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