Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TestDeviceScheme – in-memory device used for testing. The only URL: test:// TestDeviceScheme = "test" // SimpleStorageScheme – scheme for simple remote storages. Usage: storage://random_tenant_id@hostname:port. default port is 26060 SimpleStorageScheme = "storage" SimpleStorageDefaultPort = 26060 // AbuseDeviceScheme - device that requests the API for providing device that matches parameters AbuseDeviceScheme = "abuse" )
Schemes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreationConfig ¶
type CreationConfig struct {
// contains filtered or unexported fields
}
type Device ¶
type Simple ¶
type Simple struct {
// contains filtered or unexported fields
}
type Test ¶
type Test struct {
// contains filtered or unexported fields
}
func NewTestDevice ¶
func NewTestDevice(cfg CreationConfig) *Test
Click to show internal directories.
Click to hide internal directories.