Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheExists ¶
func CacheExists() bool
func GetDevicesFromCache ¶
func GetDevicesFromCache() ([]*client.DeviceEntry, error)
func GetHTTPLogWriter ¶
func Initialize ¶
func Initialize() error
func ReadFile ¶
func ReadFile(name StorageFile) ([]byte, error)
func WriteFile ¶
func WriteFile(name StorageFile, b []byte) error
Types ¶
type StorageFile ¶
type StorageFile string
const DeviceCacheFile StorageFile = "devices"
const HTTPLogFile StorageFile = "http.log"
const LoginFile StorageFile = "login"
Click to show internal directories.
Click to hide internal directories.