Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthKeyHash ¶
func GenerateMessageId ¶
func GenerateMessageId() int64
GenerateMessageId отдает по сути unix timestamp но ужасно специфическим образом TODO: нахуя нужно битовое и на -4??
func GenerateSessionID ¶
func GenerateSessionID() int64
Types ¶
type SyncIntObjectChan ¶
type SyncIntObjectChan struct {
// contains filtered or unexported fields
}
func NewSyncIntObjectChan ¶
func NewSyncIntObjectChan() *SyncIntObjectChan
func (*SyncIntObjectChan) Delete ¶
func (s *SyncIntObjectChan) Delete(key int) bool
func (*SyncIntObjectChan) Has ¶
func (s *SyncIntObjectChan) Has(key int) bool
func (*SyncIntObjectChan) Keys ¶
func (s *SyncIntObjectChan) Keys() []int
type SyncIntReflectTypes ¶
type SyncIntReflectTypes struct {
// contains filtered or unexported fields
}
func NewSyncIntReflectTypes ¶
func NewSyncIntReflectTypes() *SyncIntReflectTypes
func (*SyncIntReflectTypes) Delete ¶
func (s *SyncIntReflectTypes) Delete(key int) bool
func (*SyncIntReflectTypes) Has ¶
func (s *SyncIntReflectTypes) Has(key int) bool
func (*SyncIntReflectTypes) Keys ¶
func (s *SyncIntReflectTypes) Keys() []int
type SyncSetInt ¶
type SyncSetInt struct {
// contains filtered or unexported fields
}
func NewSyncSetInt ¶
func NewSyncSetInt() *SyncSetInt
func (*SyncSetInt) Add ¶
func (s *SyncSetInt) Add(key int) bool
func (*SyncSetInt) Delete ¶
func (s *SyncSetInt) Delete(key int) bool
func (*SyncSetInt) Has ¶
func (s *SyncSetInt) Has(key int) bool
func (*SyncSetInt) Reset ¶
func (s *SyncSetInt) Reset()
Click to show internal directories.
Click to hide internal directories.