Documentation
¶
Index ¶
- type Attribute
- func (attrib *Attribute) Close() (err error)
- func (attrib *Attribute) Exists() bool
- func (attrib *Attribute) Ioctl(request, arg uintptr) (result uintptr, errno syscall.Errno, err error)
- func (attrib *Attribute) Open() (err error)
- func (attrib *Attribute) OpenRO() (err error)
- func (attrib *Attribute) Print(value interface{}) (err error)
- func (attrib *Attribute) Printf(format string, args ...interface{}) (err error)
- func (attrib *Attribute) Read() (str string, err error)
- func (attrib *Attribute) ReadByte() (value byte, err error)
- func (attrib *Attribute) ReadBytes() (data []byte, err error)
- func (attrib *Attribute) ReadInt() (value int, err error)
- func (attrib *Attribute) ReadUint64() (value uint64, err error)
- func (attrib *Attribute) Scan(value interface{}) (err error)
- func (attrib *Attribute) Scanf(format string, args ...interface{}) (err error)
- func (attrib *Attribute) Write(value string) (err error)
- func (attrib *Attribute) WriteByte(value byte) (err error)
- func (attrib *Attribute) WriteBytes(data []byte) (err error)
- func (attrib *Attribute) WriteInt(value int) (err error)
- func (attrib *Attribute) WriteUint64(value uint64) (err error)
- type Object
- type Subsystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
func (*Attribute) ReadUint64 ¶
func (*Attribute) WriteBytes ¶
func (*Attribute) WriteUint64 ¶
type Subsystem ¶
type Subsystem string
var ( Block Subsystem = "/sys/block" Bus Subsystem = "/sys/bus" Class Subsystem = "/sys/class" Dev Subsystem = "/sys/dev" Devices Subsystem = "/sys/devices" Firmware Subsystem = "/sys/firmware" FS Subsystem = "/sys/fs" Hypervision Subsystem = "/sys/hypervisor" Kernel Subsystem = "/sys/kernel" Module Subsystem = "/sys/module" Power Subsystem = "/sys/power" )
Click to show internal directories.
Click to hide internal directories.