Documentation
¶
Index ¶
- Constants
- func CleanUpDeviceRepresentation(v interface{}) interface{}
- func GetDeviceRepresentation(deviceID string, deviceName string) interface{}
- func GetTestRebootUri(deviceID string, t *testing.T) string
- func HTTPDo(t *testing.T, req *http.Request) *http.Response
- func MakeConfig(t *testing.T) service.Config
- func New(t *testing.T, cfg service.Config) func()
- func NewRequest(method, url string, body io.Reader) *requestBuilder
- func SetUp(t *testing.T) (TearDown func())
- func SortLinks(s []interface{}) []interface{}
- type SortLinksByHref
Constants ¶
View Source
const HTTP_GW_Host = "0.0.0.0"
View Source
const HTTP_GW_Port = 7000
View Source
const TestTimeout = 20 * time.Second
Variables ¶
This section is empty.
Functions ¶
func CleanUpDeviceRepresentation ¶
func CleanUpDeviceRepresentation(v interface{}) interface{}
func GetDeviceRepresentation ¶
func NewRequest ¶
Types ¶
type SortLinksByHref ¶
type SortLinksByHref []interface{}
func (SortLinksByHref) Len ¶
func (a SortLinksByHref) Len() int
func (SortLinksByHref) Less ¶
func (a SortLinksByHref) Less(i, j int) bool
func (SortLinksByHref) Swap ¶
func (a SortLinksByHref) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.