Versions in this module Expand all Collapse all v0 v0.1.1 May 13, 2016 v0.1.0 Feb 19, 2016 Changes in this version + const EventBoot + const EventBootStrap + const EventClientChange + const EventConnectionRequest + const EventKicked + const EventPeriodic + const EventScheduled + const EventTransferComplete + const EventValueChange + const FTConfig + const FTFireware + const FTWebContent + const SoapArray + const XsdString + const XsdUnsignedint + type Download struct + CommandKey string + DelaySeconds int + FailureURL string + FileSize int + FileType string + ID string + Name string + NoMore int + Password string + SuccessURL string + TargetFileName string + URL string + Username string + func (msg *Download) CreateXML() []byte + func (msg *Download) GetID() string + func (msg *Download) GetName() string + func (msg *Download) Parse(doc *xmlx.Document) + type DownloadResponse struct + CompleteTime string + ID string + Name string + StartTime string + Status int + func (msg *DownloadResponse) CreateXML() []byte + func (msg *DownloadResponse) GetID() string + func (msg *DownloadResponse) GetName() string + func (msg *DownloadResponse) Parse(doc *xmlx.Document) + type Envelope struct + Body interface{} + Header interface{} + XMLName xml.Name + XmlnsCwmp string + XmlnsEnc string + XmlnsEnv string + XmlnsXsd string + XmlnsXsi string + type EventNodeStruct struct + CommandKey string + EventCode NodeStruct + type EventStruct struct + Events []EventNodeStruct + Type string + type FaultStruct struct + FaultCode int + FaultString string + type GetParameterValues struct + ID string + Name string + NoMore int + ParameterNames []string + func (msg *GetParameterValues) CreateXML() []byte + func (msg *GetParameterValues) GetID() string + func (msg *GetParameterValues) GetName() string + func (msg *GetParameterValues) Parse(doc *xmlx.Document) + type GetParameterValuesResponse struct + ID string + Name string + Values map[string]string + func NewGetParameterValuesResponse() (m *GetParameterValuesResponse) + func (msg *GetParameterValuesResponse) CreateXML() []byte + func (msg *GetParameterValuesResponse) GetID() string + func (msg *GetParameterValuesResponse) GetName() string + func (msg *GetParameterValuesResponse) Parse(doc *xmlx.Document) + type GetRPCMethods struct + ID string + Name string + NoMore int + func (msg *GetRPCMethods) CreateXML() []byte + func (msg *GetRPCMethods) GetID() string + func (msg *GetRPCMethods) GetName() string + func (msg *GetRPCMethods) Parse(doc *xmlx.Document) + type GetRPCMethodsResponse struct + ID string + Methods []string + Name string + func (msg *GetRPCMethodsResponse) CreateXML() []byte + func (msg *GetRPCMethodsResponse) GetID() string + func (msg *GetRPCMethodsResponse) GetName() string + func (msg *GetRPCMethodsResponse) Parse(doc *xmlx.Document) + type HeaderStruct struct + ID IDStruct + NoMore interface{} + type IDStruct struct + Attr string + Value string + type Inform struct + CurrentTime string + Events map[string]string + ID string + Manufacturer string + MaxEnvelopes int + Name string + OUI string + Params map[string]string + ProductClass string + RetryCount int + Sn string + func NewInform() *Inform + func (msg *Inform) CreateXML() []byte + func (msg *Inform) GetConfigVersion() (version string) + func (msg *Inform) GetID() string + func (msg *Inform) GetName() string + func (msg *Inform) GetParam(name string) (value string) + func (msg *Inform) IsEvent(event string) bool + func (msg *Inform) Parse(doc *xmlx.Document) + type InformResponse struct + ID string + MaxEnvelopes int + Name string + NoMore int + func (msg *InformResponse) CreateXML() []byte + func (msg *InformResponse) GetID() string + func (msg *InformResponse) GetName() string + func (msg *InformResponse) Parse(doc *xmlx.Document) + type Message interface + CreateXML func() []byte + GetID func() string + GetName func() string + Parse func(doc *xmlx.Document) + func ParseXML(data []byte) (msg Message, err error) + type NodeStruct struct + Type interface{} + Value string + type OnlineInform struct + Hosts []host + Sn string + func (msg *OnlineInform) CreateXML() (xml []byte) + func (msg *OnlineInform) GetID() string + func (msg *OnlineInform) GetName() string + func (msg *OnlineInform) Parse(doc *xmlx.Document) + type ParameterListStruct struct + Params []ParameterValueStruct + Type string + type ParameterValueStruct struct + Name NodeStruct + Value NodeStruct + type Reboot struct + CommandKey string + ID string + Name string + NoMore int + func (msg *Reboot) CreateXML() []byte + func (msg *Reboot) GetID() string + func (msg *Reboot) GetName() string + func (msg *Reboot) Parse(doc *xmlx.Document) + type RebootResponse struct + ID string + Name string + func (msg *RebootResponse) CreateXML() []byte + func (msg *RebootResponse) GetID() string + func (msg *RebootResponse) GetName() string + func (msg *RebootResponse) Parse(doc *xmlx.Document) + type SetParameterValues struct + ID string + Name string + NoMore int + ParameterKey string + Params map[string]ValueStruct + func (msg *SetParameterValues) CreateXML() []byte + func (msg *SetParameterValues) GetID() string + func (msg *SetParameterValues) GetName() string + func (msg *SetParameterValues) Parse(doc *xmlx.Document) + type SetParameterValuesResponse struct + ID string + Name string + ParameterKey string + Status int + func (msg *SetParameterValuesResponse) CreateXML() []byte + func (msg *SetParameterValuesResponse) GetID() string + func (msg *SetParameterValuesResponse) GetName() string + func (msg *SetParameterValuesResponse) Parse(doc *xmlx.Document) + type TransferComplete struct + CommandKey string + CompleteTime string + FaultCode int + FaultString string + ID string + Name string + StartTime string + func (msg *TransferComplete) CreateXML() []byte + func (msg *TransferComplete) GetID() string + func (msg *TransferComplete) GetName() string + func (msg *TransferComplete) Parse(doc *xmlx.Document) + type TransferCompleteResponse struct + ID string + Name string + NoMore int + func (msg *TransferCompleteResponse) CreateXML() []byte + func (msg *TransferCompleteResponse) GetID() string + func (msg *TransferCompleteResponse) GetName() string + func (msg *TransferCompleteResponse) Parse(doc *xmlx.Document) + type ValueChange struct + Names []string + Sn string + func (msg *ValueChange) CreateXML() (xml []byte) + func (msg *ValueChange) GetID() string + func (msg *ValueChange) GetName() string + func (msg *ValueChange) Parse(doc *xmlx.Document) + type ValueStruct struct + Type string + Value string