Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ardanlabs/service
/ functions
Functions
918 in github.com/ardanlabs/service
⨍
Functions
918
◇
Types & classes
230
Method
Encode
Encode implements the encoder interface.
app/sdk/authclient/authclient.go:37
Method
Encode
Encode implements the encoder interface.
app/sdk/query/query.go:29
Method
Encode
Encode implements the encoder interface.
app/sdk/errs/errs.go:84
Method
Encode
Encode implements the Encoder interface.
foundation/web/response.go:22
Method
Equal
Equal provides support for the go-cmp package and testing.
business/types/password/password.go:20
Method
Equal
Equal provides support for the go-cmp package and testing.
business/types/domain/domain.go:35
Method
Equal
Equal provides support for the go-cmp package and testing.
business/types/quantity/quantity.go:24
Method
Equal
Equal provides support for the go-cmp package and testing.
business/types/role/role.go:34
Method
Equal
Equal provides support for the go-cmp package and testing.
business/types/name/name.go:21
Method
Equal
Equal provides support for the go-cmp package and testing.
business/types/name/name.go:81
Method
Equal
Equal provides support for the go-cmp package and testing.
business/types/money/money.go:24
Method
Equal
Equal provides support for the go-cmp package and testing.
app/sdk/errs/errs.go:40
Method
Equal
Equal provides support for the go-cmp package and testing.
app/sdk/errs/errs.go:96
Method
Error
Error implements the error interface.
app/sdk/errs/errs.go:137
Method
Errorc
Errorc logs the information at the specified call stack position.
foundation/logger/logger.go:111
Function
ExecContext
ExecContext is a helper function to execute a CUD operation with logging and tracing.
business/sdk/sqldb/sqldb.go:115
Method
GetClaims
()
app/domain/grpcauthapp/authapp.pb.go:590
Method
GetRoles
()
app/domain/grpcauthapp/authapp.pb.go:573
Method
GetSubject
()
app/domain/grpcauthapp/authapp.pb.go:580
Method
GetToken
()
app/domain/grpcauthapp/authapp.pb.go:481
Method
GetUserId
()
app/domain/grpcauthapp/authapp.pb.go:563
Method
HTTPStatus
HTTPStatus implements the web package httpStatus interface so the web framework can use the correct http status.
app/sdk/errs/errs.go:91
Method
HasClaims
()
app/domain/grpcauthapp/authapp.pb.go:629
Method
HasClaims
()
app/domain/grpcauthapp/authapp.pb.go:762
Method
HasExpiresAt
()
app/domain/grpcauthapp/authapp.pb.go:340
Method
HasId
()
app/domain/grpcauthapp/authapp.pb.go:361
Method
HasIssuedAt
()
app/domain/grpcauthapp/authapp.pb.go:354
Method
HasIssuer
()
app/domain/grpcauthapp/authapp.pb.go:326
Method
HasKid
()
app/domain/grpcauthapp/authapp.pb.go:73
Method
HasNotBefore
()
app/domain/grpcauthapp/authapp.pb.go:347
Method
HasRule
()
app/domain/grpcauthapp/authapp.pb.go:769
Method
HasSubject
()
app/domain/grpcauthapp/authapp.pb.go:333
Method
HasSubject
()
app/domain/grpcauthapp/authapp.pb.go:622
Method
HasToken
()
app/domain/grpcauthapp/authapp.pb.go:152
Method
HasToken
()
app/domain/grpcauthapp/authapp.pb.go:496
Method
HasUserId
()
app/domain/grpcauthapp/authapp.pb.go:615
Method
HasUserId
()
app/domain/grpcauthapp/authapp.pb.go:755
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/password/password.go:25
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/domain/domain.go:40
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/home/home.go:39
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/quantity/quantity.go:29
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/role/role.go:39
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/name/name.go:26
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/name/name.go:86
Method
MarshalText
MarshalText provides support for logging and any marshal needs.
business/types/money/money.go:29
Method
MarshalText
MarshalText implement the marshal interface for JSON conversions.
app/sdk/errs/errs.go:35
Function
MustParse
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
Function
MustParse
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
Function
MustParse
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
Method
Name
Name implements Dialect.
business/sdk/sqldb/dialect/sqlite.go:12
Method
Name
Name implements Dialect.
business/sdk/sqldb/dialect/postgres.go:11
Function
NamedQuerySliceUsingIn
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
Function
NamedQueryStructUsingIn
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
Function
New
New constructs an Exporter for use.
api/services/metrics/publisher/prometheus/prometheus.go:25
Function
New
New initializes Datadog access for publishing metrics.
api/services/metrics/publisher/datadog/datadog.go:25
Function
New
New starts a service for consuming the raw expvar stats.
api/services/metrics/publisher/expvar/expvar.go:24
Function
NewStore
NewStore constructs the api for data access.
business/domain/productbus/stores/productsqlite/productsqlite.go:41
Function
NewWithHandler
NewWithHandler returns a new log for application use with the underlying handler.
foundation/logger/logger.go:38
Method
NewWithTx
(tx sqldb.CommitRollbacker)
business/domain/productbus/productbus.go:29
Method
NewWithTx
(tx sqldb.CommitRollbacker)
business/domain/productbus/productbus.go:42
Method
NewWithTx
NewWithTx constructs a new business value that will use the specified transaction in any store related calls.
business/domain/productbus/productbus.go:91
Method
NewWithTx
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
Method
NewWithTx
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
Method
NewWithTx
NewWithTx does not apply otel.
business/domain/productbus/extensions/productotel/productotel.go:31
Method
NewWithTx
(tx sqldb.CommitRollbacker)
business/domain/homebus/homebus.go:28
Method
NewWithTx
(tx sqldb.CommitRollbacker)
business/domain/homebus/homebus.go:41
Method
NewWithTx
NewWithTx constructs a new domain value that will use the specified transaction in any store related calls.
business/domain/homebus/homebus.go:90
Method
NewWithTx
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
Method
NewWithTx
NewWithTx does not apply otel.
business/domain/homebus/extensions/homeotel/homeotel.go:31
Method
NewWithTx
(tx sqldb.CommitRollbacker)
business/domain/userbus/userbus.go:43
Method
NewWithTx
NewWithTx constructs a new business value that will use the specified transaction in any store related calls.
business/domain/userbus/userbus.go:87
Method
NewWithTx
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
Method
NewWithTx
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
Method
NewWithTx
NewWithTx does not apply auditing.
business/domain/userbus/extensions/useraudit/useraudit.go:35
Method
NewWithTx
NewWithTx does not apply otel.
business/domain/userbus/extensions/userotel/userotel.go:32
Method
Paginate
Paginate implements Dialect.
business/sdk/sqldb/dialect/sqlite.go:17
Method
Paginate
Paginate implements Dialect.
business/sdk/sqldb/dialect/postgres.go:16
Function
ParseAddress
ParseAddress is a helper function to create an address value.
business/domain/homebus/testutil.go:62
Method
PrivateKey
(kid string)
app/sdk/auth/auth_test.go:276
Method
PrivateKey
PrivateKey implements the auth interface.
app/sdk/apitest/keystore.go:7
Method
PrivateKey
PrivateKey searches the key store for a given kid and returns the private key.
foundation/keystore/keystore.go:138
Method
ProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:44
Method
ProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:123
Method
ProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:209
Method
ProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:467
Method
ProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:549
Method
ProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:700
Method
ProtoMessage
()
app/domain/grpcauthapp/authapp.pb.go:832
Method
ProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:46
Method
ProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:125
Method
ProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:211
Method
ProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:469
Method
ProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:551
Method
ProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:702
Method
ProtoReflect
()
app/domain/grpcauthapp/authapp.pb.go:834
Method
PublicKey
(kid string)
app/sdk/auth/auth_test.go:280
Method
PublicKey
PublicKey implements the auth interface.
app/sdk/apitest/keystore.go:12
Method
PublicKey
PublicKey searches the key store for a given kid and returns the public key.
foundation/keystore/keystore.go:151
Method
Publish
Publish publishers for writing to stdout.
api/services/metrics/publisher/publisher.go:97
Method
Publish
Publish stores a deep copy of the data for publishing.
api/services/metrics/publisher/prometheus/prometheus.go:56
← previous
next →
601–700 of 918, ranked by callers