localnetworkinterface

package
v1.22.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package localnetworkinterface provides local network status checking.

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)
}

StatusChecker provides network status checking operations.

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