MCPcopy Create free account

hub / github.com/KendoCross/kendoDDD / functions

Functions224 in github.com/KendoCross/kendoDDD

MethodCommandType
()
domain/k8s_info/commands.go:27
MethodCommandType
()
domain/trips/commands.go:27
FunctionConvertInt642Ints
修改原切片的
infrastructure/helper/slice_helper.go:95
FunctionConvertInt64sToStr
[]Int64转为`,`分割的字符串
infrastructure/helper/slice_helper.go:45
FunctionConvertIntsToStr
[]Int转为`,`分割的字符串
infrastructure/helper/slice_helper.go:25
FunctionConvertStr2Ints
字符串`,`分隔,转为[]int
infrastructure/helper/slice_helper.go:10
FunctionConvertToJSON
ConvertToJSON converts object to json
infrastructure/repos_redis/common.go:38
FunctionCopyDir
CopyDir copies the source directory to the dest directory.
infrastructure/helper/file_helper.go:83
MethodDealCommand
Command同步执行,需要返回值的
domain/files/aggregate_root.go:60
MethodDealCommand
Command同步执行,需要返回值的
domain/testcmd/aggregate_root.go:39
MethodDealCommand
Command同步执行,需要返回值的
domain/k8s_info/aggregate_root.go:43
MethodDealCommand
Command同步执行,需要返回值的
domain/trips/aggregate_root.go:45
MethodDelCaptcha
(phone string)
infrastructure/repos_redis/captcha_repo.go:23
MethodDelCaptcha
(phone string)
interfaces/redis_repos.go:6
FunctionDelChCache
(uid string)
infrastructure/helper/chs_mng.go:21
FunctionEncryptPwd
(text string)
infrastructure/helper/encrypt.go:20
MethodEntityID
()
domain/files/file_entity.go:22
MethodError
()
infrastructure/errorext/code_err.go:33
MethodError
()
infrastructure/errorext/errors.go:9
MethodError
()
infrastructure/errorext/errors.go:28
MethodError
()
infrastructure/errorext/errors.go:34
MethodError
()
infrastructure/errorext/errors.go:61
MethodExists
Exists deletes a record
infrastructure/repos_redis/redis_driver.go:69
MethodFind
(parm interfaces.FindParmFiles)
infrastructure/repos_mysql/file_repo.go:43
MethodGetById
单条查询
infrastructure/repos_mysql/file_repo.go:30
MethodGetCaptcha
(phone string)
infrastructure/repos_redis/captcha_repo.go:18
MethodGetCaptcha
(phone string)
interfaces/redis_repos.go:5
FunctionGetChCache
(uid string)
infrastructure/helper/chs_mng.go:14
FunctionGetDateInt
(t *time.Time)
infrastructure/helper/times_helper.go:46
FunctionGetDateStr
(t *time.Time)
infrastructure/helper/times_helper.go:35
FunctionGetDefaultEnv
(key string, defaultValue ...string)
infrastructure/helper/env_helper.go:76
FunctionGetFile
(c *gin.Context)
presentation/api/files.go:12
FunctionGetFileSize
(path string)
infrastructure/helper/file_helper.go:47
MethodGetFlights
(req FlightsReq)
domain/services/trip/ctrip_svc.go:27
MethodGetHistoryReleaseInfo
(name string, num ...int)
domain/services/helm/helm_client.go:154
FunctionGetIpInfo
(ip string)
infrastructure/helper/ip_agent.go:35
FunctionGetLocalIp
()
infrastructure/helper/get_local_ip.go:7
FunctionGetNanoTimeStamp
()
infrastructure/helper/times_helper.go:16
FunctionGetNowMilliSec
()
infrastructure/helper/times_helper.go:104
FunctionGetPods
(c *gin.Context)
presentation/api/k8s/pod.go:10
MethodGetRelease
(name string)
domain/services/helm/helm_client.go:202
FunctionGetUnixTimeStamp
()
infrastructure/helper/times_helper.go:11
FunctionGinCors
()
presentation/middleware/gincors.go:10
MethodHDel
HDel deletes a hash record
infrastructure/repos_redis/redis_driver.go:124
MethodHExists
HExists checks if key exists on a hash
infrastructure/repos_redis/redis_driver.go:113
MethodHGet
HGet gets a record from hash
infrastructure/repos_redis/redis_driver.go:91
MethodHLen
HLen count hash records
infrastructure/repos_redis/redis_driver.go:135
MethodHScan
HScan return an iterative obj for a hash
infrastructure/repos_redis/redis_driver.go:157
MethodHSet
HSet sets a record in hash
infrastructure/repos_redis/redis_driver.go:102
MethodHTruncate
HTruncate deletes a hash
infrastructure/repos_redis/redis_driver.go:146
MethodHandleCommand
Command异步执行,不需要返回值的
domain/testcmd/aggregate_root.go:34
MethodHandleCommand
Command异步执行,不需要返回值的
domain/k8s_info/aggregate_root.go:27
MethodHandleCommand
Command异步执行,不需要返回值的
domain/trips/aggregate_root.go:29
MethodHandleEvent
(ctx context.Context, event eh.Event)
domain/trips/event_handler.go:24
MethodHandlerType
()
domain/files/event_handler.go:21
MethodHandlerType
()
domain/trips/event_handler.go:21
MethodHelmInstall
(name, namespace, version, chartPath string, vals map[string]interface{})
domain/services/helm/helm_client.go:75
MethodHelmRollBack
(name, version string)
domain/services/helm/helm_client.go:123
MethodHelmUninstall
(name string)
domain/services/helm/helm_client.go:142
FunctionInitBus
aggregateStore 领域事件存储与发布 var AggregateStore *events.AggregateStore
infrastructure/bus/bus.go:23
FunctionInitDB
InitDB 初始化DB引擎
infrastructure/repos_mysql/common.go:15
FunctionInitRedis
初始化
infrastructure/repos_redis/common.go:20
FunctionIsExist
(path string)
infrastructure/helper/file_helper.go:41
FunctionIsNil
(a interface{})
infrastructure/helper/env_helper.go:71
FunctionIsValInArr
判定某值是否在切片里
infrastructure/helper/slice_helper.go:104
FunctionLoadFromJSON
LoadFromJSON load object from json
infrastructure/repos_redis/common.go:29
FunctionMakeExtraValidation
MakeExtraValidation method is for registering new validator
infrastructure/errorext/error_convter.go:123
FunctionMd5Encrypt
md5加密 字符串
infrastructure/helper/encrypt.go:13
FunctionMilliSec2time
(milliSec int64)
infrastructure/helper/times_helper.go:100
FunctionNewBadRequestError
(name string, reason string)
infrastructure/errorext/errors.go:71
FunctionNewConflictError
(code int, msg string)
infrastructure/errorext/errors.go:87
FunctionNewForbiddenError
()
infrastructure/errorext/errors.go:106
FunctionNewInternalServerError
(code int, msg string)
infrastructure/errorext/errors.go:78
FunctionNewListMsgError
(msgs map[string]string)
infrastructure/errorext/code_err.go:45
FunctionNewSyncPool
runtime.NumCPU()
infrastructure/helper/gowork.go:47
FunctionNewTeapotError
(payload interface{})
infrastructure/errorext/errors.go:96
FunctionNewUnauthorizedError
()
infrastructure/errorext/errors.go:102
FunctionNewWorkerPool
(maxGoRoutines int)
infrastructure/helper/gowork.go:14
FunctionPF
(v interface{})
infrastructure/helper/encrypt.go:27
FunctionPathExists
(path string)
infrastructure/helper/env_helper.go:8
MethodPodList
聚合根对外开放的能力
domain/k8s_info/aggregate_root.go:49
FunctionPreCommandHandles
CQRS 契合Command的,统一进行路由
infrastructure/ddd/pre_common_gin.go:28
MethodRPush
RPush
infrastructure/repos_redis/redis_driver.go:162
FunctionRandString
RandString returns a fixed length random string.
infrastructure/helper/rand_str.go:10
MethodReleaseUpd
()
domain/testcmd/helm_entity.go:17
FunctionRemoveRep
RemoveRep 移除重复值
infrastructure/helper/slice_helper.go:55
MethodRun
提交多个任务,并等待执行完成
infrastructure/helper/gowork.go:53
MethodSetCaptcha
(phone, code string)
infrastructure/repos_redis/captcha_repo.go:14
MethodSetCaptcha
(phone, code string)
interfaces/redis_repos.go:4
FunctionSliceStringDiff
(slice1 []string, slice2 []string)
infrastructure/helper/env_helper.go:19
FunctionSliceStringIndex
(item string, slice []string)
infrastructure/helper/env_helper.go:62
FunctionSliceStringIntersect
(slice1 []string, slice2 []string)
infrastructure/helper/env_helper.go:47
FunctionStartUp
仓储(能封装成工作单元更好)
domain/trips/common.go:24
FunctionStructCopy
StructCopy 相同名称字段结构复制,必须指针类型;源在前,目标在后
infrastructure/helper/struct_help.go:21
MethodTableName
()
interfaces/file_repo.go:28
FunctionToDatetimeStr
(t *time.Time)
infrastructure/helper/times_helper.go:21
FunctionToLocalTime
(date string)
infrastructure/helper/times_helper.go:72
FunctionToLocalTimeMilliSeconds
(date string)
infrastructure/helper/times_helper.go:63
FunctionToLocalTimeSeconds
(date string)
infrastructure/helper/times_helper.go:54
MethodUnwrap
()
infrastructure/errorext/code_err.go:17
← previousnext →101–200 of 224, ranked by callers