ltosapi

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents a Meinberg LTOS API client

func NewClient

func NewClient(baseURL string, authBasicUser, authBasicPass string, ignoreSSLVerify bool) *Client

NewClient creates a new Meinberg LTOS API client

func (*Client) FetchStatus

func (c *Client) FetchStatus(ctx context.Context, logger *slog.Logger) (*models.StatusResponse, error)

FetchStatus fetches the target status from the Meinberg LTOS API

func (*Client) Target

func (c *Client) Target() string

Target returns the target base URL of the Meinberg LTOS API client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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