Documentation ¶
Index ¶
- func CancelTransfer() string
- func ChangeDuState(ops []fmt.Stringer) string
- func Download(filetype, url, username, password, filesize string) string
- func FactoryReset() string
- func GetParameterMultiValues(leaves []string) string
- func GetParameterNames(leaf string, nextlevel int) string
- func GetParameterValues(leaf string) string
- func Inform(serial string) string
- func InformResponse(mustUnderstand string) string
- func ScheduleDownload(filetype, url, username, password, filesize string, windowslist []fmt.Stringer) string
- func SetParameterMultiValues(data map[string]string) string
- func SetParameterValues(leaf string, value string) string
- type CWMPInform
- type CWMPMessage
- type DeviceID
- type EventStruct
- type GetParameterNamesResponse
- type GetParameterNames_
- type GetParameterValuesResponse
- type GetParameterValues_
- type InstallOpStruct
- type ParameterInfoStruct
- type ParameterValueStruct
- type SetParameterValuesResponse
- type SetParameterValues_
- type SoapBody
- type SoapEnvelope
- type SoapHeader
- type TimeWindowStruct
- type UninstallOpStruct
- type UpdateOpStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelTransfer ¶
func CancelTransfer() string
func ChangeDuState ¶
func FactoryReset ¶
func FactoryReset() string
func GetParameterMultiValues ¶
func GetParameterNames ¶
func GetParameterValues ¶
func InformResponse ¶
func ScheduleDownload ¶
func SetParameterMultiValues ¶
func SetParameterValues ¶
Types ¶
type CWMPInform ¶
type CWMPInform struct { DeviceId DeviceID `xml:"Body>Inform>DeviceId"` Events []EventStruct `xml:"Body>Inform>Event>EventStruct"` ParameterList []ParameterValueStruct `xml:"Body>Inform>ParameterList>ParameterValueStruct"` }
func (*CWMPInform) GetConnectionRequest ¶
func (i *CWMPInform) GetConnectionRequest() string
func (*CWMPInform) GetDataModelType ¶
func (i *CWMPInform) GetDataModelType() string
func (*CWMPInform) GetEvents ¶
func (i *CWMPInform) GetEvents() string
func (*CWMPInform) GetHardwareVersion ¶
func (i *CWMPInform) GetHardwareVersion() string
func (*CWMPInform) GetSoftwareVersion ¶
func (i *CWMPInform) GetSoftwareVersion() string
type CWMPMessage ¶
type EventStruct ¶
type GetParameterNamesResponse ¶
type GetParameterNamesResponse struct {
ParameterList []ParameterInfoStruct `xml:"Body>GetParameterNamesResponse>ParameterList>ParameterInfoStruct"`
}
type GetParameterNames_ ¶
type GetParameterValuesResponse ¶
type GetParameterValuesResponse struct {
ParameterList []ParameterValueStruct `xml:"Body>GetParameterValuesResponse>ParameterList>ParameterValueStruct"`
}
type GetParameterValues_ ¶
type GetParameterValues_ struct {
ParameterNames []string `xml:"Body>GetParameterValues>ParameterNames>string"`
}
type InstallOpStruct ¶
type InstallOpStruct struct { Url string Uuid string Username string Password string ExecutionEnvironment string }
func (*InstallOpStruct) String ¶
func (op *InstallOpStruct) String() string
type ParameterInfoStruct ¶
type ParameterValueStruct ¶
type SetParameterValuesResponse ¶
type SetParameterValuesResponse struct {
Status string `xml:"Body>SetParameterValuesResponse>Status"`
}
type SetParameterValues_ ¶
type SetParameterValues_ struct { ParameterList []ParameterValueStruct `xml:"Body>SetParameterValues>ParameterList>ParameterValueStruct"` ParameterKey string `xml:"Body>SetParameterValues>ParameterKey>string"` }
type SoapBody ¶
type SoapBody struct {
CWMPMessage CWMPMessage `xml:",any"`
}
type SoapEnvelope ¶
type SoapEnvelope struct { XMLName xml.Name Header SoapHeader Body SoapBody }
func (*SoapEnvelope) KindOf ¶
func (s *SoapEnvelope) KindOf() string
type SoapHeader ¶
type SoapHeader struct {
Id string `xml:"ID"`
}
type TimeWindowStruct ¶
type TimeWindowStruct struct { WindowStart string WindowEnd string WindowMode string UserMessage string MaxRetries string }
func (*TimeWindowStruct) String ¶
func (window *TimeWindowStruct) String() string
type UninstallOpStruct ¶
func (*UninstallOpStruct) String ¶
func (op *UninstallOpStruct) String() string
Click to show internal directories.
Click to hide internal directories.