Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/farseer-go/fs
/ functions
Functions
589 in github.com/farseer-go/fs
⨍
Functions
589
◇
Types & classes
123
↓ 3 callers
Method
getOrCreateIns
根据lifecycle获取实例
container/container.go:155
↓ 3 callers
Function
loadLevelFormat
使用具体配置还是默认配置
flog/init.go:56
↓ 3 callers
Method
popTimer
将到达时间的任务推送给C
timingWheel/timingWheel.go:250
↓ 3 callers
Function
toSonyflakeTime
nsec, i.e. 10 msec
sonyflake/sonyflake.go:149
↓ 3 callers
Function
typeOf
(reflectType reflect.Type, inf *EmptyInterface)
fastReflect/typeMeta.go:41
↓ 2 callers
Method
AddDays
AddDays 添加天数
dateTime/dt.go:160
↓ 2 callers
Method
AddDetail
AddDetail 添加链路明细
trace/trackContext.go:148
↓ 2 callers
Method
AddHours
AddHours 添加小时
dateTime/dt.go:165
↓ 2 callers
Method
AddMillisecond
AddMillisecond 添加毫秒
dateTime/dt.go:180
↓ 2 callers
Method
AddMinutes
AddMinutes 添加分钟
dateTime/dt.go:170
↓ 2 callers
Method
AddMonths
AddMonths 添加月份
dateTime/dt.go:155
↓ 2 callers
Method
AddSeconds
AddSeconds 添加秒
dateTime/dt.go:175
↓ 2 callers
Method
AddTime
AddTime 添加一个定时任务
timingWheel/timingWheel.go:133
↓ 2 callers
Method
AddYears
AddYears 添加年
dateTime/dt.go:150
↓ 2 callers
Method
After
After 是否比dt时间大(晚)
dateTime/dt.go:203
↓ 2 callers
Method
Before
Before 是否比dt时间小(早)
dateTime/dt.go:208
↓ 2 callers
Method
Critical
Errorf Error日志
core/iLog.go:17
↓ 2 callers
Method
Debug
Tracef Trace日志
core/iLog.go:9
↓ 2 callers
Method
EntryFSchedule
(taskGroupName string, taskId int64, data map[string]string)
trace/emptyManager.go:26
↓ 2 callers
Method
EntryMqConsumer
(parentTraceId, parentAppName, server string, queueName string, routingKey string)
trace/emptyManager.go:13
↓ 2 callers
Method
EntryTask
(taskName string)
trace/emptyManager.go:22
↓ 2 callers
Method
EntryWatchKey
(key string)
trace/emptyManager.go:33
↓ 2 callers
Method
EntryWebApi
(domain string, path string, method string, contentType string, header map[string]string, requestIp string)
trace/emptyManager.go:6
↓ 2 callers
Function
ErrorIfExists
ErrorIfExists 打印Error日志(假如存在)
flog/print.go:62
↓ 2 callers
Method
GetAllDbType
()
test/container_inject_test.go:10
↓ 2 callers
Function
GetBool
GetBool 获取配置
configure/get.go:85
↓ 2 callers
Method
GetCurTrace
()
trace/emptyManager.go:36
↓ 2 callers
Function
GetFopsServer
GetFopsServer 获取FOPS地址
configure/getFopsServer.go:11
↓ 2 callers
Function
GetSlice
GetSlice 获取数组
configure/get.go:100
↓ 2 callers
Function
GetSliceNodes
GetSliceNodes 获取数组节点
configure/get.go:95
↓ 2 callers
Method
GetSubNodes
GetSubNodes 获取所有子节点
configure/iConfigLoader.go:9
↓ 2 callers
Function
Info
Info 打印Info日志
flog/print.go:34
↓ 2 callers
Method
Info
Debugf Debug日志
core/iLog.go:11
↓ 2 callers
Function
InitConfig
InitConfig 初始化配置文件
configure/get.go:12
↓ 2 callers
Method
IsIgnore
()
trace/traceDetail.go:112
↓ 2 callers
Function
IsMap
IsMap 是否为Map类型
types/isType.go:30
↓ 2 callers
Method
IsNil
()
trace/trackContext.go:67
↓ 2 callers
Function
IsPageList
IsPageList 判断类型是否为PageList
types/isType.go:60
↓ 2 callers
Function
IsRegister
IsRegister 是否注册过
container/register.go:45
↓ 2 callers
Function
IsSlice
IsSlice 是否为切片类型
types/isType.go:24
↓ 2 callers
Function
ListAddValue
ListAddValue 动态添加元素
types/listType.go:32
↓ 2 callers
Function
ListNew
ListNew 动态创建一个新的List
types/listType.go:14
↓ 2 callers
Method
LoadContent
LoadContent 解析yml内容
configure/yamlConfig.go:34
↓ 2 callers
Function
New
New 创建一个AsyncLocal
asyncLocal/newAsyncLocal.go:16
↓ 2 callers
Function
New
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 callers
Function
NewContainer
NewContainer 实例化一个默认容器
container/container.go:23
↓ 2 callers
Function
NewDefault
(interval time.Duration, bucketsNum int)
timingWheel/defaultTimingWheel.go:10
↓ 2 callers
Function
NumberToString
(source any, sourceKind reflect.Kind)
parse/mapConvert.go:38
↓ 2 callers
Function
PointerOfValue
PointerOfValue 传入任意变量类型的值,得出该值对应的类型 go:linkname nanotime1 reflect.nanotime1
fastReflect/valueMeta.go:57
↓ 2 callers
Function
ReplaceBlues
ReplaceBlues 转为蓝色字体
color/colors.go:98
↓ 2 callers
Method
Restart
Restart 重置计时器
stopwatch/startNew.go:44
↓ 2 callers
Method
SetSql
(connectionString string, DbName string, tableName string, sql string, rowsAffected int64)
trace/traceDetailDatabase.go:11
↓ 2 callers
Method
Stop
()
timingWheel/timer.go:17
↓ 2 callers
Method
ToBytes
ToBytes 转成Json字节
core/apiResponse.go:41
↓ 2 callers
Function
ToInt
ToInt 转换成int类型
parse/convert.go:278
↓ 2 callers
Function
ToInt64
ToInt64 转换成int64类型
parse/convert.go:290
↓ 2 callers
Method
Trace
(contents ...any)
core/iLog.go:7
↓ 2 callers
Method
TraceDatabase
()
trace/emptyManager.go:40
↓ 2 callers
Method
TraceDatabaseOpen
(dbName string, connectString string)
trace/emptyManager.go:41
↓ 2 callers
Method
TraceElasticsearch
(method string, IndexName string, AliasesName string)
trace/emptyManager.go:44
↓ 2 callers
Method
TraceEtcd
(method string, key string, leaseID int64)
trace/emptyManager.go:47
↓ 2 callers
Method
TraceHand
(name string)
trace/emptyManager.go:50
↓ 2 callers
Method
TraceHttp
(method string, url string)
trace/emptyManager.go:61
↓ 2 callers
Method
TraceMq
(method string, server string, exchange string)
trace/emptyManager.go:55
↓ 2 callers
Method
TraceMqSend
(method string, server string, exchange string, routingKey string)
trace/emptyManager.go:52
↓ 2 callers
Method
TraceRedis
(method string, key string, field string)
trace/emptyManager.go:58
↓ 2 callers
Method
UnmarshalJSON
UnmarshalJSON to deserialize []byte
dateTime/dt.go:219
↓ 2 callers
Function
Warning
Warning 打印Warning日志
flog/print.go:44
↓ 2 callers
Method
Warning
Infof Info日志
core/iLog.go:13
↓ 2 callers
Method
addComponent
注册实例,添加到依赖列表
container/container.go:34
↓ 2 callers
Method
createIns
根据类型,动态创建实例
container/container.go:173
↓ 2 callers
Function
elapsedTime
(id uint64)
sonyflake/sonyflake.go:211
↓ 2 callers
Method
executeFunc
(fn func())
async/worker.go:38
↓ 2 callers
Function
exists
判断模块是否存在于数组中
modules/getDependModule.go:54
↓ 2 callers
Method
flattening
扁平化map
configure/yamlConfig.go:83
↓ 2 callers
Function
getFiles
GetFiles 读取指定目录下的文件 path:目录路径 searchPattern:匹配文件名要包含的名称,搜索全部,传入""即可 searchSubDir:是否要搜索子目录
flog/fileProvider.go:201
↓ 2 callers
Method
initLevelTimeHandDuration
初始化这一层的一格时长
timingWheel/timingWheel.go:290
↓ 2 callers
Method
initTimeHandTimer
初始化所在层的任务队列
timingWheel/timingWheel.go:338
↓ 2 callers
Method
inject
解析注入
container/container.go:209
↓ 2 callers
Method
isRegister
是否注册过
container/container.go:246
↓ 2 callers
Function
parseString
(configRefVal reflect.Value, configString string)
configure/parseConfig.go:17
↓ 2 callers
Method
registerConstructor
注册构造函数
container/container.go:56
↓ 2 callers
Method
rewind
计算第几层第几格、剩余时长
timingWheel/timingWheel.go:299
↓ 1 callers
Function
Add
Add 添加一个定时任务
timingWheel/defaultTimingWheel.go:20
↓ 1 callers
Method
Add
Add 添加异步执行的方法
async/worker.go:23
↓ 1 callers
Method
AddEnvironmentVariables
AddEnvironmentVariables 加载环境变量
configure/config.go:33
↓ 1 callers
Method
AddPrecision
AddPrecision 添加一个定时任务(高精度)
timingWheel/timingWheel.go:138
↓ 1 callers
Function
AddTime
AddTime 添加一个定时任务
timingWheel/defaultTimingWheel.go:25
↓ 1 callers
Function
AddTimePrecision
AddTimePrecision 添加一个定时任务(高精度)
timingWheel/defaultTimingWheel.go:35
↓ 1 callers
Method
AddTimePrecision
AddTimePrecision 添加一个定时任务(高精度)
timingWheel/timingWheel.go:145
↓ 1 callers
Method
AddYamlFile
AddYamlFile 设置yaml文件配置
configure/config.go:27
↓ 1 callers
Function
ApiResponseIntError
ApiResponseIntError 接口调用失时返回的Json
core/apiResponseInt.go:17
↓ 1 callers
Function
ApiResponseIntError403
ApiResponseIntError403 接口调用失时返回的Json
core/apiResponseInt.go:26
↓ 1 callers
Function
ApiResponseIntSuccess
ApiResponseIntSuccess 接口调用成功后返回的Json
core/apiResponseInt.go:7
↓ 1 callers
Function
ApiResponseLongError
ApiResponseLongError 接口调用失时返回的Json
core/apiResponseLong.go:17
↓ 1 callers
Function
ApiResponseLongSuccess
ApiResponseLongSuccess 接口调用成功后返回的Json
core/apiResponseLong.go:7
↓ 1 callers
Function
ApiResponseStringError
ApiResponseStringError 接口调用失时返回的Json
core/apiResponseString.go:17
↓ 1 callers
Function
ApiResponseStringError403
ApiResponseStringError403 接口调用失时返回的Json
core/apiResponseString.go:26
↓ 1 callers
Function
ApiResponseStringSuccess
ApiResponseStringSuccess 接口调用成功后返回的Json
core/apiResponseString.go:7
↓ 1 callers
Method
Build
Build 找到并读取配置文件
configure/config.go:43
← previous
next →
101–200 of 589, ranked by callers