internal

package
v0.0.0-...-146e31f Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package internal (of devicestate) provides functions to access and set the device state for use only by devicestate, for convenience they are also exposed via devicestatetest for use in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Device

func Device(st *state.State) (*auth.DeviceState, error)

Device returns the device details from the state.

func SetDevice

func SetDevice(st *state.State, device *auth.DeviceState) error

SetDevice updates the device details in the state.

Types

This section is empty.

Jump to

Keyboard shortcuts

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