Versions in this module Expand all Collapse all v0 v0.3.2 Sep 3, 2018 Changes in this version + const MatchesBare + const MatchesDomain + const MatchesNode + const MatchesResource + type JID struct + func New(node, domain, resource string, skipStringPrep bool) (*JID, error) + func NewWithString(str string, skipStringPrep bool) (*JID, error) + func (j *JID) Domain() string + func (j *JID) IsBare() bool + func (j *JID) IsFull() bool + func (j *JID) IsFullWithServer() bool + func (j *JID) IsFullWithUser() bool + func (j *JID) IsServer() bool + func (j *JID) Matches(j2 *JID, options MatchingOptions) bool + func (j *JID) Node() string + func (j *JID) Resource() string + func (j *JID) String() string + func (j *JID) ToBareJID() *JID + type MatchingOptions int8