Versions in this module Expand all Collapse all v1 v1.0.1 May 4, 2023 v1.0.0 May 4, 2023 Changes in this version + func CreateBackupResponse() []byte + func CreatePortSettingResponse() string + func CreatePortStatsResponse() string + func CreateSystemInfoResponse(s FakeSwitch) string + type FakeSwitch struct + AdminPwd string + AdminUsr string + Description string + Firmware string + Gateway string + Hardware string + IPAddress string + MacAddress string + Netmask string + func NewFakeSwitch() *FakeSwitch + type MockedWebsite struct + func NewMockedWebsite() *MockedWebsite + func (t *MockedWebsite) Disable() + func (t *MockedWebsite) GetHttpClient() *http.Client + func (t *MockedWebsite) InterceptClient(c *http.Client)