Documentation
¶
Index ¶
- Constants
- Variables
- func AccountExists(username string) int
- func Connect() bool
- func GetEmail(username string) (int, string)
- func HumanDateTime(eventTime time.Time, location *time.Location) (string, string)
- func HumanTimeSince(eventTime time.Time, location *time.Location) string
- func RegisterAccount(username string, password string) int
- func VerifyLogin(username string, password string) int
- type Account
- type Conversation
- type Message
Constants ¶
View Source
const ( Yes = 1 No = 2 Error = 3 NotSet = 4 )
Variables ¶
View Source
var DatabaseConnected bool
Functions ¶
func AccountExists ¶
func HumanDateTime ¶
func RegisterAccount ¶
func VerifyLogin ¶
Types ¶
type Conversation ¶
Click to show internal directories.
Click to hide internal directories.