Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBackupResponse ¶
func CreateBackupResponse() []byte
func CreatePortSettingResponse ¶
func CreatePortSettingResponse() string
func CreatePortStatsResponse ¶
func CreatePortStatsResponse() string
func CreateSystemInfoResponse ¶
func CreateSystemInfoResponse(s FakeSwitch) string
Types ¶
type FakeSwitch ¶
type MockedWebsite ¶
type MockedWebsite struct {
// contains filtered or unexported fields
}
A mocked website
func (*MockedWebsite) Disable ¶
func (t *MockedWebsite) Disable()
func (*MockedWebsite) GetHttpClient ¶
func (t *MockedWebsite) GetHttpClient() *http.Client
func (*MockedWebsite) InterceptClient ¶
func (t *MockedWebsite) InterceptClient(c *http.Client)
Click to show internal directories.
Click to hide internal directories.