Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) Disconnect ¶
func (bd *Device) Disconnect()
Disconnect disconnects the Device and interrupts the Run()
func (*Device) Run ¶
Run connects a Device to an actual device file and starts handling requests. It does not return until it's done serving requests.
func (*Device) SetBlockSize ¶
func (*Device) SetMaxProc ¶
func (*Device) SetReadOnly ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.