MCPcopy Create free account

hub / github.com/ardanlabs/service / functions

Functions918 in github.com/ardanlabs/service

MethodEncode
Encode implements the encoder interface.
app/sdk/authclient/authclient.go:37
MethodEncode
Encode implements the encoder interface.
app/sdk/query/query.go:29
MethodEncode
Encode implements the encoder interface.
app/sdk/errs/errs.go:84
MethodEncode
Encode implements the Encoder interface.
foundation/web/response.go:22
MethodEqual
Equal provides support for the go-cmp package and testing.
business/types/password/password.go:20
MethodEqual
Equal provides support for the go-cmp package and testing.
business/types/domain/domain.go:35
MethodEqual
Equal provides support for the go-cmp package and testing.
business/types/quantity/quantity.go:24
MethodEqual
Equal provides support for the go-cmp package and testing.
business/types/role/role.go:34
MethodEqual
Equal provides support for the go-cmp package and testing.
business/types/name/name.go:21
MethodEqual
Equal provides support for the go-cmp package and testing.
business/types/name/name.go:81
MethodEqual
Equal provides support for the go-cmp package and testing.
business/types/money/money.go:24
MethodEqual
Equal provides support for the go-cmp package and testing.
app/sdk/errs/errs.go:40
MethodEqual
Equal provides support for the go-cmp package and testing.
app/sdk/errs/errs.go:96
MethodError
Error implements the error interface.
app/sdk/errs/errs.go:137
MethodErrorc
Errorc logs the information at the specified call stack position.
foundation/logger/logger.go:111
FunctionExecContext
ExecContext is a helper function to execute a CUD operation with logging and tracing.
business/sdk/sqldb/sqldb.go:115
MethodGetClaims
()
app/domain/grpcauthapp/authapp.pb.go:590
MethodGetRoles
()
app/domain/grpcauthapp/authapp.pb.go:573
MethodGetSubject
()
app/domain/grpcauthapp/authapp.pb.go:580
MethodGetToken
()
app/domain/grpcauthapp/authapp.pb.go:481
MethodGetUserId
()
app/domain/grpcauthapp/authapp.pb.go:563
MethodHTTPStatus
HTTPStatus implements the web package httpStatus interface so the web framework can use the correct http status.
app/sdk/errs/errs.go:91
MethodHasClaims
()
app/domain/grpcauthapp/authapp.pb.go:629
MethodHasClaims
()
app/domain/grpcauthapp/authapp.pb.go:762
MethodHasExpiresAt
()
app/domain/grpcauthapp/authapp.pb.go:340
MethodHasId
()
app/domain/grpcauthapp/authapp.pb.go:361
MethodHasIssuedAt
()
app/domain/grpcauthapp/authapp.pb.go:354
MethodHasIssuer
()
app/domain/grpcauthapp/authapp.pb.go:326
MethodHasKid
()
app/domain/grpcauthapp/authapp.pb.go:73
MethodHasNotBefore
()
app/domain/grpcauthapp/authapp.pb.go:347
MethodHasRule
()
app/domain/grpcauthapp/authapp.pb.go:769
MethodHasSubject
()
app/domain/grpcauthapp/authapp.pb.go:333
MethodHasSubject
()
app/domain/grpcauthapp/authapp.pb.go:622
MethodHasToken
()
app/domain/grpcauthapp/authapp.pb.go:152
MethodHasToken
()
app/domain/grpcauthapp/authapp.pb.go:496
MethodHasUserId
()
app/domain/grpcauthapp/authapp.pb.go:615
MethodHasUserId
()
app/domain/grpcauthapp/authapp.pb.go:755
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/password/password.go:25
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/domain/domain.go:40
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/home/home.go:39
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/quantity/quantity.go:29
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/role/role.go:39
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/name/name.go:26
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/name/name.go:86
MethodMarshalText
MarshalText provides support for logging and any marshal needs.
business/types/money/money.go:29
MethodMarshalText
MarshalText implement the marshal interface for JSON conversions.
app/sdk/errs/errs.go:35
FunctionMustParse
MustParse parses the string value and returns a role if one exists. If an error occurs the function panics.
business/types/domain/domain.go:58
FunctionMustParse
MustParse parses the string value and returns a home type if one exists. If an error occurs the function panics.
business/types/home/home.go:57
FunctionMustParse
MustParse parses the string value and returns a role if one exists. If an error occurs the function panics.
business/types/role/role.go:57
MethodName
Name implements Dialect.
business/sdk/sqldb/dialect/sqlite.go:12
MethodName
Name implements Dialect.
business/sdk/sqldb/dialect/postgres.go:11
FunctionNamedQuerySliceUsingIn
NamedQuerySliceUsingIn is a helper function for executing queries that return a collection of data to be unmarshalled into a slice where field replace
business/sdk/sqldb/sqldb.go:170
FunctionNamedQueryStructUsingIn
NamedQueryStructUsingIn is a helper function for executing queries that return a single value to be unmarshalled into a struct type where field replac
business/sdk/sqldb/sqldb.go:246
FunctionNew
New constructs an Exporter for use.
api/services/metrics/publisher/prometheus/prometheus.go:25
FunctionNew
New initializes Datadog access for publishing metrics.
api/services/metrics/publisher/datadog/datadog.go:25
FunctionNew
New starts a service for consuming the raw expvar stats.
api/services/metrics/publisher/expvar/expvar.go:24
FunctionNewStore
NewStore constructs the api for data access.
business/domain/productbus/stores/productsqlite/productsqlite.go:41
FunctionNewWithHandler
NewWithHandler returns a new log for application use with the underlying handler.
foundation/logger/logger.go:38
MethodNewWithTx
(tx sqldb.CommitRollbacker)
business/domain/productbus/productbus.go:29
MethodNewWithTx
(tx sqldb.CommitRollbacker)
business/domain/productbus/productbus.go:42
MethodNewWithTx
NewWithTx constructs a new business value that will use the specified transaction in any store related calls.
business/domain/productbus/productbus.go:91
MethodNewWithTx
NewWithTx constructs a new Store value replacing the sqlx DB value with a sqlx DB value that is currently inside a transaction.
business/domain/productbus/stores/productpg/productpg.go:42
MethodNewWithTx
NewWithTx constructs a new Store value replacing the sqlx DB value with a sqlx DB value that is currently inside a transaction.
business/domain/productbus/stores/productsqlite/productsqlite.go:51
MethodNewWithTx
NewWithTx does not apply otel.
business/domain/productbus/extensions/productotel/productotel.go:31
MethodNewWithTx
(tx sqldb.CommitRollbacker)
business/domain/homebus/homebus.go:28
MethodNewWithTx
(tx sqldb.CommitRollbacker)
business/domain/homebus/homebus.go:41
MethodNewWithTx
NewWithTx constructs a new domain value that will use the specified transaction in any store related calls.
business/domain/homebus/homebus.go:90
MethodNewWithTx
NewWithTx constructs a new Store value replacing the sqlx DB value with a sqlx DB value that is currently inside a transaction.
business/domain/homebus/stores/homedb/homedb.go:35
MethodNewWithTx
NewWithTx does not apply otel.
business/domain/homebus/extensions/homeotel/homeotel.go:31
MethodNewWithTx
(tx sqldb.CommitRollbacker)
business/domain/userbus/userbus.go:43
MethodNewWithTx
NewWithTx constructs a new business value that will use the specified transaction in any store related calls.
business/domain/userbus/userbus.go:87
MethodNewWithTx
NewWithTx constructs a new Store value replacing the sqlx DB value with a sqlx DB value that is currently inside a transaction.
business/domain/userbus/stores/usercache/usercache.go:41
MethodNewWithTx
NewWithTx constructs a new Store value replacing the sqlx DB value with a sqlx DB value that is currently inside a transaction.
business/domain/userbus/stores/userdb/userdb.go:36
MethodNewWithTx
NewWithTx does not apply auditing.
business/domain/userbus/extensions/useraudit/useraudit.go:35
MethodNewWithTx
NewWithTx does not apply otel.
business/domain/userbus/extensions/userotel/userotel.go:32
MethodPaginate
Paginate implements Dialect.
business/sdk/sqldb/dialect/sqlite.go:17
MethodPaginate
Paginate implements Dialect.
business/sdk/sqldb/dialect/postgres.go:16
FunctionParseAddress
ParseAddress is a helper function to create an address value.
business/domain/homebus/testutil.go:62
MethodPrivateKey
(kid string)
app/sdk/auth/auth_test.go:276
MethodPrivateKey
PrivateKey implements the auth interface.
app/sdk/apitest/keystore.go:7
MethodPrivateKey
PrivateKey searches the key store for a given kid and returns the private key.
foundation/keystore/keystore.go:138
MethodProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:44
MethodProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:123
MethodProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:209
MethodProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:467
MethodProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:549
MethodProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:700
MethodProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:832
MethodProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:46
MethodProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:125
MethodProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:211
MethodProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:469
MethodProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:551
MethodProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:702
MethodProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:834
MethodPublicKey
(kid string)
app/sdk/auth/auth_test.go:280
MethodPublicKey
PublicKey implements the auth interface.
app/sdk/apitest/keystore.go:12
MethodPublicKey
PublicKey searches the key store for a given kid and returns the public key.
foundation/keystore/keystore.go:151
MethodPublish
Publish publishers for writing to stdout.
api/services/metrics/publisher/publisher.go:97
MethodPublish
Publish stores a deep copy of the data for publishing.
api/services/metrics/publisher/prometheus/prometheus.go:56
← previousnext →601–700 of 918, ranked by callers