model

package
v0.0.0-...-f6f69dc Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalCapability

func MarshalCapability(capability Capability) graphql.Marshaler

func MarshalConnectivityState

func MarshalConnectivityState(connectivity ConnectivityState) graphql.Marshaler

func MarshalMetered

func MarshalMetered(metered Metered) graphql.Marshaler

func MarshalState

func MarshalState(metered State) graphql.Marshaler

Types

type Capability

type Capability = netmgr.Capability

func UnmarshalCapability

func UnmarshalCapability(v interface{}) (Capability, error)

type ConnectivityState

type ConnectivityState = netmgr.ConnectivityState

func UnmarshalConnectivityState

func UnmarshalConnectivityState(v interface{}) (ConnectivityState, error)

type Metered

type Metered = netmgr.MeteredEnum

func UnmarshalMetered

func UnmarshalMetered(v interface{}) (Metered, error)

type NetworkManagerInput

type NetworkManagerInput struct {
	WirelessEnabled          *bool `json:"wirelessEnabled"`
	WwanEnabled              *bool `json:"wwanEnabled"`
	ConnectivityCheckEnabled *bool `json:"connectivityCheckEnabled"`
}

type State

type State = netmgr.StateEnum

func UnmarshalState

func UnmarshalState(v interface{}) (State, error)

Jump to

Keyboard shortcuts

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