auth_db

package
v0.0.0-...-fb597f4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2014 License: GPL-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Auth db is a map with data related to authenticated clients The char and map server uses it to authenticate incoming connection requests with this server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(key int)

Delete from auth_Db

Types

type AuthDB

type AuthDB struct {
	Account_id int
	Login_id1  uint32
	Login_id2  uint32
	Sex        uint8
	Version    uint32
	Clienttype uint8
}

Structure

func Get

func Get(key int) (entry *AuthDB, ok bool)

Get from auth_Db

func (*AuthDB) Register

func (a *AuthDB) Register(key int)

Register structure to auth_db map

Jump to

Keyboard shortcuts

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