Documentation ¶
Index ¶
- func MXLogin(username string, token string) (mxclient *mautrix.Client, err error)
- func MXRoom(room string) (mxroom id.RoomID, err error)
- func MXRoomAlias(alias string) (mxalias id.RoomAlias, err error)
- func MXUserID(username string) (mxuser id.UserID, err error)
- func UnEmailHandle(h string) string
- type Entry
- type Passfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnEmailHandle ¶
UnEmailHandle Takes a matrix handle, either in matrix or e-mail notation, and returns the handle in matrix notation
Types ¶
type Passfile ¶
type Passfile struct {
Entries []*Entry
}
Passfile is the in memory data structure representing a MX passfile.
func ParsePassfile ¶
ParsePassfile reads r and parses it into a Passfile.
func ReadPassfile ¶
ReadPassfile reads the file at path and parses it into a Passfile.
func (*Passfile) FindPassword ¶
FindPassword finds the password for the provided synapsehost, localpart, and domain. An empty string will be returned if no match is found.
Click to show internal directories.
Click to hide internal directories.