Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-dev-frame/sponge
/ functions
Functions
5,724 in github.com/go-dev-frame/sponge
⨍
Functions
5,724
◇
Types & classes
811
↓ 6 callers
Function
Pi
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
Qi
(e,t,n,i)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
S
(e,t,n,r,l,u)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
ServerCtxRequestID
ServerCtxRequestID get request id from rpc server context.Context
pkg/grpc/interceptor/requstid.go:98
↓ 6 callers
Method
SetBody
SetBody set body data, support string and []byte, if it is not string, it will be json marshal.
pkg/httpcli/httpcli.go:90
↓ 6 callers
Method
SetCacheWithNotFound
(ctx context.Context, key string)
pkg/cache/cache.go:33
↓ 6 callers
Method
SetParams
SetParams parameters after setting the URL
pkg/httpcli/httpcli.go:69
↓ 6 callers
Function
SliceData1
-------------------------------------------------
pkg/copier/copy_test.go:185
↓ 6 callers
Method
Success
(ctx *gin.Context, data interface{})
pkg/errcode/response.go:19
↓ 6 callers
Function
Ti
(e,t,n)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Method
Trace
Trace print sql message
pkg/sgorm/glog/glog.go:69
↓ 6 callers
Method
Type
Type exchange type
pkg/rabbitmq/common.go:39
↓ 6 callers
Function
Ut
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Method
Validate
()
pkg/httpsrv/tls_remote_api.go:85
↓ 6 callers
Function
Vi
()
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:43
↓ 6 callers
Function
WithBucket
WithBucket set the bucket number in a window duration.
pkg/shield/circuitbreaker/sre.go:63
↓ 6 callers
Function
WithGenerateTokenSignMethod
WithGenerateTokenSignMethod set sign method value
pkg/jwt/option.go:147
↓ 6 callers
Function
WithMaxRetry
--- Task Option Helpers --- WithMaxRetry specifies the max number of times the task will be retried.
pkg/sasynq/task.go:55
↓ 6 callers
Function
WithQueue
WithQueue specifies which queue the task should be sent to.
pkg/sasynq/task.go:75
↓ 6 callers
Function
WithRequest
WithRequest with the minimum number of requests allowed.
pkg/shield/circuitbreaker/sre.go:49
↓ 6 callers
Function
WithSuccess
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 callers
Function
WithWindow
WithWindow with the duration size of the statistical window.
pkg/shield/circuitbreaker/sre.go:56
↓ 6 callers
Function
Xt
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
Zr
(e,t,n,i)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Method
_notify
(t,e,i,s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Method
_sync
(t)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
ao
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callers
Function
bo
(e,t,n)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
compareVersion
v1 >= v2 return true v1 < v2 return false
cmd/sponge/commands/upgrade.go:275
↓ 6 callers
Method
createResolver
(t,e,i=[""],s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
currentcGroup
CurrentcGroup get current process cgroup
pkg/shield/cpu/cgroup.go:85
↓ 6 callers
Function
de
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 6 callers
Function
defaultLogOptions
()
pkg/grpc/interceptor/logging.go:143
↓ 6 callers
Function
defaultOptions
()
pkg/gin/proxy/proxy_option.go:26
↓ 6 callers
Function
defaultPassOptions
()
pkg/gin/proxy/proxy_option.go:77
↓ 6 callers
Function
discussHelloMethod
(ctx context.Context, client GreeterClient)
pkg/grpc/interceptor/requstid_test.go:90
↓ 6 callers
Function
el
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
fn
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callers
Function
g
(t)
cmd/sponge/commands/perftest/http/perftest/chart.js:7
↓ 6 callers
Function
getAssistantSuffixed
(assistantType string)
cmd/sponge/commands/assistant/common.go:500
↓ 6 callers
Method
getInstance
()
pkg/servicerd/registry/etcd/watcher.go:61
↓ 6 callers
Method
getMinMax
(t,e)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Method
getPointPosition
(t,e,i=0)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
getReadmeContent
(moduleName, serverName, serverType, dbDriver string, suitedMonoRepo bool)
cmd/sponge/commands/generate/common.go:884
↓ 6 callers
Method
getStyle
(t,e)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
getSugaredLogger
()
pkg/logger/logger.go:38
↓ 6 callers
Function
getTestData
()
pkg/gotest/cache_test.go:7
↓ 6 callers
Function
gi
(t,e,i,s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
ln
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
logFields
(queueName string, exchange *Exchange)
pkg/rabbitmq/producer.go:383
↓ 6 callers
Method
maxInFlight
()
pkg/shield/ratelimit/bbr.go:243
↓ 6 callers
Function
mergeElements
(i interface{})
pkg/jy2struct/jy2struct.go:431
↓ 6 callers
Method
minRT
()
pkg/shield/ratelimit/bbr.go:209
↓ 6 callers
Function
newStreamRPCClient
(addr string, streamClientInterceptors ...grpc.StreamClientInterceptor)
pkg/grpc/interceptor/requstid_test.go:60
↓ 6 callers
Function
newStreamRPCServer
(streamServerInterceptors ...grpc.StreamServerInterceptor)
pkg/grpc/interceptor/requstid_test.go:28
↓ 6 callers
Function
newUserExampleCache
()
internal/cache/userExample_test.go:16
↓ 6 callers
Function
ni
(t,e)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
parseBody
nolint
pkg/goast/ast.go:253
↓ 6 callers
Function
parseImageRepoAddr
resolving mirror repository host and name
cmd/sponge/commands/generate/common.go:312
↓ 6 callers
Function
qn
(t,e,i,s)
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
qr
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
replaceFileContentMark
(r replacer.Replacer, filename string, newContent string)
cmd/sponge/commands/generate/common.go:294
↓ 6 callers
Function
replaceProtoMessageFieldCode
(code string, messageFields map[string]string)
pkg/sql2code/parser/parser.go:1102
↓ 6 callers
Function
saveGenInfo
save the moduleName and serverName to the specified file for external use
cmd/sponge/commands/generate/common.go:369
↓ 6 callers
Function
serverCodeFields
(serverType string, moduleName string, serverName string)
cmd/sponge/commands/generate/common.go:691
↓ 6 callers
Function
so
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callers
Method
startOf
()
cmd/sponge/commands/perftest/http/perftest/chart.js:13
↓ 6 callers
Function
testLockAndUnlock
(initLocker func() Locker, isBlock bool, t *testing.T)
pkg/dlock/redis_test.go:70
↓ 6 callers
Function
ue
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 6 callers
Method
valid
()
pkg/nacoscli/nacos.go:34
↓ 6 callers
Function
xr
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 6 callers
Function
ye
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 6 callers
Function
yi
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:22
↓ 6 callers
Function
zl
(e,t)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:43
↓ 5 callers
Method
Append
Append appends the given value to the bucket where index equals the given offset.
pkg/shield/window/window.go:79
↓ 5 callers
Function
Be
(e)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:1
↓ 5 callers
Function
Bt
(e,t,n,r)
cmd/sponge/server/static/js/vendor.81645738747fb507a683.js:7
↓ 5 callers
Method
CheckValid
CheckValid check valid
pkg/mgo/query/query_condition.go:597
↓ 5 callers
Function
ClientCtxRequestID
ClientCtxRequestID get request id from rpc client context.Context
pkg/grpc/interceptor/requstid.go:45
↓ 5 callers
Function
Close
Close close gorm db
pkg/sgorm/dbclose/close.go:13
↓ 5 callers
Method
Close
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 callers
Function
CloseRedis
CloseRedis close redis
internal/database/redis.go:85
↓ 5 callers
Function
CloseServerNameExampleRPCConn
CloseServerNameExampleRPCConn Close tears down the ClientConn and all underlying connections.
internal/rpcclient/serverNameExample.go:110
↓ 5 callers
Function
Convert
Convert json or yaml to go struct
pkg/jy2struct/covert.go:53
↓ 5 callers
Method
Enqueue
Enqueue enqueues the given task to a queue.
pkg/sasynq/client.go:29
↓ 5 callers
Function
FindSubBytesNotIn
FindSubBytesNotIn find substrings, excluding start and end tags
pkg/gofile/fileContent.go:50
↓ 5 callers
Function
FmtFieldName
FmtFieldName formats a string as a struct key Example: FmtFieldName("foo_id") Output: FooID
pkg/jy2struct/jy2struct.go:269
↓ 5 callers
Function
GCtxRequestID
GCtxRequestID get request id from gin.Context
pkg/gin/middleware/requstid.go:107
↓ 5 callers
Method
Get
Get custom field value by key, if not found, return false
pkg/jwt/jwt.go:18
↓ 5 callers
Method
Get
(ctx context.Context, id uint64)
internal/cache/userExample.go:29
↓ 5 callers
Method
GetBackends
GetBackends implement the Balancer interface
pkg/proxykit/balancer.go:60
↓ 5 callers
Method
GetConn
GetConn returns the connection of the client.
pkg/ws/client.go:122
↓ 5 callers
Function
GetErrorCode
GetErrorCode get Error code from error returned by http invoke
pkg/errcode/http_error.go:203
↓ 5 callers
Function
GetFileSuffixName
GetFileSuffixName get file suffix name, example: ".txt"
pkg/gofile/filePath.go:37
↓ 5 callers
Method
HandleAddBackends
HandleAddBackends handles the HTTP request to add new backends to a route.
pkg/proxykit/router.go:83
↓ 5 callers
Method
HandleRemoveBackends
HandleRemoveBackends handles the HTTP request to remove backends from a route.
pkg/proxykit/router.go:122
↓ 5 callers
Method
Has
Has checked if key exists
pkg/sse/safemap.go:39
↓ 5 callers
Function
Init
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 callers
Function
Init
Init initialize jwt Deprecated: build jwt.Init() before use
pkg/jwt/old_jwt/jwt.go:18
↓ 5 callers
Function
InitAsyncProducer
InitAsyncProducer init async producer.
pkg/kafka/producer.go:104
← previous
next →
601–700 of 5,724, ranked by callers