Versions in this module Expand all Collapse all v0 v0.5.3 Sep 24, 2021 v0.5.2 Sep 24, 2021 Changes in this version + const AffiliationStatusMember + const AffiliationStatusNone + const AffiliationStatusOutcast + const AffiliationStatusOwner + const AffiliationStatusPublishOnly + const AffiliationStatusPublisher + const Assoc + const CommandActionCancel + const CommandActionComplete + const CommandActionExecute + const CommandActionNext + const CommandActionPrevious + const CommandNoteTypeErr + const CommandNoteTypeInfo + const CommandNoteTypeWarn + const CommandStatusCancelled + const CommandStatusCompleted + const CommandStatusExecuting + const Disassoc + const FieldTypeBool + const FieldTypeFixed + const FieldTypeHidden + const FieldTypeJidMulti + const FieldTypeJidSingle + const FieldTypeListMulti + const FieldTypeListSingle + const FieldTypeTextMulti + const FieldTypeTextPrivate + const FieldTypeTextSingle + const FormTypeCancel + const FormTypeForm + const FormTypeResult + const FormTypeSubmit + const NSBind + const NSClient + const NSComponent + const NSDiscoInfo + const NSDiscoItems + const NSFraming + const NSMsgChatMarkers + const NSMsgChatStateNotifications + const NSMsgReceipts + const NSQuerySet + const NSRoster + const NSSASL + const NSSession + const NSStream + const NSStreamManagement + const PubSubCollectionEventName + const PubSubConfigEventName + const PubSubDeleteEventName + const PubSubItemsEventName + const PubSubPurgeEventName + const PubSubSubscriptionEventName + const StreamClose + const SubscriptionBoth + const SubscriptionFrom + const SubscriptionNone + const SubscriptionStatusNone + const SubscriptionStatusPending + const SubscriptionStatusSubscribed + const SubscriptionStatusUnconfigured + const SubscriptionTo + var InvalidDateInput = errors.New("could not parse date. Input might not be in a supported format") + var InvalidDateOutput = errors.New("could not format date as desired") + var IqErrNoErrPl = errors.New("iq is of type error but has no error payload") + var IqIDUnset = errors.New("iq stanza ID is not set but is mandatory") + var IqResNoPl = errors.New("iq is of type result but has no payload") + var IqSGetNoPl = errors.New("iq is of type get or set but has no payload") + var IqTypeUnset = errors.New("iq type is not set but is mandatory") + var TypeRegistry = newRegistry() + func InitStream(p *xml.Decoder) (sessionID string, err error) + func NextStart(p *xml.Decoder) (xml.StartElement, error) + func NextXmppToken(p *xml.Decoder) (xml.Token, error) + type Actions struct + Complete *struct{} + Execute string + Next *struct{} + Prev *struct{} + func (a *Actions) Ref() string + type Affiliation struct + AffiliationStatus string + Node string + type AffiliationOwner struct + AffiliationStatus string + Jid string + XMLName xml.Name + type Affiliations struct + List []Affiliation + Node string + type AffiliationsOwner struct + Affiliations []AffiliationOwner + Node string + XMLName xml.Name + func (AffiliationsOwner) UseCase() string + type AssocDisassoc interface + GetAssocDisassoc func() string + type AssociateEvent struct + Node string + XMLName xml.Name + func (a *AssociateEvent) GetAssocDisassoc() string + type Attr struct + K string + V string + type Attrs struct + From string + Id string + Lang string + To string + Type StanzaType + type BadFormat struct + XMLName xml.Name + func (e *BadFormat) GroupErrorName() string + type BadNamespacePrefix struct + XMLName xml.Name + func (e *BadNamespacePrefix) GroupErrorName() string + type Bind struct + Jid string + Resource string + ResultSet *ResultSet + XMLName xml.Name + func (b *Bind) GetSet() *ResultSet + func (b *Bind) Namespace() string + type Caps struct + Ext string + Hash string + Node string + Ver string + XMLName xml.Name + type CollectionEvent struct + AssocDisassoc AssocDisassoc + Node string + func (c CollectionEvent) Name() string + type Command struct + Action string + BadAction *struct{} + BadLocale *struct{} + BadPayload *struct{} + BadSessionId *struct{} + CommandElement CommandElement + Lang string + MalformedAction *struct{} + Node string + ResultSet *ResultSet + SessionExpired *struct{} + SessionId string + Status string + XMLName xml.Name + func (c *Command) GetSet() *ResultSet + func (c *Command) Namespace() string + func (c *Command) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type CommandElement interface + Ref func() string + type ConfigurationEvent struct + Form *Form + Node string + func (c ConfigurationEvent) Name() string + type Configure struct + Form *Form + type ConfigureOwner struct + Form *Form + Node string + XMLName xml.Name + func (*ConfigureOwner) UseCase() string + type Conflict struct + XMLName xml.Name + func (e *Conflict) GroupErrorName() string + type ConnectionTimeout struct + XMLName xml.Name + func (e *ConnectionTimeout) GroupErrorName() string + type ControlField struct + Name string + Value string + XMLName xml.Name + type ControlGetForm struct + XMLName xml.Name + type ControlSet struct + Fields []ControlField + ResultSet *ResultSet + XMLName xml.Name + func (c *ControlSet) GetSet() *ResultSet + func (c *ControlSet) Namespace() string + type ControlSetResponse struct + XMLName xml.Name + func (c *ControlSetResponse) GetSet() *ResultSet + func (c *ControlSetResponse) Namespace() string + type Create struct + Node string + type Default struct + Form *Form + Node string + Type string + type DefaultOwner struct + Form *Form + XMLName xml.Name + func (*DefaultOwner) UseCase() string + type Delegated struct + Namespace string + XMLName xml.Name + type Delegation struct + Delegated *Delegated + Forwarded *Forwarded + ResultSet *ResultSet + XMLName xml.Name + func (d *Delegation) GetSet() *ResultSet + func (d *Delegation) Namespace() string + type DeleteEvent struct + Node string + Redirect *RedirectEvent + func (c DeleteEvent) Name() string + type DeleteOwner struct + Node string + RedirectOwner *RedirectOwner + XMLName xml.Name + func (*DeleteOwner) UseCase() string + type DisassociateEvent struct + Node string + XMLName xml.Name + func (e *DisassociateEvent) GetAssocDisassoc() string + type DiscoInfo struct + Features []Feature + Identity []Identity + Node string + ResultSet *ResultSet + XMLName xml.Name + func (d *DiscoInfo) AddFeatures(namespace ...string) + func (d *DiscoInfo) AddIdentity(name, category, typ string) + func (d *DiscoInfo) GetSet() *ResultSet + func (d *DiscoInfo) Namespace() string + func (d *DiscoInfo) SetFeatures(namespace ...string) *DiscoInfo + func (d *DiscoInfo) SetIdentities(ident ...Identity) *DiscoInfo + func (d *DiscoInfo) SetNode(node string) *DiscoInfo + type DiscoItem struct + JID string + Name string + Node string + XMLName xml.Name + type DiscoItems struct + Items []DiscoItem + Node string + ResultSet *ResultSet + XMLName xml.Name + func (d *DiscoItems) AddItem(jid, node, name string) *DiscoItems + func (d *DiscoItems) GetSet() *ResultSet + func (d *DiscoItems) Namespace() string + func (d *DiscoItems) SetNode(node string) *DiscoItems + type Err struct + Code int + Reason string + Text string + Type ErrorType + XMLName xml.Name + func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (x Err) MarshalXML(e *xml.Encoder, start xml.StartElement) (err error) + type ErrorType string + const ErrorTypeAuth + const ErrorTypeCancel + const ErrorTypeContinue + const ErrorTypeModify + const ErrorTypeWait + type EventElement interface + Name func() string + type Feature struct + Var string + XMLName xml.Name + type Field struct + Description string + Label string + Options []Option + Required *string + Type string + ValuesList []string + Var string + XMLName xml.Name + type FieldType string + type FifoQueue interface + Empty func() bool + Peek func() Queueable + PeekN func() []Queueable + Pop func() Queueable + PopN func(i int) []Queueable + Push func(s Queueable) error + type First struct + Content string + Index *int + XMLName xml.Name + type Form struct + Fields []*Field + Instructions []string + Items []FormItem + Reported *FormItem + Title string + Type string + XMLName xml.Name + func NewForm(fields []*Field, formType string) *Form + func (f *Form) Ref() string + type FormItem struct + Fields []Field + XMLName xml.Name + type FormType string + type Forwarded struct + Stanza Packet + XMLName xml.Name + func (f *Forwarded) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type HTML struct + Body HTMLBody + Lang string + XMLName xml.Name + type HTMLBody struct + InnerXML string + XMLName xml.Name + type Handshake struct + Value string + XMLName xml.Name + func (Handshake) Name() string + type HintNoCopy struct + XMLName xml.Name + type HintNoPermanentStore struct + XMLName xml.Name + type HintNoStore struct + XMLName xml.Name + type HintStore struct + XMLName xml.Name + type History struct + MaxChars NullableInt + MaxStanzas NullableInt + Seconds NullableInt + Since time.Time + XMLName xml.Name + func (h *History) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (h History) MarshalXML(e *xml.Encoder, start xml.StartElement) (err error) + type HostGone struct + XMLName xml.Name + func (e *HostGone) GroupErrorName() string + type HostUnknown struct + XMLName xml.Name + func (e *HostUnknown) GroupErrorName() string + type IQ struct + Any *Node + Error *Err + Payload IQPayload + XMLName xml.Name + func NewAffiliationListRequest(serviceId, nodeID string) (*IQ, error) + func NewApprovePendingSubRequest(serviceId, sessionId, nodeId string) (*IQ, error) + func NewConfigureNode(serviceId, nodeName string) (*IQ, error) + func NewCreateAndConfigNode(serviceId, nodeID string, confForm *Form) (*IQ, error) + func NewCreateNode(serviceId, nodeName string) (*IQ, error) + func NewDelItemFromNode(serviceId, nodeID, itemId string, notify *bool) (*IQ, error) + func NewDelNode(serviceId, nodeID string) (*IQ, error) + func NewFormSubmission(serviceId string, subInfo SubInfo, form *Form) (*IQ, error) + func NewFormSubmissionOwner(serviceId, nodeName string, fields []*Field) (*IQ, error) + func NewGetPendingSubRequests(serviceId string) (*IQ, error) + func NewIQ(a Attrs) (*IQ, error) + func NewItemsRequest(serviceId string, node string, maxItems int) (*IQ, error) + func NewModifAffiliationRequest(serviceId, nodeID string, newAffils []AffiliationOwner) (*IQ, error) + func NewPublishItemOptsRq(serviceId, nodeID string, items []Item, options *PublishOptions) (*IQ, error) + func NewPublishItemRq(serviceId, nodeID, pubItemID string, item Item) (*IQ, error) + func NewPurgeAllItems(serviceId, nodeId string) (*IQ, error) + func NewRequestDefaultConfig(serviceId string) (*IQ, error) + func NewRetrieveAllAffilsRequest(serviceId string) (*IQ, error) + func NewRetrieveAllSubsRequest(serviceId string) (*IQ, error) + func NewSpecificItemRequest(serviceId, node, itemId string) (*IQ, error) + func NewSubAndConfig(serviceId string, subInfo SubInfo, form *Form) (*IQ, error) + func NewSubListRqPl(serviceId, nodeID string) (*IQ, error) + func NewSubOptsRq(serviceId string, subInfo SubInfo) (*IQ, error) + func NewSubRq(serviceId string, subInfo SubInfo) (*IQ, error) + func NewSubsForEntitiesRequest(serviceId, nodeID string, subs []SubscriptionOwner) (*IQ, error) + func NewUnsubRq(serviceId string, subInfo SubInfo) (*IQ, error) + func (*IQ) Name() string + func (*IQ) NoOp() + func (iq *IQ) DiscoInfo() *DiscoInfo + func (iq *IQ) DiscoItems() *DiscoItems + func (iq *IQ) GetFormFields() (map[string]*Field, error) + func (iq *IQ) IsValid() (bool, error) + func (iq *IQ) MakeError(xerror Err) *IQ + func (iq *IQ) RosterIQ() *Roster + func (iq *IQ) RosterItems() *RosterItems + func (iq *IQ) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (iq *IQ) Version() *Version + type IQPayload interface + GetSet func() *ResultSet + Namespace func() string + type Identity struct + Category string + Name string + Type string + XMLName xml.Name + type ImproperAddressing struct + XMLName xml.Name + func (e *ImproperAddressing) GroupErrorName() string + type InternalServerError struct + XMLName xml.Name + func (e *InternalServerError) GroupErrorName() string + type InvalidForm struct + XMLName xml.Name + func (e *InvalidForm) GroupErrorName() string + type InvalidId struct + XMLName xml.Name + func (e *InvalidId) GroupErrorName() string + type InvalidNamespace struct + XMLName xml.Name + func (e *InvalidNamespace) GroupErrorName() string + type InvalidXML struct + XMLName xml.Name + func (e *InvalidXML) GroupErrorName() string + type Item struct + Any *Node + Id string + Publisher string + XMLName xml.Name + type ItemEvent struct + Any *Node + Id string + Publisher string + XMLName xml.Name + type Items struct + List []Item + MaxItems int + Node string + SubId string + type ItemsEvent struct + Items []ItemEvent + Node string + Retract *RetractEvent + XMLName xml.Name + func (i ItemsEvent) Name() string + type JabberDate struct + func NewJabberDateFromString(strDate string) (JabberDate, error) + func (d JabberDate) DateTimeToString(nanos bool) string + func (d JabberDate) DateToString() string + func (d JabberDate) TimeToString(nanos bool) (string, error) + type Jid struct + Domain string + Node string + Resource string + func NewJid(sjid string) (*Jid, error) + func (j *Jid) Bare() string + func (j *Jid) Full() string + type MarkAcknowledged struct + ID string + XMLName xml.Name + type MarkDisplayed struct + ID string + XMLName xml.Name + type MarkReceived struct + ID string + XMLName xml.Name + type Markable struct + XMLName xml.Name + type Message struct + Body string + Error Err + Extensions []MsgExtension + Subject string + Thread string + XMLName xml.Name + func NewApproveSubRequest(serviceId, reqID string, apprForm *Form) (Message, error) + func NewMessage(a Attrs) Message + func (Message) Name() string + func (msg *Message) Get(ext MsgExtension) bool + func (msg *Message) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (msg *Message) XMPPFormat() string + type Mood struct + Text string + XMLName xml.Name + type MsgExtension interface + type MucPresence struct + History History + Password string + XMLName xml.Name + type Node struct + Attrs []xml.Attr + Content string + Nodes []Node + XMLName xml.Name + func (n *Node) Namespace() string + func (n *Node) Ref() string + func (n *Node) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (n Node) MarshalXML(e *xml.Encoder, start xml.StartElement) (err error) + type NotAuthorized struct + XMLName xml.Name + func (e *NotAuthorized) GroupErrorName() string + type NotWellFormed struct + XMLName xml.Name + func (e *NotWellFormed) GroupErrorName() string + type Note struct + Text string + Type string + func (n *Note) Ref() string + type NullableInt struct + Value int + func NewNullableInt(val int) NullableInt + func (n NullableInt) Get() (v int, ok bool) + type OOB struct + Desc string + URL string + XMLName xml.Name + type Option struct + Label string + ValuesList []string + XMLName xml.Name + type OwnerUseCase interface + UseCase func() string + type Packet interface + Name func() string + func NextPacket(p *xml.Decoder) (Packet, error) + type PacketType uint8 + const PKTIQ + const PKTMessage + const PKTPresence + type PolicyViolation struct + XMLName xml.Name + func (e *PolicyViolation) GroupErrorName() string + type PresExtension interface + type Presence struct + Error Err + Extensions []PresExtension + Priority int8 + Show PresenceShow + Status string + XMLName xml.Name + func NewPresence(a Attrs) Presence + func (Presence) Name() string + func (pres *Presence) Get(ext PresExtension) bool + func (pres *Presence) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type PresenceShow string + const PresenceShowAway + const PresenceShowChat + const PresenceShowDND + const PresenceShowXA + type PubSubEvent struct + EventElement EventElement + XMLName xml.Name + func (pse *PubSubEvent) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type PubSubGeneric struct + Affiliations *Affiliations + Configure *Configure + Create *Create + Default *Default + Items *Items + Publish *Publish + PublishOptions *PublishOptions + ResultSet *ResultSet + Retract *Retract + SubOptions *SubOptions + Subscribe *SubInfo + Subscription *Subscription + Subscriptions *Subscriptions + Unsubscribe *SubInfo + XMLName xml.Name + func (p *PubSubGeneric) GetSet() *ResultSet + func (p *PubSubGeneric) Namespace() string + type PubSubOption struct + XMLName xml.Name + type PubSubOwner struct + OwnerUseCase OwnerUseCase + ResultSet *ResultSet + XMLName xml.Name + func (pso *PubSubOwner) GetSet() *ResultSet + func (pso *PubSubOwner) Namespace() string + func (pso *PubSubOwner) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Publish struct + Items []Item + Node string + XMLName xml.Name + type PublishOptions struct + Form *Form + XMLName xml.Name + type PurgeEvent struct + Node string + XMLName xml.Name + func (p PurgeEvent) Name() string + type PurgeOwner struct + Node string + XMLName xml.Name + func (*PurgeOwner) UseCase() string + type Queueable interface + QueueableName func() string + type ReceiptReceived struct + ID string + XMLName xml.Name + type ReceiptRequest struct + XMLName xml.Name + type RedirectEvent struct + URI string + type RedirectOwner struct + URI string + XMLName xml.Name + type RemoteConnectionFailed struct + XMLName xml.Name + func (e *RemoteConnectionFailed) GroupErrorName() string + type Reset struct + XMLName xml.Name + func (e *Reset) GroupErrorName() string + type ResourceConstraint struct + XMLName xml.Name + func (e *ResourceConstraint) GroupErrorName() string + type RestrictedXML struct + XMLName xml.Name + func (e *RestrictedXML) GroupErrorName() string + type ResultSet struct + After *string + Before *string + Count *int + First *First + Index *int + Last *string + Max *int + XMLName xml.Name + type Retract struct + Items []Item + Node string + Notify *bool + XMLName xml.Name + type RetractEvent struct + ID string + XMLName xml.Name + type Roster struct + ResultSet *ResultSet + XMLName xml.Name + func (r *Roster) GetSet() *ResultSet + func (r *Roster) Namespace() string + type RosterItem struct + Ask string + Groups []string + Jid string + Name string + Subscription string + XMLName xml.Name + type RosterItems struct + Items []RosterItem + ResultSet *ResultSet + XMLName xml.Name + func (r *RosterItems) AddItem(jid, subscription, ask, name string, groups []string) *RosterItems + func (r *RosterItems) GetSet() *ResultSet + func (r *RosterItems) Namespace() string + type SASLAuth struct + Mechanism string + Value string + XMLName xml.Name + type SASLFailure struct + Any xml.Name + XMLName xml.Name + func (SASLFailure) Name() string + type SASLSuccess struct + XMLName xml.Name + func (SASLSuccess) Name() string + type SMAnswer struct + H uint + XMLName xml.Name + func (SMAnswer) Name() string + type SMEnable struct + Max *uint + Resume *bool + XMLName xml.Name + type SMEnabled struct + Id string + Location string + Max uint + Resume string + XMLName xml.Name + func (SMEnabled) Name() string + type SMFailed struct + H *uint + StreamErrorGroup StanzaErrorGroup + XMLName xml.Name + func (SMFailed) Name() string + func (smf *SMFailed) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type SMRequest struct + XMLName xml.Name + func (SMRequest) Name() string + type SMResume struct + H *uint + PrevId string + XMLName xml.Name + func (SMResume) Name() string + type SMResumed struct + H *uint + PrevId string + XMLName xml.Name + func (SMResumed) Name() string + type SeeOtherHost struct + XMLName xml.Name + func (e *SeeOtherHost) GroupErrorName() string + type StanzaErrorGroup interface + GroupErrorName func() string + type StanzaType string + const IQTypeError + const IQTypeGet + const IQTypeResult + const IQTypeSet + const MessageTypeChat + const MessageTypeError + const MessageTypeGroupchat + const MessageTypeHeadline + const MessageTypeNormal + const PresenceTypeError + const PresenceTypeProbe + const PresenceTypeSubscribe + const PresenceTypeSubscribed + const PresenceTypeUnavailable + const PresenceTypeUnsubscribe + const PresenceTypeUnsubscribed + func (s StanzaType) IsEmpty() bool + type StateActive struct + XMLName xml.Name + type StateComposing struct + XMLName xml.Name + type StateGone struct + XMLName xml.Name + type StateInactive struct + XMLName xml.Name + type StatePaused struct + XMLName xml.Name + type Stream struct + From string + Id string + To string + Version string + XMLName xml.Name + type StreamClosePacket struct + func (StreamClosePacket) Name() string + type StreamError struct + Error xml.Name + Text string + XMLName xml.Name + func (StreamError) Name() string + type StreamFeatures struct + Any []xml.Name + Bind Bind + Caps Caps + Mechanisms saslMechanisms + P1Push p1Push + P1Rebind p1Rebind + Session StreamSession + StartTLS TlsStartTLS + StreamManagement streamManagement + XMLName xml.Name + func (StreamFeatures) Name() string + func (sf *StreamFeatures) DoesStartTLS() (feature TlsStartTLS, isSupported bool) + func (sf *StreamFeatures) DoesStreamManagement() (isSupported bool) + type StreamSession struct + Optional *struct{} + ResultSet *ResultSet + XMLName xml.Name + func (s *StreamSession) GetSet() *ResultSet + func (s *StreamSession) IsOptional() bool + func (s *StreamSession) Namespace() string + type SubInfo struct + Jid string + Node string + SubId *string + type SubOptions struct + Form *Form + type Subscribe struct + XMLName xml.Name + type Subscription struct + Required *struct{} + SubStatus string + type SubscriptionEvent struct + Expiry string + SubStatus string + func (s SubscriptionEvent) Name() string + type SubscriptionOwner struct + Jid string + SubscriptionStatus string + type Subscriptions struct + List []Subscription + XMLName xml.Name + type SubscriptionsOwner struct + Node string + Subscriptions []SubscriptionOwner + XMLName xml.Name + func (*SubscriptionsOwner) UseCase() string + type SystemShutdown struct + XMLName xml.Name + func (e *SystemShutdown) GroupErrorName() string + type TLSProceed struct + XMLName xml.Name + type TlsStartTLS struct + Required bool + XMLName xml.Name + func (stls *TlsStartTLS) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Tune struct + Artist string + Length int + Rating int + Source string + Title string + Track string + Uri string + XMLName xml.Name + type UnAckQueue struct + Uslice []*UnAckedStz + func NewUnAckQueue() *UnAckQueue + func (uaq *UnAckQueue) Empty() bool + func (uaq *UnAckQueue) Peek() Queueable + func (uaq *UnAckQueue) PeekN(n int) []Queueable + func (uaq *UnAckQueue) Pop() Queueable + func (uaq *UnAckQueue) PopN(n int) []Queueable + func (uaq *UnAckQueue) Push(s Queueable) error + type UnAckedStz struct + Id int + Stz string + func (u *UnAckedStz) QueueableName() string + type UndefinedCondition struct + XMLName xml.Name + func (e *UndefinedCondition) GroupErrorName() string + type UnexpectedRequest struct + XMLName xml.Name + func (e *UnexpectedRequest) GroupErrorName() string + type Unsubscribe struct + XMLName xml.Name + type UnsupportedEncoding struct + XMLName xml.Name + func (e *UnsupportedEncoding) GroupErrorName() string + type UnsupportedStanzaType struct + XMLName xml.Name + func (e *UnsupportedStanzaType) GroupErrorName() string + type UnsupportedVersion struct + XMLName xml.Name + func (e *UnsupportedVersion) GroupErrorName() string + type Version struct + Name string + OS string + ResultSet *ResultSet + Version string + XMLName xml.Name + func (v *Version) GetSet() *ResultSet + func (v *Version) Namespace() string + func (v *Version) SetInfo(name, version, os string) *Version + type WebsocketOpen struct + From string + Id string + Version string + XMLName xml.Name + type XMLNotWellFormed struct + XMLName xml.Name + func (e *XMLNotWellFormed) GroupErrorName() string