Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corestoreio/pkg
/ functions
Functions
7,620 in github.com/corestoreio/pkg
⨍
Functions
7,620
◇
Types & classes
965
↓ 1 callers
Function
numbers_runner
(data any, wantErr error, wantCSV []K, wantStringified string)
sql/dmltype/number_test.go:34
↓ 1 callers
Method
onStream
onStream runs in a goroutine
sql/myreplicator/binlogsyncer.go:636
↓ 1 callers
Function
parseCol
(c *config, s string)
sql/dmltest/csv.go:150
↓ 1 callers
Method
parseCookie
(dst *csjwt.Token, keyFunc csjwt.Keyfunc, req *http.Request)
util/csjwt/jwthttp/request.go:95
↓ 1 callers
Function
parseDateWith
(s string, dates []string, loc *time.Location)
util/conv/caste.go:748
↓ 1 callers
Function
parseDuration
(keys []string, ds []*time.Duration, params gourl.Values)
storage/objcache/objcacheredis/redis.go:48
↓ 1 callers
Function
parseECPrivateKeyFromPEM
Parse PEM encoded Elliptic Curve Private Key Structure
util/csjwt/ecdsa_utils.go:12
↓ 1 callers
Method
parseEvent
(s *BinlogStream, data []byte)
sql/myreplicator/binlogsyncer.go:728
↓ 1 callers
Method
parseForm
(dst *csjwt.Token, keyFunc csjwt.Keyfunc, req *http.Request)
util/csjwt/jwthttp/request.go:103
↓ 1 callers
Method
parseFormatDescriptionEvent
(r io.Reader, onEvent OnEventFunc)
sql/myreplicator/parser.go:89
↓ 1 callers
Function
parseInt
(keys []string, ds []*int, params gourl.Values)
storage/objcache/objcacheredis/redis.go:61
↓ 1 callers
Function
parseRSAPrivateKeyFromPEM
Parse PEM encoded PKCS1 or PKCS8 private key. Provide optionally a password if key is encrypted.
util/csjwt/rsa_utils.go:27
↓ 1 callers
Function
parseRSAPublicKeyFromPEM
Parse PEM encoded PKCS1 or PKCS8 public key
util/csjwt/rsa_utils.go:64
↓ 1 callers
Function
parseToken
(token string)
net/csgrpc/auth/example_test.go:28
↓ 1 callers
Function
pooledInterfacesGet
()
sql/dml/dbr.go:916
↓ 1 callers
Function
pooledInterfacesPut
(args []any)
sql/dml/dbr.go:920
↓ 1 callers
Method
populateSamples
(lang, cat string)
util/pseudo/fake.go:361
↓ 1 callers
Method
prepareQueryAndArgsInsert
prepareQueryAndArgsInsert prepares the special arguments for an INSERT statement. The returned interface slice is the same as the `extArgs` slice. ext
sql/dml/dbr.go:670
↓ 1 callers
Method
prepareSyncGTID
(gset mysql.GTIDSet)
sql/myreplicator/binlogsyncer.go:620
↓ 1 callers
Function
printJSON
Print a json object in accordance with the prophecy (or the command line options)
util/csjwt/cmd/jwt/app.go:87
↓ 1 callers
Function
printNamedValues
(w io.Writer, namedArgs []driver.NamedValue)
sql/dmltest/connect.go:184
↓ 1 callers
Method
printStat
()
sync/bgwork/auto_scaling.go:129
↓ 1 callers
Method
processRowsEventHandler
(ctx context.Context, action string, table *ddl.Table, rows [][]any)
sql/mycanal/handler.go:59
↓ 1 callers
Method
publish
publish runs in a Goroutine and listens on the channel publishArg. Every time a message is coming in, it calls all subscribers. We must run asynchrono
config/service_pubsub.go:137
↓ 1 callers
Function
purgeHeader
(ctx context.Context, header string)
net/csgrpc/auth/service.go:349
↓ 1 callers
Function
randInt
(min int, max int)
sync/bgwork/auto_scaling_test.go:48
↓ 1 callers
Method
randomString
(n uint64)
util/pseudo/fake.go:757
↓ 1 callers
Function
read
(p []byte, uint64 func() uint64, readVal *uint64, readPos *int8)
util/pseudo/locked_source.go:45
↓ 1 callers
Method
readFile
(lang, cat string)
util/pseudo/fake.go:377
↓ 1 callers
Method
registerSlave
()
sql/myreplicator/binlogsyncer.go:196
↓ 1 callers
Method
removeElement
(e *list.Element)
config/storage/lru.go:103
↓ 1 callers
Method
removeOldest
()
config/storage/lru.go:95
↓ 1 callers
Method
replySemiSyncACK
(p ddl.MasterStatus)
sql/myreplicator/binlogsyncer.go:552
↓ 1 callers
Method
requestRateLimit
(r *http.Request)
net/ratelimit/scopedConfig.go:72
↓ 1 callers
Function
request_StoreService_AddGroup_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:171
↓ 1 callers
Function
request_StoreService_AddStore_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:231
↓ 1 callers
Function
request_StoreService_AddWebsite_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:111
↓ 1 callers
Function
request_StoreService_AllowedStores_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:94
↓ 1 callers
Function
request_StoreService_DefaultStoreID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:60
↓ 1 callers
Function
request_StoreService_DefaultStoreView_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:51
↓ 1 callers
Function
request_StoreService_DeleteGroup_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:192
↓ 1 callers
Function
request_StoreService_DeleteStore_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:252
↓ 1 callers
Function
request_StoreService_DeleteWebsite_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:132
↓ 1 callers
Function
request_StoreService_GroupByID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:209
↓ 1 callers
Function
request_StoreService_IsAllowedStoreID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:34
↓ 1 callers
Function
request_StoreService_ListGroups_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:222
↓ 1 callers
Function
request_StoreService_ListStores_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:282
↓ 1 callers
Function
request_StoreService_ListWebsites_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:162
↓ 1 callers
Function
request_StoreService_StoreByID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:269
↓ 1 callers
Function
request_StoreService_StoreIDbyCode_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:77
↓ 1 callers
Function
request_StoreService_WebsiteByID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:149
↓ 1 callers
Method
retrySync
()
sql/myreplicator/binlogsyncer.go:574
↓ 1 callers
Method
run
run gets executed in its own goroutine
sql/mycanal/canal.go:418
↓ 1 callers
Method
run
()
_codegen/tableToStruct/generator.go:58
↓ 1 callers
Method
runEAValueTables
()
_codegen/tableToStruct/generator.go:253
↓ 1 callers
Method
runHeader
()
_codegen/tableToStruct/generator.go:172
↓ 1 callers
Method
runStateCheckers
()
config/storage/db_client.go:198
↓ 1 callers
Method
runTable
()
_codegen/tableToStruct/generator.go:193
↓ 1 callers
Method
sendMsg
sendMsg sends the arg into the channel
config/service_pubsub.go:128
↓ 1 callers
Method
sendMsgRecoverable
(id int, sl MessageReceiver, p Path)
config/service_pubsub.go:196
↓ 1 callers
Method
sendMsgs
(subs map[int]MessageReceiver, p Path)
config/service_pubsub.go:184
↓ 1 callers
Method
serializerType
serializerType converts the column type to the supported type of the current serializer. For now supports only protobuf.
sql/dmlgen/typemap.go:513
↓ 1 callers
Function
serveFile
(dir, file string, p Print)
net/response/response.go:265
↓ 1 callers
Method
setMagentoVersion
(v int)
_codegen/tableToStruct/generator.go:75
↓ 1 callers
Function
setRateLimitHeaders
(w http.ResponseWriter, rlr throttled.RateLimitResult)
net/ratelimit/service_mw.go:78
↓ 1 callers
Method
setStoreCookie
(storeCode string, w http.ResponseWriter, r *http.Request)
net/runmode/code.go:127
↓ 1 callers
Method
setupEnv
setupEnv assigns the service environment name from the OS environment to the field envName. envName gets later used as path suffix.
config/service.go:149
↓ 1 callers
Method
shouldEnableHotReload
()
config/service.go:170
↓ 1 callers
Function
shuffledInts
(size int)
sql/dml/benchmark_integration_test.go:281
↓ 1 callers
Function
signToken
Create, sign, and output a token. This is a great, simple example of how to use this library to create and sign a token.
util/csjwt/cmd/jwt/app.go:164
↓ 1 callers
Method
sleepPerServeHTTP
(userID int)
util/cstesting/http_users.go:78
↓ 1 callers
Method
sort
()
store/service.go:134
↓ 1 callers
Function
splitServerVersion
server version format X.Y.Zabc, a is not . or number
sql/myreplicator/event.go:117
↓ 1 callers
Function
sqlIfNullQuote4
(w *bytes.Buffer, qualifierName ...string)
sql/dml/expression.go:94
↓ 1 callers
Function
start
Figure out which thing to do and then do that
util/csjwt/cmd/jwt/app.go:55
↓ 1 callers
Method
startStream
()
sql/mycanal/sync.go:66
↓ 1 callers
Method
startSyncBinlog
(ctxArg context.Context)
sql/mycanal/sync.go:91
↓ 1 callers
Function
strSliceToIFaces
(ret []any, sl []K)
storage/objcache/objcacheredis/redis.go:246
↓ 1 callers
Method
streetSuffix
()
util/pseudo/addresses.go:62
↓ 1 callers
Method
string
(code int, data []byte)
net/response/response.go:136
↓ 1 callers
Method
terminateWaiting
()
sync/bgwork/auto_scaling.go:75
↓ 1 callers
Function
testCurrencyWorker
(t *testing.T, cf i18n.CurrencyFormatter, id int, queue chan fmtNumberData, wg *sync.WaitGroup)
i18n/currency_test.go:274
↓ 1 callers
Function
testHandler
(fa interface { Fatalf(format string, args ...interface{}) })
net/cors/backendcors/bench_test.go:30
↓ 1 callers
Function
testNumberWorker
(t *testing.T, nf i18n.NumberFormatter, id int, queue chan fmtNumberData, wg *sync.WaitGroup)
i18n/number_test.go:244
↓ 1 callers
Method
text
(atLeast, atMost int, allowLower, allowUpper, allowNumeric, allowSpecial bool)
util/pseudo/general.go:17
↓ 1 callers
Method
toArgs
()
sql/dmlgen/proto.go:69
↓ 1 callers
Function
toLower
(_ config.Path, data []byte)
config/observer/modifier.go:147
↓ 1 callers
Method
toSerializerType
(c *ddl.Column, withNull bool)
sql/dmlgen/typemap.go:493
↓ 1 callers
Method
toString
()
_codegen/database.go:378
↓ 1 callers
Function
toTitle
(_ config.Path, data []byte)
config/observer/modifier.go:151
↓ 1 callers
Function
toUpper
(_ config.Path, data []byte)
config/observer/modifier.go:143
↓ 1 callers
Method
transitionState
(oldState, newState stateID)
sync/bgwork/auto_scaling.go:105
↓ 1 callers
Function
trim
as long as we don't see a use case for those modifiers in other packages, they stay private. might be refactored later.
config/observer/modifier.go:139
↓ 1 callers
Function
unquoteIfQuoted
(b []byte)
storage/null/decimal.go:360
↓ 1 callers
Method
updateInplace
(element *list.Element, value Value)
storage/lru/lru_cache.go:251
↓ 1 callers
Function
userClaimFromToken
(struct{})
net/csgrpc/auth/example_test.go:32
↓ 1 callers
Function
valFoundStringer
(found uint8)
config/value.go:42
↓ 1 callers
Function
validImportPath
(ad *AttributeModelDef, ip []string, targetPkg string)
_codegen/database.go:396
↓ 1 callers
Method
validate
()
store/service.go:214
↓ 1 callers
Function
validateFoundGet
(t *testing.T, s config.Storager, scp scope.TypeID, route, want string)
config/storage/common_test.go:31
← previous
next →
3,001–3,100 of 7,620, ranked by callers