MCPcopy Create free account

hub / github.com/farseer-go/fs / functions

Functions589 in github.com/farseer-go/fs

↓ 3 callersMethodgetOrCreateIns
根据lifecycle获取实例
container/container.go:155
↓ 3 callersFunctionloadLevelFormat
使用具体配置还是默认配置
flog/init.go:56
↓ 3 callersMethodpopTimer
将到达时间的任务推送给C
timingWheel/timingWheel.go:250
↓ 3 callersFunctiontoSonyflakeTime
nsec, i.e. 10 msec
sonyflake/sonyflake.go:149
↓ 3 callersFunctiontypeOf
(reflectType reflect.Type, inf *EmptyInterface)
fastReflect/typeMeta.go:41
↓ 2 callersMethodAddDays
AddDays 添加天数
dateTime/dt.go:160
↓ 2 callersMethodAddDetail
AddDetail 添加链路明细
trace/trackContext.go:148
↓ 2 callersMethodAddHours
AddHours 添加小时
dateTime/dt.go:165
↓ 2 callersMethodAddMillisecond
AddMillisecond 添加毫秒
dateTime/dt.go:180
↓ 2 callersMethodAddMinutes
AddMinutes 添加分钟
dateTime/dt.go:170
↓ 2 callersMethodAddMonths
AddMonths 添加月份
dateTime/dt.go:155
↓ 2 callersMethodAddSeconds
AddSeconds 添加秒
dateTime/dt.go:175
↓ 2 callersMethodAddTime
AddTime 添加一个定时任务
timingWheel/timingWheel.go:133
↓ 2 callersMethodAddYears
AddYears 添加年
dateTime/dt.go:150
↓ 2 callersMethodAfter
After 是否比dt时间大(晚)
dateTime/dt.go:203
↓ 2 callersMethodBefore
Before 是否比dt时间小(早)
dateTime/dt.go:208
↓ 2 callersMethodCritical
Errorf Error日志
core/iLog.go:17
↓ 2 callersMethodDebug
Tracef Trace日志
core/iLog.go:9
↓ 2 callersMethodEntryFSchedule
(taskGroupName string, taskId int64, data map[string]string)
trace/emptyManager.go:26
↓ 2 callersMethodEntryMqConsumer
(parentTraceId, parentAppName, server string, queueName string, routingKey string)
trace/emptyManager.go:13
↓ 2 callersMethodEntryTask
(taskName string)
trace/emptyManager.go:22
↓ 2 callersMethodEntryWatchKey
(key string)
trace/emptyManager.go:33
↓ 2 callersMethodEntryWebApi
(domain string, path string, method string, contentType string, header map[string]string, requestIp string)
trace/emptyManager.go:6
↓ 2 callersFunctionErrorIfExists
ErrorIfExists 打印Error日志(假如存在)
flog/print.go:62
↓ 2 callersMethodGetAllDbType
()
test/container_inject_test.go:10
↓ 2 callersFunctionGetBool
GetBool 获取配置
configure/get.go:85
↓ 2 callersMethodGetCurTrace
()
trace/emptyManager.go:36
↓ 2 callersFunctionGetFopsServer
GetFopsServer 获取FOPS地址
configure/getFopsServer.go:11
↓ 2 callersFunctionGetSlice
GetSlice 获取数组
configure/get.go:100
↓ 2 callersFunctionGetSliceNodes
GetSliceNodes 获取数组节点
configure/get.go:95
↓ 2 callersMethodGetSubNodes
GetSubNodes 获取所有子节点
configure/iConfigLoader.go:9
↓ 2 callersFunctionInfo
Info 打印Info日志
flog/print.go:34
↓ 2 callersMethodInfo
Debugf Debug日志
core/iLog.go:11
↓ 2 callersFunctionInitConfig
InitConfig 初始化配置文件
configure/get.go:12
↓ 2 callersMethodIsIgnore
()
trace/traceDetail.go:112
↓ 2 callersFunctionIsMap
IsMap 是否为Map类型
types/isType.go:30
↓ 2 callersMethodIsNil
()
trace/trackContext.go:67
↓ 2 callersFunctionIsPageList
IsPageList 判断类型是否为PageList
types/isType.go:60
↓ 2 callersFunctionIsRegister
IsRegister 是否注册过
container/register.go:45
↓ 2 callersFunctionIsSlice
IsSlice 是否为切片类型
types/isType.go:24
↓ 2 callersFunctionListAddValue
ListAddValue 动态添加元素
types/listType.go:32
↓ 2 callersFunctionListNew
ListNew 动态创建一个新的List
types/listType.go:14
↓ 2 callersMethodLoadContent
LoadContent 解析yml内容
configure/yamlConfig.go:34
↓ 2 callersFunctionNew
New 创建一个AsyncLocal
asyncLocal/newAsyncLocal.go:16
↓ 2 callersFunctionNew
New returns a new Sonyflake configured with the given Settings. New returns an error in the following cases: - Settings.StartTime is ahead of the curr
sonyflake/sonyflake.go:81
↓ 2 callersFunctionNewContainer
NewContainer 实例化一个默认容器
container/container.go:23
↓ 2 callersFunctionNewDefault
(interval time.Duration, bucketsNum int)
timingWheel/defaultTimingWheel.go:10
↓ 2 callersFunctionNumberToString
(source any, sourceKind reflect.Kind)
parse/mapConvert.go:38
↓ 2 callersFunctionPointerOfValue
PointerOfValue 传入任意变量类型的值,得出该值对应的类型 go:linkname nanotime1 reflect.nanotime1
fastReflect/valueMeta.go:57
↓ 2 callersFunctionReplaceBlues
ReplaceBlues 转为蓝色字体
color/colors.go:98
↓ 2 callersMethodRestart
Restart 重置计时器
stopwatch/startNew.go:44
↓ 2 callersMethodSetSql
(connectionString string, DbName string, tableName string, sql string, rowsAffected int64)
trace/traceDetailDatabase.go:11
↓ 2 callersMethodStop
()
timingWheel/timer.go:17
↓ 2 callersMethodToBytes
ToBytes 转成Json字节
core/apiResponse.go:41
↓ 2 callersFunctionToInt
ToInt 转换成int类型
parse/convert.go:278
↓ 2 callersFunctionToInt64
ToInt64 转换成int64类型
parse/convert.go:290
↓ 2 callersMethodTrace
(contents ...any)
core/iLog.go:7
↓ 2 callersMethodTraceDatabase
()
trace/emptyManager.go:40
↓ 2 callersMethodTraceDatabaseOpen
(dbName string, connectString string)
trace/emptyManager.go:41
↓ 2 callersMethodTraceElasticsearch
(method string, IndexName string, AliasesName string)
trace/emptyManager.go:44
↓ 2 callersMethodTraceEtcd
(method string, key string, leaseID int64)
trace/emptyManager.go:47
↓ 2 callersMethodTraceHand
(name string)
trace/emptyManager.go:50
↓ 2 callersMethodTraceHttp
(method string, url string)
trace/emptyManager.go:61
↓ 2 callersMethodTraceMq
(method string, server string, exchange string)
trace/emptyManager.go:55
↓ 2 callersMethodTraceMqSend
(method string, server string, exchange string, routingKey string)
trace/emptyManager.go:52
↓ 2 callersMethodTraceRedis
(method string, key string, field string)
trace/emptyManager.go:58
↓ 2 callersMethodUnmarshalJSON
UnmarshalJSON to deserialize []byte
dateTime/dt.go:219
↓ 2 callersFunctionWarning
Warning 打印Warning日志
flog/print.go:44
↓ 2 callersMethodWarning
Infof Info日志
core/iLog.go:13
↓ 2 callersMethodaddComponent
注册实例,添加到依赖列表
container/container.go:34
↓ 2 callersMethodcreateIns
根据类型,动态创建实例
container/container.go:173
↓ 2 callersFunctionelapsedTime
(id uint64)
sonyflake/sonyflake.go:211
↓ 2 callersMethodexecuteFunc
(fn func())
async/worker.go:38
↓ 2 callersFunctionexists
判断模块是否存在于数组中
modules/getDependModule.go:54
↓ 2 callersMethodflattening
扁平化map
configure/yamlConfig.go:83
↓ 2 callersFunctiongetFiles
GetFiles 读取指定目录下的文件 path:目录路径 searchPattern:匹配文件名要包含的名称,搜索全部,传入""即可 searchSubDir:是否要搜索子目录
flog/fileProvider.go:201
↓ 2 callersMethodinitLevelTimeHandDuration
初始化这一层的一格时长
timingWheel/timingWheel.go:290
↓ 2 callersMethodinitTimeHandTimer
初始化所在层的任务队列
timingWheel/timingWheel.go:338
↓ 2 callersMethodinject
解析注入
container/container.go:209
↓ 2 callersMethodisRegister
是否注册过
container/container.go:246
↓ 2 callersFunctionparseString
(configRefVal reflect.Value, configString string)
configure/parseConfig.go:17
↓ 2 callersMethodregisterConstructor
注册构造函数
container/container.go:56
↓ 2 callersMethodrewind
计算第几层第几格、剩余时长
timingWheel/timingWheel.go:299
↓ 1 callersFunctionAdd
Add 添加一个定时任务
timingWheel/defaultTimingWheel.go:20
↓ 1 callersMethodAdd
Add 添加异步执行的方法
async/worker.go:23
↓ 1 callersMethodAddEnvironmentVariables
AddEnvironmentVariables 加载环境变量
configure/config.go:33
↓ 1 callersMethodAddPrecision
AddPrecision 添加一个定时任务(高精度)
timingWheel/timingWheel.go:138
↓ 1 callersFunctionAddTime
AddTime 添加一个定时任务
timingWheel/defaultTimingWheel.go:25
↓ 1 callersFunctionAddTimePrecision
AddTimePrecision 添加一个定时任务(高精度)
timingWheel/defaultTimingWheel.go:35
↓ 1 callersMethodAddTimePrecision
AddTimePrecision 添加一个定时任务(高精度)
timingWheel/timingWheel.go:145
↓ 1 callersMethodAddYamlFile
AddYamlFile 设置yaml文件配置
configure/config.go:27
↓ 1 callersFunctionApiResponseIntError
ApiResponseIntError 接口调用失时返回的Json
core/apiResponseInt.go:17
↓ 1 callersFunctionApiResponseIntError403
ApiResponseIntError403 接口调用失时返回的Json
core/apiResponseInt.go:26
↓ 1 callersFunctionApiResponseIntSuccess
ApiResponseIntSuccess 接口调用成功后返回的Json
core/apiResponseInt.go:7
↓ 1 callersFunctionApiResponseLongError
ApiResponseLongError 接口调用失时返回的Json
core/apiResponseLong.go:17
↓ 1 callersFunctionApiResponseLongSuccess
ApiResponseLongSuccess 接口调用成功后返回的Json
core/apiResponseLong.go:7
↓ 1 callersFunctionApiResponseStringError
ApiResponseStringError 接口调用失时返回的Json
core/apiResponseString.go:17
↓ 1 callersFunctionApiResponseStringError403
ApiResponseStringError403 接口调用失时返回的Json
core/apiResponseString.go:26
↓ 1 callersFunctionApiResponseStringSuccess
ApiResponseStringSuccess 接口调用成功后返回的Json
core/apiResponseString.go:7
↓ 1 callersMethodBuild
Build 找到并读取配置文件
configure/config.go:43
← previousnext →101–200 of 589, ranked by callers