MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 1 callersMethodUnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
config/observer/json_easyjson.go:240
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements the Unmarshaler interface
store/scope/type.go:91
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Bool. It also supports unmarshalling a s
storage/null/bool.go:98
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Uint16. It also supports unmarshalling a
storage/null/uint16.go:102
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Int64. It also supports unmarshalling a
storage/null/int64.go:98
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Float64. It also supports unmarshalling
storage/null/float64.go:106
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Uint64. It also supports unmarshalling a
storage/null/uint64.go:98
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports string and null input. Blank string input does not produce a null String. It also supports unma
storage/null/string.go:107
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports string, object (e.g. pq.Time and friends) and null input.
storage/null/time.go:70
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Uint32. It also supports unmarshalling a
storage/null/uint32.go:102
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Uint8. It also supports unmarshalling a
storage/null/uint8.go:102
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Int32. It also supports unmarshalling a
storage/null/int32.go:101
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Int8. It also supports unmarshalling a s
storage/null/int8.go:103
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler. It supports number and null input. 0 will not be considered a null Int16. It also supports unmarshalling a
storage/null/int16.go:103
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
net/problem/detail_easyjson.go:173
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
util/csjwt/csjwt_easyjson.go:95
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
config/observer/modifier_easyjson.go:110
↓ 1 callersMethodUnmarshalText
(text []byte)
sql/dmltype/strings.go:111
↓ 1 callersMethodUnmarshalText
(text []byte)
storage/objcache/service_test.go:57
↓ 1 callersMethodUnmarshalTextTo
UnmarshalTextTo wrapper to use encoding.TextUnmarshaler for decoding the textual bytes. Useful for custom types.
config/value.go:193
↓ 1 callersMethodUnmarshalTo
UnmarshalTo decodes the value into the final type. vPtr must be a pointer. The function signature for `fn` matches e.g. json.Unmarshal, xml.Unmarshal
config/value.go:184
↓ 1 callersMethodUnmarshalVT
(dAtA []byte)
sql/urlvalues/urlvaluesproto/values_vtproto.pb.go:172
↓ 1 callersMethodUnsubscribe
Unsubscribe removes a subscriber with a specific ID.
config/service.go:464
↓ 1 callersMethodUnsubscribe
Unsubscribe removes a subscriber with a specific ID.
config/service_pubsub.go:111
↓ 1 callersMethodUpdate
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:333
↓ 1 callersMethodUpdateAll
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:861
↓ 1 callersMethodUpdateAthleteTeamMembers
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:340
↓ 1 callersMethodUpdateAthleteTeams
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:382
↓ 1 callersMethodUpdateAthletes
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:567
↓ 1 callersMethodUpdateByPK
UpdateByPK creates a new `UPDATE table SET ... WHERE id = ?`. The SET clause contains all non primary columns.
sql/ddl/table.go:252
↓ 1 callersMethodUpdateCatalogCategoryEntity
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:420
↓ 1 callersMethodUpdateCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:2464
↓ 1 callersMethodUpdateCustomerEntityInts
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:771
↓ 1 callersMethodUpdateCustomerEntityVarchars
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:813
↓ 1 callersMethodUpdateCustomeraddressentities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:969
↓ 1 callersMethodUpdateCustomeraddressentities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:336
↓ 1 callersMethodUpdateSequenceCatalogCategory
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:235
↓ 1 callersMethodUpdateStoreGroup
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:505
↓ 1 callersMethodUpdateStoreGroups
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:822
↓ 1 callersMethodUpsert
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:3861
↓ 1 callersMethodUpsert
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:367
↓ 1 callersFunctionValid
Valid checks if s is a valid StrScope of either StrDefault, StrWebsites or StrStores. Case-sensitive. Input should all be lowercase.
store/scope/type.go:196
↓ 1 callersMethodValid
Valid validates time based claims "exp, iat, nbf". There is no accounting for clock skew. As well, if any of the above claims are not in the token, it
util/csjwt/jwtclaim/standard.go:74
↓ 1 callersFunctionValidBytes
ValidBytes checks if b is a valid byte Type of either StrDefault, StrWebsites or StrStores. Case-sensitive.
store/scope/type.go:232
↓ 1 callersFunctionValidParent
ValidParent validates if the parent scope is within the hierarchical chain: default -> website -> store.
store/scope/type.go:238
↓ 1 callersMethodValidate
Validate returns an error if the title is empty, or type is not an URI or Extension field is imbalanced.
net/problem/detail.go:114
↓ 1 callersMethodValidate
Validate checks for duplicated configuration paths in all three hierarchy levels. Error behaviour: NotValid
config/elements.go:310
↓ 1 callersMethodValidate
Validate checks if the data is confirm to the business logic. Returns nil on success. Also used by github.com/grpc-ecosystem/go-grpc-middleware/valida
config/observer/json.go:113
↓ 1 callersMethodValidateBody
ValidateBody uses the HTTPParser to extract the hash signature. It then hashes the body and compares the hash of the body with the hash value found in
net/signed/scopedConfig.go:198
↓ 1 callersMethodValueIDs
ValueIDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1637
↓ 1 callersMethodValueIDs
ValueIDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated5/tables_gen.go:2113
↓ 1 callersFunctionValuesToProto
ValuesToProto converts a Values map to a proto message.
sql/urlvalues/urlvaluesproto/values_proto.go:18
↓ 1 callersMethodVerifyExpiresAt
Compares the exp claim against cmp. If required is false, this method will return true if the value matches or is unset
util/csjwt/jwtclaim/map.go:59
↓ 1 callersMethodVerifyExpiresAt
VerifyExpiresAt compares the exp claim against cmp. If required is false, this method will return true if the value matches or is unset.
util/csjwt/jwtclaim/standard.go:179
↓ 1 callersMethodVerifyIssuedAt
Compares the iat claim against cmp. If required is false, this method will return true if the value matches or is unset.
util/csjwt/jwtclaim/map.go:65
↓ 1 callersMethodVerifyIssuedAt
VerifyIssuedAt compares the iat claim against cmp. If required is false, this method will return true if the value matches or is unset.
util/csjwt/jwtclaim/standard.go:185
↓ 1 callersMethodVerifyNotBefore
Compares the nbf claim against cmp. If required is false, this method will return true if the value matches or is unset.
util/csjwt/jwtclaim/map.go:78
↓ 1 callersMethodVerifyNotBefore
VerifyNotBefore compares the nbf claim against cmp. If required is false, this method will return true if the value matches or is unset.
util/csjwt/jwtclaim/standard.go:197
↓ 1 callersMethodWaitUntilPos
WaitUntilPos flushes the binary logs until we've reached the desired position.
sql/mycanal/sync.go:276
↓ 1 callersMethodWalk
Walk iterates over each key/value stored in the trie and calls the given walker function with the key and fm. If the walker function returns an error,
config/route_trie.go:335
↓ 1 callersMethodWebsiteIDs
WebsiteIDs returns a slice with the data or appends it to a slice. Auto generated.
store/entities_gen.go:579
↓ 1 callersMethodWeekDayShort
WeekDayShort generates abbreviated name of the week day
util/pseudo/dates.go:16
↓ 1 callersMethodWeekdayNum
WeekdayNum generates number of the day of the week
util/pseudo/dates.go:21
↓ 1 callersMethodWhere
Where appends a WHERE clause to the statement whereSQLOrMap can be a string or map. If it'ab a string, args wil replaces any places holders.
sql/dml/delete.go:133
↓ 1 callersFunctionWithAlternativeHandler
WithAlternativeHandler sets for a scope the alternative handler if an IP address has been access denied. Only to be used with function WithIsCountryAl
net/geoip/options.go:46
↓ 1 callersFunctionWithConnPool
WithConnPool sets the connection pool to the Tables and each of it Table type. This function has precedence over WithDB.
sql/ddl/tables.go:146
↓ 1 callersFunctionWithContextQueryOptions
WithContextQueryOptions adds options for executing queries, mostly in generated code.
sql/dml/events.go:34
↓ 1 callersFunctionWithContextRunMode
TODO(CYS) remove context function as the scope.TypeID does not belong into a context. See also Merovious WithContextRunMode sets the main run mode for
net/runmode/context_runmode.go:72
↓ 1 callersFunctionWithCountryFinder
WithCountryFinder creates a new GeoIP2.Reader which reads the geo information from a file stored on the server.
net/geoip/maxmindfile/options.go:28
↓ 1 callersFunctionWithCreateDatabase
WithCreateDatabase creates the database and sets the utf8mb4 option. It does not drop the database. If databaseName is empty, the DB name gets derived
sql/dml/connection.go:191
↓ 1 callersFunctionWithDB
WithDB sets the DB value to an existing connection. Mainly used for testing. Does not support DriverCallBack.
sql/dml/connection.go:296
↓ 1 callersFunctionWithDB
WithDB sets the DB object to the Tables and all sub Table types to handle the database connections. It must be set if other options get used to access
sql/ddl/tables.go:131
↓ 1 callersMethodWithDBR
(db QueryExecPreparer)
sql/dml/dbr.go:215
↓ 1 callersMethodWithDBR
(db QueryExecPreparer)
sql/dml/dbr.go:226
↓ 1 callersFunctionWithDefaultConfig
WithDefaultConfig applies the default configuration settings for a specific scope. Default values are: - authentication returns always access denie
net/auth/options.go:33
↓ 1 callersFunctionWithDefaultConfig
WithDefaultConfig applies the default signed configuration settings based for a specific scope. This function overwrites any previous set options. De
net/signed/options.go:31
↓ 1 callersFunctionWithDefaultConfig
WithDefaultConfig applies the default CORS configuration settings based for a specific scope. This function overwrites any previous set options. Defau
net/cors/options.go:81
↓ 1 callersFunctionWithDefaultConfig
WithDefaultConfig applies the default GeoIP configuration settings based for a specific scope. This function overwrites any previous set options. Def
net/geoip/options.go:39
↓ 1 callersFunctionWithDefaultConfig
WithDefaultConfig applies the default JWT configuration settings based for a specific scope. Default values are: - constant DefaultExpire - HMAC
net/jwt/options.go:35
↓ 1 callersFunctionWithECPrivateKey
WithECPrivateKey sets the ECDSA private key. Public key will be derived from the private key.
util/csjwt/keys.go:256
↓ 1 callersFunctionWithECPublicKey
WithECPublicKey sets the ECDSA public key
util/csjwt/keys.go:225
↓ 1 callersFunctionWithECPublicKeyFromPEM
WithECPublicKeyFromPEM parses PEM encoded Elliptic Curve Public Key Structure
util/csjwt/keys.go:207
↓ 1 callersFunctionWithExecSQLOnConnClose
WithExecSQLOnConnClose runs the sqlQuery arguments before closing a DB connection. More than one queries are running in a transaction, a single query
sql/dml/connection.go:249
↓ 1 callersFunctionWithGCRA
WithGCRA creates a new Redis-based store, using the provided pool to get its connections. The keys will have the specified keyPrefix, which may be an
net/ratelimit/redigostore/redigostore.go:91
↓ 1 callersFunctionWithGCRA
WithGCRA creates a memory based GCRA rate limiter. Duration: (s second,i minute,h hour,d day). GCRA => https://en.wikipedia.org/wiki/Generic_cell_rate
net/ratelimit/memstore/memstore.go:71
↓ 1 callersFunctionWithLogger
WithLogger convenient helper function to apply a logger to the Service type.
net/internal/scopedservice/options_generic.go:138
↓ 1 callersFunctionWithRSAGenerated
WithRSAGenerated creates an in-memory private key to be used for signing and verifying. Bit size see constant: PrivateKeyBits Public key will be deriv
util/csjwt/keys.go:195
↓ 1 callersFunctionWithRSAPrivateKey
WithRSAPrivateKey sets the private key. Public key will be derived from the private key.
util/csjwt/keys.go:186
↓ 1 callersFunctionWithRSAPublicKey
WithRSAPublicKey sets the public key
util/csjwt/keys.go:156
↓ 1 callersFunctionWithServiceErrorHandler
WithServiceErrorHandler sets the error handler on the Service object. Convenient helper function.
net/internal/scopedservice/options_generic.go:117
↓ 1 callersFunctionWithSetNamesUTF8MB4
WithSetNamesUTF8MB4 sets the utf8mb4 charset and collation.
sql/dml/connection.go:282
↓ 1 callersFunctionWithTable
WithTable upserts a new table to the Tables struct. You can optionally specify the columns. Without columns the call to load the columns from the INFO
sql/ddl/tables.go:164
↓ 1 callersFunctionWithTagFakeFuncAlias
WithTagFakeFuncAlias sets a new alias. E.g. when WithTagFakeFunc("http",...) adds a function to generate HTTP links, then calling WithTagFakeFuncAlias
util/pseudo/fake.go:130
↓ 1 callersFunctionWithVerifyConnection
WithVerifyConnection checks if the connection to the server is valid and can be established.
sql/dml/connection.go:164
↓ 1 callersMethodWords
Words generates from 1 to 5 random words
util/pseudo/lorem_ipsum.go:52
↓ 1 callersMethodWrite
Write writes an int value and checks if the int value is within the allowed Options.
_backend/config_models.go:48
↓ 1 callersMethodWriteTo
WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of th
config/storage/db_client_schema_gen.go:49
↓ 1 callersMethodXor
()
sql/dml/condition.go:466
↓ 1 callersMethod_lookup
(lang, cat string, fallback bool)
util/pseudo/fake.go:345
↓ 1 callersFunctionaddOperator
(b dml.Conditions, sortOrder []string, field, op string, values []string)
sql/urlvalues/url_filter.go:106
← previousnext →2,501–2,600 of 7,620, ranked by callers