common

package
v0.2.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2016 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	StatusIdle = iota
	StatusAfk
	StatusPlaying
	StatusEditing
	StatusModding
	StatusMultiplayer
	StatusWatching
	StatusUnknown
	StatusTesting
	StatusSubmitting
	StatusPaused
	StatusLobby
	StatusMultiplaying
	StatusOsuDirect
)

These are the various statuses an user can have.

Variables

This section is empty.

Functions

func CryptPass

func CryptPass(pass string) string

CryptPass encrypts a password.

func IsSamePass

func IsSamePass(passedPass string, hashedPass string) bool

IsSamePass verifies two passwords (an unhashed and an hashed one) to be one and the same.

Types

type Status

type Status struct {
	Status byte
	Text   string
	MapMD5 string
}

Status indicates the action currently being done by the user.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL