MCPcopy Create free account

hub / github.com/go-dev-frame/sponge / functions

Functions5,724 in github.com/go-dev-frame/sponge

↓ 6 callersFunctionPi
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionQi
(e,t,n,i)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionS
(e,t,n,r,l,u)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionServerCtxRequestID
ServerCtxRequestID get request id from rpc server context.Context
pkg/grpc/interceptor/requstid.go:98
↓ 6 callersMethodSetBody
SetBody set body data, support string and []byte, if it is not string, it will be json marshal.
pkg/httpcli/httpcli.go:90
↓ 6 callersMethodSetCacheWithNotFound
(ctx context.Context, key string)
pkg/cache/cache.go:33
↓ 6 callersMethodSetParams
SetParams parameters after setting the URL
pkg/httpcli/httpcli.go:69
↓ 6 callersFunctionSliceData1
-------------------------------------------------
pkg/copier/copy_test.go:185
↓ 6 callersMethodSuccess
(ctx *gin.Context, data interface{})
pkg/errcode/response.go:19
↓ 6 callersFunctionTi
(e,t,n)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersMethodTrace
Trace print sql message
pkg/sgorm/glog/glog.go:69
↓ 6 callersMethodType
Type exchange type
pkg/rabbitmq/common.go:39
↓ 6 callersFunctionUt
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersMethodValidate
()
pkg/httpsrv/tls_remote_api.go:85
↓ 6 callersFunctionVi
()
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:43
↓ 6 callersFunctionWithBucket
WithBucket set the bucket number in a window duration.
pkg/shield/circuitbreaker/sre.go:63
↓ 6 callersFunctionWithGenerateTokenSignMethod
WithGenerateTokenSignMethod set sign method value
pkg/jwt/option.go:147
↓ 6 callersFunctionWithMaxRetry
--- Task Option Helpers --- WithMaxRetry specifies the max number of times the task will be retried.
pkg/sasynq/task.go:55
↓ 6 callersFunctionWithQueue
WithQueue specifies which queue the task should be sent to.
pkg/sasynq/task.go:75
↓ 6 callersFunctionWithRequest
WithRequest with the minimum number of requests allowed.
pkg/shield/circuitbreaker/sre.go:49
↓ 6 callersFunctionWithSuccess
WithSuccess with the K = 1 / Success value of sre breaker, default success is 0.5 Reducing the K will make adaptive throttling behave more aggressivel
pkg/shield/circuitbreaker/sre.go:42
↓ 6 callersFunctionWithWindow
WithWindow with the duration size of the statistical window.
pkg/shield/circuitbreaker/sre.go:56
↓ 6 callersFunctionXt
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionZr
(e,t,n,i)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersMethod_notify
(t,e,i,s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersMethod_sync
(t)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctionao
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callersFunctionbo
(e,t,n)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctioncompareVersion
v1 >= v2 return true v1 < v2 return false
cmd/sponge/commands/upgrade.go:275
↓ 6 callersMethodcreateResolver
(t,e,i=[""],s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctioncurrentcGroup
CurrentcGroup get current process cgroup
pkg/shield/cpu/cgroup.go:85
↓ 6 callersFunctionde
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 6 callersFunctiondefaultLogOptions
()
pkg/grpc/interceptor/logging.go:143
↓ 6 callersFunctiondefaultOptions
()
pkg/gin/proxy/proxy_option.go:26
↓ 6 callersFunctiondefaultPassOptions
()
pkg/gin/proxy/proxy_option.go:77
↓ 6 callersFunctiondiscussHelloMethod
(ctx context.Context, client GreeterClient)
pkg/grpc/interceptor/requstid_test.go:90
↓ 6 callersFunctionel
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionfn
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callersFunctiong
(t)
cmd/sponge/commands/perftest/http/perftest/chart.js:7
↓ 6 callersFunctiongetAssistantSuffixed
(assistantType string)
cmd/sponge/commands/assistant/common.go:500
↓ 6 callersMethodgetInstance
()
pkg/servicerd/registry/etcd/watcher.go:61
↓ 6 callersMethodgetMinMax
(t,e)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersMethodgetPointPosition
(t,e,i=0)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctiongetReadmeContent
(moduleName, serverName, serverType, dbDriver string, suitedMonoRepo bool)
cmd/sponge/commands/generate/common.go:884
↓ 6 callersMethodgetStyle
(t,e)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctiongetSugaredLogger
()
pkg/logger/logger.go:38
↓ 6 callersFunctiongetTestData
()
pkg/gotest/cache_test.go:7
↓ 6 callersFunctiongi
(t,e,i,s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctionln
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionlogFields
(queueName string, exchange *Exchange)
pkg/rabbitmq/producer.go:383
↓ 6 callersMethodmaxInFlight
()
pkg/shield/ratelimit/bbr.go:243
↓ 6 callersFunctionmergeElements
(i interface{})
pkg/jy2struct/jy2struct.go:431
↓ 6 callersMethodminRT
()
pkg/shield/ratelimit/bbr.go:209
↓ 6 callersFunctionnewStreamRPCClient
(addr string, streamClientInterceptors ...grpc.StreamClientInterceptor)
pkg/grpc/interceptor/requstid_test.go:60
↓ 6 callersFunctionnewStreamRPCServer
(streamServerInterceptors ...grpc.StreamServerInterceptor)
pkg/grpc/interceptor/requstid_test.go:28
↓ 6 callersFunctionnewUserExampleCache
()
internal/cache/userExample_test.go:16
↓ 6 callersFunctionni
(t,e)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctionparseBody
nolint
pkg/goast/ast.go:253
↓ 6 callersFunctionparseImageRepoAddr
resolving mirror repository host and name
cmd/sponge/commands/generate/common.go:312
↓ 6 callersFunctionqn
(t,e,i,s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctionqr
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionreplaceFileContentMark
(r replacer.Replacer, filename string, newContent string)
cmd/sponge/commands/generate/common.go:294
↓ 6 callersFunctionreplaceProtoMessageFieldCode
(code string, messageFields map[string]string)
pkg/sql2code/parser/parser.go:1102
↓ 6 callersFunctionsaveGenInfo
save the moduleName and serverName to the specified file for external use
cmd/sponge/commands/generate/common.go:369
↓ 6 callersFunctionserverCodeFields
(serverType string, moduleName string, serverName string)
cmd/sponge/commands/generate/common.go:691
↓ 6 callersFunctionso
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callersMethodstartOf
()
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callersFunctiontestLockAndUnlock
(initLocker func() Locker, isBlock bool, t *testing.T)
pkg/dlock/redis_test.go:70
↓ 6 callersFunctionue
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 6 callersMethodvalid
()
pkg/nacoscli/nacos.go:34
↓ 6 callersFunctionxr
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callersFunctionye
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 6 callersFunctionyi
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callersFunctionzl
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:43
↓ 5 callersMethodAppend
Append appends the given value to the bucket where index equals the given offset.
pkg/shield/window/window.go:79
↓ 5 callersFunctionBe
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 5 callersFunctionBt
(e,t,n,r)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 5 callersMethodCheckValid
CheckValid check valid
pkg/mgo/query/query_condition.go:597
↓ 5 callersFunctionClientCtxRequestID
ClientCtxRequestID get request id from rpc client context.Context
pkg/grpc/interceptor/requstid.go:45
↓ 5 callersFunctionClose
Close close gorm db
pkg/sgorm/dbclose/close.go:13
↓ 5 callersMethodClose
Close closes the connection. Note: if set pingDialInterval, the Close method must be called, otherwise it will cause the goroutine to leak
pkg/ws/client.go:214
↓ 5 callersFunctionCloseRedis
CloseRedis close redis
internal/database/redis.go:85
↓ 5 callersFunctionCloseServerNameExampleRPCConn
CloseServerNameExampleRPCConn Close tears down the ClientConn and all underlying connections.
internal/rpcclient/serverNameExample.go:110
↓ 5 callersFunctionConvert
Convert json or yaml to go struct
pkg/jy2struct/covert.go:53
↓ 5 callersMethodEnqueue
Enqueue enqueues the given task to a queue.
pkg/sasynq/client.go:29
↓ 5 callersFunctionFindSubBytesNotIn
FindSubBytesNotIn find substrings, excluding start and end tags
pkg/gofile/fileContent.go:50
↓ 5 callersFunctionFmtFieldName
FmtFieldName formats a string as a struct key Example: FmtFieldName("foo_id") Output: FooID
pkg/jy2struct/jy2struct.go:269
↓ 5 callersFunctionGCtxRequestID
GCtxRequestID get request id from gin.Context
pkg/gin/middleware/requstid.go:107
↓ 5 callersMethodGet
Get custom field value by key, if not found, return false
pkg/jwt/jwt.go:18
↓ 5 callersMethodGet
(ctx context.Context, id uint64)
internal/cache/userExample.go:29
↓ 5 callersMethodGetBackends
GetBackends implement the Balancer interface
pkg/proxykit/balancer.go:60
↓ 5 callersMethodGetConn
GetConn returns the connection of the client.
pkg/ws/client.go:122
↓ 5 callersFunctionGetErrorCode
GetErrorCode get Error code from error returned by http invoke
pkg/errcode/http_error.go:203
↓ 5 callersFunctionGetFileSuffixName
GetFileSuffixName get file suffix name, example: ".txt"
pkg/gofile/filePath.go:37
↓ 5 callersMethodHandleAddBackends
HandleAddBackends handles the HTTP request to add new backends to a route.
pkg/proxykit/router.go:83
↓ 5 callersMethodHandleRemoveBackends
HandleRemoveBackends handles the HTTP request to remove backends from a route.
pkg/proxykit/router.go:122
↓ 5 callersMethodHas
Has checked if key exists
pkg/sse/safemap.go:39
↓ 5 callersFunctionInit
Init Initialize tracer, parameter fraction is fraction, default is 1.0, value >= 1.0 means all links are sampled, value <= 0 means all are not sampled
pkg/tracer/tracerProvider.go:17
↓ 5 callersFunctionInit
Init initialize jwt Deprecated: build jwt.Init() before use
pkg/jwt/old_jwt/jwt.go:18
↓ 5 callersFunctionInitAsyncProducer
InitAsyncProducer init async producer.
pkg/kafka/producer.go:104
← previousnext →601–700 of 5,724, ranked by callers