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
↓ 3 callers
Method
decodeValue
(tp byte, data []byte)
sql/myreplicator/json_binary.go:96
↓ 3 callers
Method
do
(combined bool, r *http.Request)
net/auth/scopedConfig.go:149
↓ 3 callers
Function
dotPositions
dotPositions returns the position of the dots within the token slice and if the amount of dots are valid for a JWT.
util/csjwt/parser.go:209
↓ 3 callers
Function
encodeVarint
(dAtA []byte, offset int, v uint64)
sql/urlvalues/urlvaluesproto/values_vtproto.pb.go:115
↓ 3 callers
Method
exec
(exec1 dml.Execer)
sql/ddl/tables.go:66
↓ 3 callers
Function
extractJTI
extractJTI returns the token ID
net/jwt/jti.go:37
↓ 3 callers
Function
extractSQLIDPrefix
(rawSQL string)
sql/dml/connection.go:517
↓ 3 callers
Method
flushBuf
flushBuf replaces the typographical symbol sign with the real sign.
i18n/currency.go:270
↓ 3 callers
Method
fromCookie
fromCookie extracts a store from a cookie using the field name FieldName as an identifier.
net/runmode/code.go:92
↓ 3 callers
Method
fullName
(gender string)
util/pseudo/names.go:138
↓ 3 callers
Method
getCacheFileName
(key string)
storage/objcache/file.go:208
↓ 3 callers
Function
grpcServer
(t *testing.T, port string, or config.ObserverRegisterer, stop <-chan struct{})
config/observer/proto_test.go:81
↓ 3 callers
Function
hashSQL
hashSQL removes spaces and transforms the SQL to all lowercase and hashes it, to avoid minor duplicates ... maybe that is not worth. refactor later.
sql/dml/connection.go:668
↓ 3 callers
Function
iFaceToArgs
(args []any, values ...any)
sql/dml/argument.go:745
↓ 3 callers
Method
initKeyFunc
initKeyFunc generates a closure for a specific scope to compare if the algorithm in the token matches with the current algorithm.
net/jwt/scopedConfig.go:134
↓ 3 callers
Function
isConvertibleType
(k reflect.Kind)
util/pseudo/fake.go:651
↓ 3 callers
Function
isTest
Stolen from the `go test` tool. isTest tells whether name looks like a test (or benchmark, according to prefix). It is a Test (say) if there is a char
util/assert/assertions.go:151
↓ 3 callers
Method
isValid
isValid check if the scoped configuration is valid when: - Authenticator - UnauthorizedHandler has been set and no other previous error has occurr
net/auth/scopedConfig.go:60
↓ 3 callers
Method
isValid
isValid a configuration for a scope is only then valid when several fields are not empty: HeaderParseWriter and AllowedMethods OR disabled for current
net/signed/scopedConfig.go:96
↓ 3 callers
Method
isValid
isValid returns nil if the scoped configuration os valid otherwise a detailed error.
net/internal/scopedservice/service_mock.go:46
↓ 3 callers
Method
isValid
isValid a configuration for a scope is only then valid when - ScopeID set - min 1x allowedMethods set - Logger not nil
net/cors/scopedConfig.go:61
↓ 3 callers
Method
isValid
isValid a configuration for a scope is only then valid when the Key has been supplied, a non-nil signing method and a non-nil Verifier.
net/geoip/scopedConfig.go:58
↓ 3 callers
Method
isValid
isValid a configuration for a scope is only then valid when several fields are not empty: RateLimiter, DeniedHandler and VaryByer.
net/ratelimit/scopedConfig.go:59
↓ 3 callers
Method
isValid
(val string)
config/observer/validator.go:193
↓ 3 callers
Function
makeSample
(c jwtclaim.Map)
util/csjwt/parser_test.go:128
↓ 3 callers
Function
makeSample
(c jwtclaim.Map)
util/csjwt/jwthttp/request_test.go:18
↓ 3 callers
Method
moveToFront
(element *list.Element)
storage/lru/lru_cache.go:261
↓ 3 callers
Function
mustCheckCloseErr
(c io.Closer)
store/codegen_main.go:127
↓ 3 callers
Function
mustCheckCloseErr
(c io.Closer)
config/storage/db_client_main.go:84
↓ 3 callers
Function
mustGetTypeDef
(mysqlDataType, serializer string)
sql/dmlgen/typemap.go:382
↓ 3 callers
Function
newHSFast
(a string, h crypto.Hash, key Key)
util/csjwt/hmac_fast_sha.go:34
↓ 3 callers
Function
newLID
(id int64, err error)
sql/dmltest/connect_test.go:74
↓ 3 callers
Function
newNullTypedRecordWithData
()
storage/null/null_pub_test.go:208
↓ 3 callers
Function
newScopedConfig
(target, parent scope.TypeID)
net/internal/scopedservice/service_mock.go:50
↓ 3 callers
Function
newSigningMethodECDSA
(n string, h crypto.Hash, keySize, curveBits int)
util/csjwt/ecdsa.go:21
↓ 3 callers
Function
newSigningMethodHMAC
(n string, h crypto.Hash)
util/csjwt/hmac_sha.go:17
↓ 3 callers
Function
newSigningMethodRSA
(n string, h crypto.Hash)
util/csjwt/rsa.go:17
↓ 3 callers
Function
newSigningMethodRSAPSS
(n string, h crypto.Hash)
util/csjwt/rsa_pss.go:18
↓ 3 callers
Function
newTestCanal
(t *testing.T)
sql/mycanal/canal_pub_test.go:126
↓ 3 callers
Function
parseDateTime
(str string, loc *time.Location)
config/value.go:577
↓ 3 callers
Method
parseSingleEvent
(r io.Reader, onEvent OnEventFunc)
sql/myreplicator/parser.go:99
↓ 3 callers
Function
parseTimeString
(s string)
sql/urlvalues/values.go:128
↓ 3 callers
Method
patronymic
(gender string)
util/pseudo/names.go:49
↓ 3 callers
Method
poolGetRawItems
()
storage/objcache/service.go:196
↓ 3 callers
Method
poolPutRawItems
(ri *rawItems[K])
storage/objcache/service.go:200
↓ 3 callers
Method
prepare
()
sql/myreplicator/binlogsyncer.go:337
↓ 3 callers
Function
processFile
(file string, s *config.Service, cb func(config.Setter, io.Reader) error)
config/storage/options.go:31
↓ 3 callers
Method
qualifier
qualifier returns the correct qualifier for an identifier
sql/dml/naming.go:91
↓ 3 callers
Method
reset
()
sql/dml/argument_encoder.go:88
↓ 3 callers
Function
runHTTPTestCases
(t *testing.T, h http.Handler, cs []httpTestCase)
net/ratelimit/service_test.go:282
↓ 3 callers
Method
setColumns
(cols []string)
sql/dml/mapper.go:108
↓ 3 callers
Function
sov
(x uint64)
storage/null/vtproto.go:31
↓ 3 callers
Function
strInSlice
(search string, sl []string)
sql/dml/insert.go:359
↓ 3 callers
Method
string
when needed func (d Decimal) AppendString(b []byte) []byte { buf := bytes.NewBuffer(b) d.string(buf) return buf.Bytes() }
storage/null/decimal.go:249
↓ 3 callers
Function
testBackendConfiguration
( t *testing.T, httpRequestURL string, pv cfgmock.PathValue, assertResponse func(*httptest.ResponseRecorder
net/ratelimit/backendratelimit/integration_test.go:154
↓ 3 callers
Function
testBackend_WithGeoIP2Webservice_Redis
( hcf func() *http.Client, finalHandler func(t *testing.T) http.Handler, wantCode int, )
net/geoip/maxmindwebservice/options_test.go:96
↓ 3 callers
Function
testCountry
(p *objcache.Service[string], key string)
storage/objcache/internal/testing.go:167
↓ 3 callers
Method
testPositionSync
(tst *testing.T)
sql/myreplicator/replication_test.go:321
↓ 3 callers
Function
testStoreSlice
(p *objcache.Service[string], key string)
storage/objcache/internal/testing.go:207
↓ 3 callers
Method
update
update recalculates the internal cached columns
sql/ddl/table.go:181
↓ 3 callers
Function
withContext
withContext creates a new context with csjwt.Token attached.
net/jwt/context.go:30
↓ 3 callers
Function
writeBytes
(w *bytes.Buffer, p []byte)
sql/dml/builder.go:279
↓ 3 callers
Function
writeFile
(outFile string, wFn func(io.Writer, io.Writer) error)
store/codegen_main.go:103
↓ 3 callers
Function
writeLabeledBool
(buf *bytes.Buffer, label string)
storage/null/decimal.go:355
↓ 3 callers
Function
writeMarshal
(buf *bytes.Buffer, m func() ([]byte, error))
storage/objcache/service.go:69
↓ 3 callers
Method
writeOnDuplicateKey
(buf *bytes.Buffer, placeHolders []string)
sql/dml/insert.go:334
↓ 2 callers
Method
Alg
Alg returns the alg identifier for this method (example: 'HS256')
util/csjwt/signing_method.go:30
↓ 2 callers
Method
All
All applies DefaultID, WebsiteID and StoreID scopes
store/scope/perm.go:66
↓ 2 callers
Method
All
All returns true if all of the int64s in the slice satisfy the predicate f.
util/slices/int64.go:98
↓ 2 callers
Method
All
All returns true if all of the strings in the slice satisfy the predicate f.
util/slices/string.go:96
↓ 2 callers
Method
Allow
Allow only columnName__operators are allowed
sql/urlvalues/url_filter.go:45
↓ 2 callers
Method
Any
Any returns true if one of the int64s in the slice satisfies the predicate f.
util/slices/int64.go:88
↓ 2 callers
Method
Any
Any returns true if one of the strings in the slice satisfies the predicate f.
util/slices/string.go:86
↓ 2 callers
Method
AppendFields
AppendFields adds 0..n *Fields. Path must have at least two path parts like a/b more path parts gets ignored. Returns as index the new length of the F
config/elements.go:286
↓ 2 callers
Method
AppendHuman
AppendHuman appends to dst the human textual representation of a Websites or Stores scope and their IDs. Default, Group and invalid scopes won't get a
store/scope/typeid.go:98
↓ 2 callers
Function
Asset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
util/naughtystrings/internal/resource.go:1266
↓ 2 callers
Function
AssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data
util/pseudo/bindata.go:6368
↓ 2 callers
Function
Async
Async runs the given functions asynchronous. It returns all errors, if there are. The channel gets closed once all functions are done.
sync/bgwork/async.go:7
↓ 2 callers
Method
AuthFuncOverride
(ctx context.Context, fullMethodName string)
net/csgrpc/server.go:58
↓ 2 callers
Method
Authenticate
Authenticate validates if a request is allowed to pass.
net/auth/scopedConfig.go:83
↓ 2 callers
Method
Binary
Binary allows to encode an object to its binary representation when arguments are requested and to decode a byte slice into its object when data is re
sql/dml/mapper.go:1155
↓ 2 callers
Method
Bool
Bool reads a bool value and appends it to the arguments slice or assigns the bool value stored in sql.RawBytes to the pointer. See the documentation f
sql/dml/mapper.go:330
↓ 2 callers
Method
Bytes
()
sql/dmltype/number.go:136
↓ 2 callers
Method
CSetOptions
CSetOptions applies currency options and returns the last applied previous option function. For more details please read here http://commandcenter.blo
i18n/currency.go:222
↓ 2 callers
Method
City
City generates random city
util/pseudo/addresses.go:21
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1089
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1633
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3345
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3942
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4359
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:525
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1391
↓ 2 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1867
↓ 2 callers
Method
ClearCache
ClearCache clears the internal map storing all scoped configurations. You must reapply all functional options. TODO(CyS) all previously applied option
net/internal/scopedservice/service_generic.go:118
↓ 2 callers
Method
Clone
Clone creates a clone of the current object, leaving fields DB and Log untouched.
sql/dml/update.go:157
↓ 2 callers
Method
Clone
Clone creates a clone of the current object, leaving fields DB and Log untouched.
sql/dml/delete.go:250
↓ 2 callers
Method
Clone
()
sql/dml/naming.go:149
↓ 2 callers
Method
Clone
Clone creates a clone of the current object.
sql/dml/condition.go:160
↓ 2 callers
Method
Clone
Clone creates a clone of the current object, leaving fields DB and Log untouched.
sql/dml/select.go:480
↓ 2 callers
Method
Close
Close closes all underlying connections
sql/mycanal/canal.go:434
← previous
next →
1,101–1,200 of 7,620, ranked by callers