Versions in this module Expand all Collapse all v0 v0.0.1 Oct 16, 2025 Changes in this version + func HashPassword(password string) string + func HashPasswordLegacy(password string) string + func New(db *sql.DB) (*client, error) + func VerifyPassword(plaintext, hashed string) bool + func VerifyPasswordLegacy(plaintext, hashed string) bool + type Account struct + BanReason sql.NullString + CharName sql.NullString + ID int32 + LSAccountID int32 + Name string + Revoked bool + RevokedUntil sql.NullTime + Status int32 + SuspendReason sql.NullString + SuspendedUntil sql.NullTime + type Character struct + Class int32 + ID int32 + Level int32 + Name string + Race int32 + Stats Stats + Surname string + ZoneID int32 + type Inventory []InventoryItem + func (i *Inventory) Scan(value interface{}) error + func (i Inventory) Value() (driver.Value, error) + type InventoryItem struct + Charges int32 + ItemID int32 + Location string + SlotID int32 + func (ii *InventoryItem) Scan(value interface{}) error + func (ii InventoryItem) Value() (driver.Value, error) + type ItemName struct + ID int32 + Name string + type LSAccount struct + ID int32 + LastLoginDate time.Time + Name string + Password string + type ListCharactersRequest struct + AccountID int32 + type Stats struct + Agi int32 + Cha int32 + Dex int32 + HP int32 + Int int32 + Mana int32 + Sta int32 + Str int32 + Wis int32 + func (s *Stats) Scan(value interface{}) error + func (s Stats) Value() (driver.Value, error)