Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KendoCross/kendoDDD
/ functions
Functions
224 in github.com/KendoCross/kendoDDD
⨍
Functions
224
◇
Types & classes
57
Method
CommandType
()
domain/k8s_info/commands.go:27
Method
CommandType
()
domain/trips/commands.go:27
Function
ConvertInt642Ints
修改原切片的
infrastructure/helper/slice_helper.go:95
Function
ConvertInt64sToStr
[]Int64转为`,`分割的字符串
infrastructure/helper/slice_helper.go:45
Function
ConvertIntsToStr
[]Int转为`,`分割的字符串
infrastructure/helper/slice_helper.go:25
Function
ConvertStr2Ints
字符串`,`分隔,转为[]int
infrastructure/helper/slice_helper.go:10
Function
ConvertToJSON
ConvertToJSON converts object to json
infrastructure/repos_redis/common.go:38
Function
CopyDir
CopyDir copies the source directory to the dest directory.
infrastructure/helper/file_helper.go:83
Method
DealCommand
Command同步执行,需要返回值的
domain/files/aggregate_root.go:60
Method
DealCommand
Command同步执行,需要返回值的
domain/testcmd/aggregate_root.go:39
Method
DealCommand
Command同步执行,需要返回值的
domain/k8s_info/aggregate_root.go:43
Method
DealCommand
Command同步执行,需要返回值的
domain/trips/aggregate_root.go:45
Method
DelCaptcha
(phone string)
infrastructure/repos_redis/captcha_repo.go:23
Method
DelCaptcha
(phone string)
interfaces/redis_repos.go:6
Function
DelChCache
(uid string)
infrastructure/helper/chs_mng.go:21
Function
EncryptPwd
(text string)
infrastructure/helper/encrypt.go:20
Method
EntityID
()
domain/files/file_entity.go:22
Method
Error
()
infrastructure/errorext/code_err.go:33
Method
Error
()
infrastructure/errorext/errors.go:9
Method
Error
()
infrastructure/errorext/errors.go:28
Method
Error
()
infrastructure/errorext/errors.go:34
Method
Error
()
infrastructure/errorext/errors.go:61
Method
Exists
Exists deletes a record
infrastructure/repos_redis/redis_driver.go:69
Method
Find
(parm interfaces.FindParmFiles)
infrastructure/repos_mysql/file_repo.go:43
Method
GetById
单条查询
infrastructure/repos_mysql/file_repo.go:30
Method
GetCaptcha
(phone string)
infrastructure/repos_redis/captcha_repo.go:18
Method
GetCaptcha
(phone string)
interfaces/redis_repos.go:5
Function
GetChCache
(uid string)
infrastructure/helper/chs_mng.go:14
Function
GetDateInt
(t *time.Time)
infrastructure/helper/times_helper.go:46
Function
GetDateStr
(t *time.Time)
infrastructure/helper/times_helper.go:35
Function
GetDefaultEnv
(key string, defaultValue ...string)
infrastructure/helper/env_helper.go:76
Function
GetFile
(c *gin.Context)
presentation/api/files.go:12
Function
GetFileSize
(path string)
infrastructure/helper/file_helper.go:47
Method
GetFlights
(req FlightsReq)
domain/services/trip/ctrip_svc.go:27
Method
GetHistoryReleaseInfo
(name string, num ...int)
domain/services/helm/helm_client.go:154
Function
GetIpInfo
(ip string)
infrastructure/helper/ip_agent.go:35
Function
GetLocalIp
()
infrastructure/helper/get_local_ip.go:7
Function
GetNanoTimeStamp
()
infrastructure/helper/times_helper.go:16
Function
GetNowMilliSec
()
infrastructure/helper/times_helper.go:104
Function
GetPods
(c *gin.Context)
presentation/api/k8s/pod.go:10
Method
GetRelease
(name string)
domain/services/helm/helm_client.go:202
Function
GetUnixTimeStamp
()
infrastructure/helper/times_helper.go:11
Function
GinCors
()
presentation/middleware/gincors.go:10
Method
HDel
HDel deletes a hash record
infrastructure/repos_redis/redis_driver.go:124
Method
HExists
HExists checks if key exists on a hash
infrastructure/repos_redis/redis_driver.go:113
Method
HGet
HGet gets a record from hash
infrastructure/repos_redis/redis_driver.go:91
Method
HLen
HLen count hash records
infrastructure/repos_redis/redis_driver.go:135
Method
HScan
HScan return an iterative obj for a hash
infrastructure/repos_redis/redis_driver.go:157
Method
HSet
HSet sets a record in hash
infrastructure/repos_redis/redis_driver.go:102
Method
HTruncate
HTruncate deletes a hash
infrastructure/repos_redis/redis_driver.go:146
Method
HandleCommand
Command异步执行,不需要返回值的
domain/testcmd/aggregate_root.go:34
Method
HandleCommand
Command异步执行,不需要返回值的
domain/k8s_info/aggregate_root.go:27
Method
HandleCommand
Command异步执行,不需要返回值的
domain/trips/aggregate_root.go:29
Method
HandleEvent
(ctx context.Context, event eh.Event)
domain/trips/event_handler.go:24
Method
HandlerType
()
domain/files/event_handler.go:21
Method
HandlerType
()
domain/trips/event_handler.go:21
Method
HelmInstall
(name, namespace, version, chartPath string, vals map[string]interface{})
domain/services/helm/helm_client.go:75
Method
HelmRollBack
(name, version string)
domain/services/helm/helm_client.go:123
Method
HelmUninstall
(name string)
domain/services/helm/helm_client.go:142
Function
InitBus
aggregateStore 领域事件存储与发布 var AggregateStore *events.AggregateStore
infrastructure/bus/bus.go:23
Function
InitDB
InitDB 初始化DB引擎
infrastructure/repos_mysql/common.go:15
Function
InitRedis
初始化
infrastructure/repos_redis/common.go:20
Function
IsExist
(path string)
infrastructure/helper/file_helper.go:41
Function
IsNil
(a interface{})
infrastructure/helper/env_helper.go:71
Function
IsValInArr
判定某值是否在切片里
infrastructure/helper/slice_helper.go:104
Function
LoadFromJSON
LoadFromJSON load object from json
infrastructure/repos_redis/common.go:29
Function
MakeExtraValidation
MakeExtraValidation method is for registering new validator
infrastructure/errorext/error_convter.go:123
Function
Md5Encrypt
md5加密 字符串
infrastructure/helper/encrypt.go:13
Function
MilliSec2time
(milliSec int64)
infrastructure/helper/times_helper.go:100
Function
NewBadRequestError
(name string, reason string)
infrastructure/errorext/errors.go:71
Function
NewConflictError
(code int, msg string)
infrastructure/errorext/errors.go:87
Function
NewForbiddenError
()
infrastructure/errorext/errors.go:106
Function
NewInternalServerError
(code int, msg string)
infrastructure/errorext/errors.go:78
Function
NewListMsgError
(msgs map[string]string)
infrastructure/errorext/code_err.go:45
Function
NewSyncPool
runtime.NumCPU()
infrastructure/helper/gowork.go:47
Function
NewTeapotError
(payload interface{})
infrastructure/errorext/errors.go:96
Function
NewUnauthorizedError
()
infrastructure/errorext/errors.go:102
Function
NewWorkerPool
(maxGoRoutines int)
infrastructure/helper/gowork.go:14
Function
PF
(v interface{})
infrastructure/helper/encrypt.go:27
Function
PathExists
(path string)
infrastructure/helper/env_helper.go:8
Method
PodList
聚合根对外开放的能力
domain/k8s_info/aggregate_root.go:49
Function
PreCommandHandles
CQRS 契合Command的,统一进行路由
infrastructure/ddd/pre_common_gin.go:28
Method
RPush
RPush
infrastructure/repos_redis/redis_driver.go:162
Function
RandString
RandString returns a fixed length random string.
infrastructure/helper/rand_str.go:10
Method
ReleaseUpd
()
domain/testcmd/helm_entity.go:17
Function
RemoveRep
RemoveRep 移除重复值
infrastructure/helper/slice_helper.go:55
Method
Run
提交多个任务,并等待执行完成
infrastructure/helper/gowork.go:53
Method
SetCaptcha
(phone, code string)
infrastructure/repos_redis/captcha_repo.go:14
Method
SetCaptcha
(phone, code string)
interfaces/redis_repos.go:4
Function
SliceStringDiff
(slice1 []string, slice2 []string)
infrastructure/helper/env_helper.go:19
Function
SliceStringIndex
(item string, slice []string)
infrastructure/helper/env_helper.go:62
Function
SliceStringIntersect
(slice1 []string, slice2 []string)
infrastructure/helper/env_helper.go:47
Function
StartUp
仓储(能封装成工作单元更好)
domain/trips/common.go:24
Function
StructCopy
StructCopy 相同名称字段结构复制,必须指针类型;源在前,目标在后
infrastructure/helper/struct_help.go:21
Method
TableName
()
interfaces/file_repo.go:28
Function
ToDatetimeStr
(t *time.Time)
infrastructure/helper/times_helper.go:21
Function
ToLocalTime
(date string)
infrastructure/helper/times_helper.go:72
Function
ToLocalTimeMilliSeconds
(date string)
infrastructure/helper/times_helper.go:63
Function
ToLocalTimeSeconds
(date string)
infrastructure/helper/times_helper.go:54
Method
Unwrap
()
infrastructure/errorext/code_err.go:17
← previous
next →
101–200 of 224, ranked by callers