Documentation ¶
Index ¶
- Constants
- type Account
- func (this *Account) Delete() error
- func (this *Account) Expire(v uint)
- func (this *Account) GetPswd() string
- func (this *Account) GetUid() uint64
- func (this *Account) HasKey() (int, error)
- func (this *Account) IsLoad() bool
- func (this *Account) Load() error
- func (this *Account) Save() error
- func (this *Account) SetPswd(value string)
- func (this *Account) SetUid(value uint64)
- type SUID
- type Token
- func (this *Token) Delete() error
- func (this *Token) Expire(v uint)
- func (this *Token) GetToken() string
- func (this *Token) GetUid() uint64
- func (this *Token) HasKey() (int, error)
- func (this *Token) IsLoad() bool
- func (this *Token) Load() error
- func (this *Token) Save() error
- func (this *Token) SetToken(value string)
- func (this *Token) SetUid(value uint64)
- type UIDServer
- func (this *UIDServer) Delete() error
- func (this *UIDServer) Expire(v uint)
- func (this *UIDServer) GetGateway() uint32
- func (this *UIDServer) HasKey() (int, error)
- func (this *UIDServer) IsLoad() bool
- func (this *UIDServer) Load() error
- func (this *UIDServer) Save() error
- func (this *UIDServer) SetGateway(value uint32)
Constants ¶
View Source
const (
SUID_TYPE_ACCOUNT = "account"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Key string // contains filtered or unexported fields }
func NewAccount ¶
type UIDServer ¶
type UIDServer struct { Key uint64 // contains filtered or unexported fields }
func NewUIDServer ¶
func (*UIDServer) GetGateway ¶
func (*UIDServer) SetGateway ¶
Click to show internal directories.
Click to hide internal directories.