utils

package
v0.0.0-...-f093712 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel = map[string]int{
	"VERBOSE": 0,
	"DEBUG":   1,
	"INFO":    2,
	"ERROR":   3,
	"NONE":    4,
}

LogLevel ...

View Source
var TLog *tLog

TLog ...

Functions

func MatchesQuery

func MatchesQuery(object, query t.M) bool

MatchesQuery 检测对象是否符合订阅条件

func QueryHash

func QueryHash(query t.M) string

QueryHash 计算 query 的 hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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