types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package types implements basic types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootID

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

BootID represents BOOTID.UPNP.ORG asdescribed in the of the UPnP Device Architecture 2.0

func NewBootID

func NewBootID() (id *BootID)

NewBootID creates a new boot id

func (*BootID) Incr

func (me *BootID) Incr()

Incr increases the current and the next value of boot id

func (*BootID) Next

func (me *BootID) Next() uint32

Next returns the next value that boot id would have

func (*BootID) Set

func (me *BootID) Set(i uint32)

Set sets the current value of boot id to i and set the next value accordingly

func (*BootID) Val

func (me *BootID) Val() uint32

Val returns the current value of boot id

type ConfigID

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

ConfigID represents CONFIGID.UPNP.ORG asdescribed in the of the UPnP Device Architecture 2.0

func (*ConfigID) Incr

func (me *ConfigID) Incr()

Incr increases the current value of config id

func (*ConfigID) Set

func (me *ConfigID) Set(i uint32)

Set sets the current value of config id to i

func (*ConfigID) Val

func (me *ConfigID) Val() uint32

Val returns the current value of config id

Jump to

Keyboard shortcuts

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