Documentation
¶
Index ¶
- Variables
- func AesDecode(bs []byte) ([]byte, error)
- func AesEncode(bs []byte) ([]byte, error)
- func ArraySub[K int | int8 | int32 | int64 | string](a1, a2 []K) (_r []K)
- func ArraySub2[K int | int8 | int32 | int64 | string](a []K, k K) (_r []K)
- func ChatIdByNode(fromNode, toNode string, domain *string) uint64
- func ChatIdByRoom(node string, domain *string) uint64
- func CheckNode(node string) bool
- func CheckUUID(uuid uint64) bool
- func ContainInt[T int64 | uint64 | int | uint | uint32 | int32](li []T, v T) (b bool)
- func ContainStrings(li []string, v string) (b bool)
- func CreateUUID(node string, domain *string) uint64
- func CreateUUIDByTid(tid *Tid) uint64
- func HttpPost(bs []byte, close bool, httpurl string) (_r []byte, err error)
- func JTP(b byte) bool
- func Mask(bs []byte) (_r []byte)
- func MaskId(id int64) (_r int64)
- func MaskStr(s string) (_r string)
- func MaskTid(tid *Tid)
- func MaskWithSeed(bs []byte, seed []byte) (_r []byte)
- func NameToNode(name string, domain *string) string
- func NewTimUUID() uint64
- func NodeToUUID(node string) (_r uint64)
- func ParseAddr(addr string) (_r string, err error)
- func Recover()
- func RelateIdForGroup(groupNode, userNode string, domain *string) uint64
- func UUIDToNode(uuid uint64) string
- func UnikId(f, t uint64) uint64
Constants ¶
This section is empty.
Variables ¶
View Source
var GoPool = gopool.NewPool(100, 100<<3)
Functions ¶
func ChatIdByNode ¶
func ChatIdByRoom ¶
func ContainInt ¶
func ContainStrings ¶
func CreateUUID ¶
func CreateUUIDByTid ¶
func CreateUUIDByTid(tid *Tid) uint64
func MaskWithSeed ¶
func NameToNode ¶
func NewTimUUID ¶
func NewTimUUID() uint64
func NodeToUUID ¶
func RelateIdForGroup ¶
func UUIDToNode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.