Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLoginFailed = errors.New("Login failed.") ErrNoSuchUser = errors.New("No such user.") )
View Source
var (
ErrMalformedJWT = errors.New("Malformed JWT")
)
Functions ¶
func Login ¶
Login attempts to login to the Mercury Server. If it is successful, it returns the JWT.
func LookupUser ¶
LookupUser checks if a user exists in Mercury's database
func MessageSend ¶
MessageSend sends message to peer using the Mercrury server
Types ¶
Click to show internal directories.
Click to hide internal directories.