Documentation ¶
Overview ¶
* Stub for a Steady device in Go, only used to make the device config, * please see the C implementation of the device for now.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Device ¶
func LoadDevice ¶
func LoadDevice(path, server, token string, encrypt, compress bool, flushSize int, blockBufferNum int) (*Device, error)
estimating memory usage: flushSize*(blockBufferNum+1) LoadDevice loads a device from the given fs path
type DeviceState ¶
type DeviceState struct {
NextIndex, TimePrev, LenPrev uint64
}
Click to show internal directories.
Click to hide internal directories.