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
SetUserId
(v string)
app/domain/grpcauthapp/authapp.pb.go:597
Method
SetUserId
(v string)
app/domain/grpcauthapp/authapp.pb.go:741
Method
ShouldSample
ShouldSample implements the sampler interface. It prevents the specified endpoints from being added to the trace.
foundation/otel/sampler.go:47
Function
SortQuery
(s)
api/frontends/admin/src/components/DataTable/SortQuery.js:1
Method
Stop
Stop turns off all the prometheus support.
api/services/metrics/publisher/prometheus/prometheus.go:64
Method
Stop
Stop shuts down the service.
api/services/metrics/publisher/expvar/expvar.go:53
Method
String
String returns the value of the password.
business/types/password/password.go:15
Method
String
String returns the name of the role.
business/types/domain/domain.go:30
Method
String
String returns the name of the type.
business/types/home/home.go:29
Method
String
String returns the value of the name.
business/types/name/name.go:16
Method
String
String returns the value of the name.
business/types/name/name.go:72
Method
String
()
app/domain/grpcauthapp/authapp.pb.go:40
Method
String
()
app/domain/grpcauthapp/authapp.pb.go:119
Method
String
()
app/domain/grpcauthapp/authapp.pb.go:463
Method
String
()
app/domain/grpcauthapp/authapp.pb.go:545
Method
String
()
app/domain/grpcauthapp/authapp.pb.go:696
Method
String
()
app/domain/grpcauthapp/authapp.pb.go:828
Function
TestName
(t *testing.T)
business/sdk/sqldb/dialect/dialect_test.go:40
Function
TestPaginate
(t *testing.T)
business/sdk/sqldb/dialect/dialect_test.go:10
Function
Test_Audit
(t *testing.T)
business/domain/auditbus/auditbus_test.go:22
Function
Test_Audit
(t *testing.T)
api/services/sales/tests/auditapi/audit_test.go:9
Function
Test_Auth
(t *testing.T)
app/sdk/auth/auth_test.go:17
Function
Test_CancelWorker
(t *testing.T)
foundation/worker/worker_test.go:56
Function
Test_Home
(t *testing.T)
business/domain/homebus/homebus_test.go:20
Function
Test_Home
(t *testing.T)
api/services/sales/tests/homeapi/home_test.go:9
Function
Test_Product
(t *testing.T)
business/domain/productbus/productbus_test.go:22
Function
Test_Product
(t *testing.T)
api/services/sales/tests/productapi/product_test.go:9
Function
Test_StopWorker
(t *testing.T)
foundation/worker/worker_test.go:94
Function
Test_Tran
(t *testing.T)
api/services/sales/tests/tranapi/tran_test.go:9
Function
Test_User
(t *testing.T)
business/domain/userbus/userbus_test.go:23
Function
Test_User
(t *testing.T)
api/services/sales/tests/userapi/user_test.go:9
Function
Test_VProduct
(t *testing.T)
business/domain/vproductbus/vproduct_test.go:20
Function
Test_VProduct
(t *testing.T)
api/services/sales/tests/vproductapi/vproduct_test.go:9
Function
Test_Worker
(t *testing.T)
foundation/worker/worker_test.go:12
Method
Token
Token generates a token for a given key ID.
app/domain/grpcauthapp/authapp.go:51
Method
Token
(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption)
app/domain/grpcauthapp/authapp_grpc.pb.go:49
Method
Token
Generate a token for a given key ID.
app/domain/grpcauthapp/authapp_grpc.pb.go:86
Method
Token
(context.Context, *TokenRequest)
app/domain/grpcauthapp/authapp_grpc.pb.go:101
Method
UnmarshalText
UnmarshalText implement the unmarshal interface for JSON conversions.
app/sdk/errs/errs.go:21
Method
Update
(ctx context.Context, prd Product)
business/domain/productbus/productbus.go:31
Method
Update
(ctx context.Context, prd Product, up UpdateProduct)
business/domain/productbus/productbus.go:44
Method
Update
Update modifies information about a product.
business/domain/productbus/productbus.go:138
Method
Update
Update modifies data about a productbus. It will error if the specified ID is invalid or does not reference an existing product.
business/domain/productbus/stores/productpg/productpg.go:74
Method
Update
Update modifies data about a product. SQLite does not require identifier quoting for any of these column names, so this statement reads slightly clean
business/domain/productbus/stores/productsqlite/productsqlite.go:85
Method
Update
Update applies otel to the product update process.
business/domain/productbus/extensions/productotel/productotel.go:49
Method
Update
(ctx context.Context, hme Home)
business/domain/homebus/homebus.go:30
Method
Update
(ctx context.Context, hme Home, uh UpdateHome)
business/domain/homebus/homebus.go:43
Method
Update
Update modifies information about a home.
business/domain/homebus/homebus.go:143
Method
Update
Update replaces a home document in the database.
business/domain/homebus/stores/homedb/homedb.go:86
Method
Update
Update applies otel to the home update process.
business/domain/homebus/extensions/homeotel/homeotel.go:49
Method
Update
(ctx context.Context, actorID uuid.UUID, usr User, uu UpdateUser)
business/domain/userbus/userbus.go:45
Method
Update
Update modifies information about a user.
business/domain/userbus/userbus.go:127
Method
Update
Update replaces a user document in the database.
business/domain/userbus/stores/usercache/usercache.go:69
Method
Update
Update replaces a user document in the database.
business/domain/userbus/stores/userdb/userdb.go:69
Method
Update
Update applies auditing to the user update process.
business/domain/userbus/extensions/useraudit/useraudit.go:64
Method
Update
Update applies otel to the user update process.
business/domain/userbus/extensions/userotel/userotel.go:50
Method
Value
Value returns the int value of the quantity.
business/types/quantity/quantity.go:14
Method
Value
Value implements the driver.Valuer interface.
business/sdk/sqldb/dbarray/dbarray.go:146
Method
Value
Value implements the driver.Valuer interface. It uses the "hex" format which is only supported on PostgreSQL 9.0 or newer.
business/sdk/sqldb/dbarray/dbarray.go:214
Method
Value
Value implements the driver.Valuer interface.
business/sdk/sqldb/dbarray/dbarray.go:284
Method
Value
Value implements the driver.Valuer interface.
business/sdk/sqldb/dbarray/dbarray.go:348
Method
Value
Value implements the driver.Valuer interface.
business/sdk/sqldb/dbarray/dbarray.go:497
Method
Value
Value implements the driver.Valuer interface.
business/sdk/sqldb/dbarray/dbarray.go:564
Method
Value
Value implements the driver.Valuer interface.
business/sdk/sqldb/dbarray/dbarray.go:627
Method
Value
Value implements the driver.Valuer interface.
business/sdk/sqldb/dbarray/dbarray.go:688
Method
Warnc
Warnc logs the information at the specified call stack position.
foundation/logger/logger.go:93
Function
WithClient
WithClient adds a custom client for processing requests. It's recommend to not use the default client and provide your own.
app/sdk/authclient/http/authclient.go:66
Function
WithGRPCConn
WithGRPCConn allows you to provide a pre-existing gRPC connection for the auth client.
app/sdk/authclient/grpc/authclient.go:48
Method
WithGroup
WithGroup returns a new Handler with the given group appended to the receiver's existing groups. The keys of all subsequent attributes, whether added
foundation/logger/handler.go:37
Function
WithSkip
WithSkip can be used to skip running a test.
business/sdk/unittest/unittest.go:17
Function
WithSkip
WithSkip can be used to skip running a test.
app/sdk/apitest/apitest.go:29
Function
_Auth_Authenticate_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
app/domain/grpcauthapp/authapp_grpc.pb.go:149
Function
_Auth_Authorize_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
app/domain/grpcauthapp/authapp_grpc.pb.go:167
Function
_Auth_Token_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
app/domain/grpcauthapp/authapp_grpc.pb.go:131
Method
actionUserDeleted
actionUserDeleted is executed by the user domain indirectly when a user is deleted.
business/domain/productbus/event.go:22
Method
actionUserDeleted
actionUserDeleted is executed by the user domain indirectly when a user is deleted.
business/domain/homebus/event.go:22
Method
authCallback
(ctx context.Context, r *http.Request)
app/domain/oauthapp/oauthapp.go:52
Method
authInterceptor
=============================================================================
app/domain/grpcauthapp/authapp.go:148
Method
authenticate
(ctx context.Context, r *http.Request)
app/domain/authapp/authapp.go:43
Method
authenticate
(ctx context.Context, r *http.Request)
app/domain/oauthapp/oauthapp.go:46
Method
authorize
(ctx context.Context, r *http.Request)
app/domain/authapp/authapp.go:60
Method
create
(ctx context.Context, r *http.Request)
app/domain/homeapp/homeapp.go:27
Method
create
(ctx context.Context, r *http.Request)
app/domain/productapp/productapp.go:27
Method
create
(ctx context.Context, r *http.Request)
app/domain/userapp/userapp.go:28
Method
create
(ctx context.Context, r *http.Request)
app/domain/tranapp/tranapp.go:54
Method
delete
(ctx context.Context, _ *http.Request)
app/domain/homeapp/homeapp.go:70
Method
delete
(ctx context.Context, _ *http.Request)
app/domain/productapp/productapp.go:70
Method
delete
(ctx context.Context, _ *http.Request)
app/domain/userapp/userapp.go:98
Method
handler
(w http.ResponseWriter, r *http.Request)
api/services/metrics/publisher/prometheus/prometheus.go:80
Method
handler
handler is what consumers call to get the raw stats.
api/services/metrics/publisher/expvar/expvar.go:78
Function
init
()
app/domain/grpcauthapp/authapp.pb.go:921
Function
init
init constructs the metrics value that will be used to capture metrics. The metrics value is stored in a package level variable since everything insid
app/sdk/metrics/metrics.go:29
Function
init
()
api/tooling/logfmt/main.go:18
Method
liveness
liveness returns simple status info if the service is alive. If the app is deployed to a Kubernetes cluster, it will also return pod, node, and namesp
app/domain/checkapp/checkapp.go:51
Method
logout
(ctx context.Context, r *http.Request)
app/domain/oauthapp/oauthapp.go:83
Function
main
()
api/services/auth/main.go:34
Function
main
()
api/services/metrics/main.go:25
Function
main
()
api/services/sales/main.go:55
Function
main
()
api/tooling/logfmt/main.go:24
Function
main
()
api/tooling/admin/main.go:38
← previous
next →
801–900 of 918, ranked by callers