MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 1 callersFunctionnumbers_runner
(data any, wantErr error, wantCSV []K, wantStringified string)
sql/dmltype/number_test.go:34
↓ 1 callersMethodonStream
onStream runs in a goroutine
sql/myreplicator/binlogsyncer.go:636
↓ 1 callersFunctionparseCol
(c *config, s string)
sql/dmltest/csv.go:150
↓ 1 callersMethodparseCookie
(dst *csjwt.Token, keyFunc csjwt.Keyfunc, req *http.Request)
util/csjwt/jwthttp/request.go:95
↓ 1 callersFunctionparseDateWith
(s string, dates []string, loc *time.Location)
util/conv/caste.go:748
↓ 1 callersFunctionparseDuration
(keys []string, ds []*time.Duration, params gourl.Values)
storage/objcache/objcacheredis/redis.go:48
↓ 1 callersFunctionparseECPrivateKeyFromPEM
Parse PEM encoded Elliptic Curve Private Key Structure
util/csjwt/ecdsa_utils.go:12
↓ 1 callersMethodparseEvent
(s *BinlogStream, data []byte)
sql/myreplicator/binlogsyncer.go:728
↓ 1 callersMethodparseForm
(dst *csjwt.Token, keyFunc csjwt.Keyfunc, req *http.Request)
util/csjwt/jwthttp/request.go:103
↓ 1 callersMethodparseFormatDescriptionEvent
(r io.Reader, onEvent OnEventFunc)
sql/myreplicator/parser.go:89
↓ 1 callersFunctionparseInt
(keys []string, ds []*int, params gourl.Values)
storage/objcache/objcacheredis/redis.go:61
↓ 1 callersFunctionparseRSAPrivateKeyFromPEM
Parse PEM encoded PKCS1 or PKCS8 private key. Provide optionally a password if key is encrypted.
util/csjwt/rsa_utils.go:27
↓ 1 callersFunctionparseRSAPublicKeyFromPEM
Parse PEM encoded PKCS1 or PKCS8 public key
util/csjwt/rsa_utils.go:64
↓ 1 callersFunctionparseToken
(token string)
net/csgrpc/auth/example_test.go:28
↓ 1 callersFunctionpooledInterfacesGet
()
sql/dml/dbr.go:916
↓ 1 callersFunctionpooledInterfacesPut
(args []any)
sql/dml/dbr.go:920
↓ 1 callersMethodpopulateSamples
(lang, cat string)
util/pseudo/fake.go:361
↓ 1 callersMethodprepareQueryAndArgsInsert
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 callersMethodprepareSyncGTID
(gset mysql.GTIDSet)
sql/myreplicator/binlogsyncer.go:620
↓ 1 callersFunctionprintJSON
Print a json object in accordance with the prophecy (or the command line options)
util/csjwt/cmd/jwt/app.go:87
↓ 1 callersFunctionprintNamedValues
(w io.Writer, namedArgs []driver.NamedValue)
sql/dmltest/connect.go:184
↓ 1 callersMethodprintStat
()
sync/bgwork/auto_scaling.go:129
↓ 1 callersMethodprocessRowsEventHandler
(ctx context.Context, action string, table *ddl.Table, rows [][]any)
sql/mycanal/handler.go:59
↓ 1 callersMethodpublish
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 callersFunctionpurgeHeader
(ctx context.Context, header string)
net/csgrpc/auth/service.go:349
↓ 1 callersFunctionrandInt
(min int, max int)
sync/bgwork/auto_scaling_test.go:48
↓ 1 callersMethodrandomString
(n uint64)
util/pseudo/fake.go:757
↓ 1 callersFunctionread
(p []byte, uint64 func() uint64, readVal *uint64, readPos *int8)
util/pseudo/locked_source.go:45
↓ 1 callersMethodreadFile
(lang, cat string)
util/pseudo/fake.go:377
↓ 1 callersMethodregisterSlave
()
sql/myreplicator/binlogsyncer.go:196
↓ 1 callersMethodremoveElement
(e *list.Element)
config/storage/lru.go:103
↓ 1 callersMethodremoveOldest
()
config/storage/lru.go:95
↓ 1 callersMethodreplySemiSyncACK
(p ddl.MasterStatus)
sql/myreplicator/binlogsyncer.go:552
↓ 1 callersMethodrequestRateLimit
(r *http.Request)
net/ratelimit/scopedConfig.go:72
↓ 1 callersFunctionrequest_StoreService_AddGroup_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:171
↓ 1 callersFunctionrequest_StoreService_AddStore_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:231
↓ 1 callersFunctionrequest_StoreService_AddWebsite_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:111
↓ 1 callersFunctionrequest_StoreService_AllowedStores_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:94
↓ 1 callersFunctionrequest_StoreService_DefaultStoreID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:60
↓ 1 callersFunctionrequest_StoreService_DefaultStoreView_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:51
↓ 1 callersFunctionrequest_StoreService_DeleteGroup_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:192
↓ 1 callersFunctionrequest_StoreService_DeleteStore_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:252
↓ 1 callersFunctionrequest_StoreService_DeleteWebsite_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:132
↓ 1 callersFunctionrequest_StoreService_GroupByID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:209
↓ 1 callersFunctionrequest_StoreService_IsAllowedStoreID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:34
↓ 1 callersFunctionrequest_StoreService_ListGroups_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:222
↓ 1 callersFunctionrequest_StoreService_ListStores_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:282
↓ 1 callersFunctionrequest_StoreService_ListWebsites_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:162
↓ 1 callersFunctionrequest_StoreService_StoreByID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:269
↓ 1 callersFunctionrequest_StoreService_StoreIDbyCode_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:77
↓ 1 callersFunctionrequest_StoreService_WebsiteByID_0
(ctx context.Context, marshaler runtime.Marshaler, client StoreServiceClient, req *http.Request, pathParams ma
store/service.pb.gw.go:149
↓ 1 callersMethodretrySync
()
sql/myreplicator/binlogsyncer.go:574
↓ 1 callersMethodrun
run gets executed in its own goroutine
sql/mycanal/canal.go:418
↓ 1 callersMethodrun
()
_codegen/tableToStruct/generator.go:58
↓ 1 callersMethodrunEAValueTables
()
_codegen/tableToStruct/generator.go:253
↓ 1 callersMethodrunHeader
()
_codegen/tableToStruct/generator.go:172
↓ 1 callersMethodrunStateCheckers
()
config/storage/db_client.go:198
↓ 1 callersMethodrunTable
()
_codegen/tableToStruct/generator.go:193
↓ 1 callersMethodsendMsg
sendMsg sends the arg into the channel
config/service_pubsub.go:128
↓ 1 callersMethodsendMsgRecoverable
(id int, sl MessageReceiver, p Path)
config/service_pubsub.go:196
↓ 1 callersMethodsendMsgs
(subs map[int]MessageReceiver, p Path)
config/service_pubsub.go:184
↓ 1 callersMethodserializerType
serializerType converts the column type to the supported type of the current serializer. For now supports only protobuf.
sql/dmlgen/typemap.go:513
↓ 1 callersFunctionserveFile
(dir, file string, p Print)
net/response/response.go:265
↓ 1 callersMethodsetMagentoVersion
(v int)
_codegen/tableToStruct/generator.go:75
↓ 1 callersFunctionsetRateLimitHeaders
(w http.ResponseWriter, rlr throttled.RateLimitResult)
net/ratelimit/service_mw.go:78
↓ 1 callersMethodsetStoreCookie
(storeCode string, w http.ResponseWriter, r *http.Request)
net/runmode/code.go:127
↓ 1 callersMethodsetupEnv
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 callersMethodshouldEnableHotReload
()
config/service.go:170
↓ 1 callersFunctionshuffledInts
(size int)
sql/dml/benchmark_integration_test.go:281
↓ 1 callersFunctionsignToken
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 callersMethodsleepPerServeHTTP
(userID int)
util/cstesting/http_users.go:78
↓ 1 callersMethodsort
()
store/service.go:134
↓ 1 callersFunctionsplitServerVersion
server version format X.Y.Zabc, a is not . or number
sql/myreplicator/event.go:117
↓ 1 callersFunctionsqlIfNullQuote4
(w *bytes.Buffer, qualifierName ...string)
sql/dml/expression.go:94
↓ 1 callersFunctionstart
Figure out which thing to do and then do that
util/csjwt/cmd/jwt/app.go:55
↓ 1 callersMethodstartStream
()
sql/mycanal/sync.go:66
↓ 1 callersMethodstartSyncBinlog
(ctxArg context.Context)
sql/mycanal/sync.go:91
↓ 1 callersFunctionstrSliceToIFaces
(ret []any, sl []K)
storage/objcache/objcacheredis/redis.go:246
↓ 1 callersMethodstreetSuffix
()
util/pseudo/addresses.go:62
↓ 1 callersMethodstring
(code int, data []byte)
net/response/response.go:136
↓ 1 callersMethodterminateWaiting
()
sync/bgwork/auto_scaling.go:75
↓ 1 callersFunctiontestCurrencyWorker
(t *testing.T, cf i18n.CurrencyFormatter, id int, queue chan fmtNumberData, wg *sync.WaitGroup)
i18n/currency_test.go:274
↓ 1 callersFunctiontestHandler
(fa interface { Fatalf(format string, args ...interface{}) })
net/cors/backendcors/bench_test.go:30
↓ 1 callersFunctiontestNumberWorker
(t *testing.T, nf i18n.NumberFormatter, id int, queue chan fmtNumberData, wg *sync.WaitGroup)
i18n/number_test.go:244
↓ 1 callersMethodtext
(atLeast, atMost int, allowLower, allowUpper, allowNumeric, allowSpecial bool)
util/pseudo/general.go:17
↓ 1 callersMethodtoArgs
()
sql/dmlgen/proto.go:69
↓ 1 callersFunctiontoLower
(_ config.Path, data []byte)
config/observer/modifier.go:147
↓ 1 callersMethodtoSerializerType
(c *ddl.Column, withNull bool)
sql/dmlgen/typemap.go:493
↓ 1 callersMethodtoString
()
_codegen/database.go:378
↓ 1 callersFunctiontoTitle
(_ config.Path, data []byte)
config/observer/modifier.go:151
↓ 1 callersFunctiontoUpper
(_ config.Path, data []byte)
config/observer/modifier.go:143
↓ 1 callersMethodtransitionState
(oldState, newState stateID)
sync/bgwork/auto_scaling.go:105
↓ 1 callersFunctiontrim
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 callersFunctionunquoteIfQuoted
(b []byte)
storage/null/decimal.go:360
↓ 1 callersMethodupdateInplace
(element *list.Element, value Value)
storage/lru/lru_cache.go:251
↓ 1 callersFunctionuserClaimFromToken
(struct{})
net/csgrpc/auth/example_test.go:32
↓ 1 callersFunctionvalFoundStringer
(found uint8)
config/value.go:42
↓ 1 callersFunctionvalidImportPath
(ad *AttributeModelDef, ip []string, targetPkg string)
_codegen/database.go:396
↓ 1 callersMethodvalidate
()
store/service.go:214
↓ 1 callersFunctionvalidateFoundGet
(t *testing.T, s config.Storager, scp scope.TypeID, route, want string)
config/storage/common_test.go:31
← previousnext →3,001–3,100 of 7,620, ranked by callers