Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ardanlabs/service
/ types & classes
Types & classes
230 in github.com/ardanlabs/service
⨍
Functions
918
◇
Types & classes
230
↓ 5 callers
TypeAlias
Level
Level represents different logging levels.
foundation/logger/model.go:10
↓ 3 callers
TypeAlias
action
These types are just for documentation so we know what keys go where in the map.
business/sdk/delegate/delegate.go:16
↓ 3 callers
TypeAlias
domain
These types are just for documentation so we know what keys go where in the map.
business/sdk/delegate/delegate.go:15
↓ 1 callers
Interface
ExtBusiness
ExtBusiness interface provides support for extensions that wrap extra functionality around the core business logic.
business/domain/vproductbus/vproductbus.go:21
↓ 1 callers
Interface
ExtBusiness
ExtBusiness interface provides support for extensions that wrap extra functionality around the core business logic.
business/domain/productbus/productbus.go:41
↓ 1 callers
Interface
ExtBusiness
ExtBusiness interface provides support for extensions that wrap extra functionality around the core business logic.
business/domain/homebus/homebus.go:40
↓ 1 callers
Interface
ExtBusiness
ExtBusiness interface provides support for extensions that wrap extra functionality around the core business logic.
business/domain/userbus/userbus.go:42
↓ 1 callers
Interface
ExtBusiness
ExtBusiness interface provides support for extensions that wrap extra functionality around the core business logic.
business/domain/auditbus/auditbus.go:26
Struct
ActionDeletedParams
ActionDeletedParams represents the parameters for the deleted action.
business/domain/userbus/event.go:20
Struct
Address
Address represents an individual address.
business/domain/homebus/model.go:11
Struct
Address
Address represents information about an individual address.
app/domain/homeapp/model.go:16
Struct
App
App represents the gRPC service for authentication.
app/domain/grpcauthapp/authapp.go:26
Struct
App
App is the entrypoint into our application and what configures our context object for each of our http handlers. Feel free to add any configuration da
foundation/web/web.go:36
Struct
Audit
Audit represents information about an individual audit record.
business/domain/auditbus/model.go:13
Struct
Audit
Audit represents information about an individual audit record.
app/domain/auditapp/model.go:11
Struct
Auth
Auth is used to authenticate clients. It can generate a token for a set of user claims and recreate the claims by parsing the token.
app/sdk/auth/auth.go:53
Interface
AuthClient
AuthClient is the client API for Auth service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/goo
app/domain/grpcauthapp/authapp_grpc.pb.go:32
Struct
AuthConfig
AuthConfig contains auth service specific config.
app/sdk/mux/mux.go:62
Interface
AuthServer
AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility. The authentication s
app/domain/grpcauthapp/authapp_grpc.pb.go:84
Struct
AuthenticateRequest
Request message for authentication.
app/domain/grpcauthapp/authapp.pb.go:447
Struct
AuthenticateRequest_builder
app/domain/grpcauthapp/authapp.pb.go:508
Struct
AuthenticateResp
AuthenticateResp defines the information that will be received on authenticate.
app/sdk/authclient/authclient.go:31
Struct
AuthenticateResponse
Response message for authentication.
app/domain/grpcauthapp/authapp.pb.go:526
Struct
AuthenticateResponse_builder
app/domain/grpcauthapp/authapp.pb.go:650
Interface
Authenticator
app/sdk/authclient/authclient.go:12
Struct
Authorize
Authorize defines the information required to perform an authorization.
app/sdk/authclient/authclient.go:19
Struct
AuthorizeRequest
Request message for authorization.
app/domain/grpcauthapp/authapp.pb.go:678
Struct
AuthorizeRequest_builder
app/domain/grpcauthapp/authapp.pb.go:790
Struct
AuthorizeResponse
Response message for authorization.
app/domain/grpcauthapp/authapp.pb.go:815
Struct
AuthorizeResponse_builder
app/domain/grpcauthapp/authapp.pb.go:846
Interface
Beginner
Beginner represents a value that can begin a transaction.
business/sdk/sqldb/tran.go:10
TypeAlias
Bool
Bool represents a one-dimensional array of the PostgreSQL boolean type.
business/sdk/sqldb/dbarray/dbarray.go:101
Struct
BusConfig
app/sdk/mux/mux.go:66
Struct
BusDomain
BusDomain represents all the business domain apis needed for testing.
business/sdk/dbtest/business.go:29
Struct
Business
Business manages the set of APIs for view product access.
business/domain/vproductbus/vproductbus.go:31
Struct
Business
Business manages the set of APIs for product access.
business/domain/productbus/productbus.go:57
Struct
Business
Business manages the set of APIs for home api access.
business/domain/homebus/homebus.go:56
Struct
Business
Business manages the set of APIs for user access.
business/domain/userbus/userbus.go:59
Struct
Business
Business manages the set of APIs for audit access.
business/domain/auditbus/auditbus.go:37
Struct
By
By represents a field used to order by and direction.
business/sdk/order/order.go:21
TypeAlias
Bytea
Bytea represents a one-dimensional array of the PostgreSQL bytea type.
business/sdk/sqldb/dbarray/dbarray.go:175
Struct
Claims
Claims represents the authorization claims transmitted via a JWT.
app/domain/grpcauthapp/authapp.pb.go:182
Struct
Claims
Claims represents the authorization claims transmitted via a JWT.
app/sdk/auth/auth.go:30
Struct
Claims_builder
app/domain/grpcauthapp/authapp.pb.go:398
Struct
Client
Client represents a client that can talk to the auth service.
app/sdk/authclient/http/authclient.go:43
Struct
Client
Client represents a client that can talk to the auth service.
app/sdk/authclient/grpc/authclient.go:17
Interface
Collector
Collector defines a contract a collector must support so a consumer can retrieve metrics.
api/services/metrics/publisher/publisher.go:21
Interface
CommitRollbacker
CommitRollbacker represents a value that can commit or rollback a transaction.
business/sdk/sqldb/tran.go:15
Struct
Config
Config is the required properties to use the database.
business/sdk/sqldb/sqldb.go:36
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/vproductapp/route.go:16
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/homeapp/route.go:15
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/auditapp/route.go:15
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/productapp/route.go:15
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/userapp/route.go:15
Struct
Config
Config holds the dependencies for the gRPC service.
app/domain/grpcauthapp/start.go:15
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/checkapp/route.go:12
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/tranapp/route.go:18
Struct
Config
Config contains all the mandatory systems required by handlers.
app/domain/authapp/route.go:13
Struct
Config
Config contains all the configuration for the auth app.
app/domain/oauthapp/route.go:12
Struct
Config
Config contains all the mandatory systems required by handlers.
app/sdk/mux/mux.go:75
Struct
Config
Config represents information required to initialize auth.
app/sdk/auth/auth.go:44
Struct
Config
Config defines the information needed to init tracing.
foundation/otel/otel.go:26
Struct
Container
Container tracks information about the docker container started for tests.
foundation/docker/docker.go:17
Struct
DBBeginner
============================================================================= DBBeginner implements the Beginner interface,
business/sdk/sqldb/tran.go:23
Struct
Data
Data represents an event between domains.
business/sdk/delegate/model.go:12
Struct
Database
Database owns state for running and shutting down tests.
business/sdk/dbtest/dbtest.go:20
Struct
Datadog
Datadog provides the ability to publish metrics to Datadog.
api/services/metrics/publisher/datadog/datadog.go:16
Interface
Decoder
Decoder represents data that can be decoded.
foundation/web/request.go:15
Struct
Delegate
Delegate manages the set of functions to be called by domain packages when an import is not possible.
business/sdk/delegate/delegate.go:21
Interface
Delimiter
Delimiter may be optionally implemented by driver.Valuer or sql.Scanner to override the array delimiter used by Generic.
business/sdk/sqldb/dbarray/dbarray.go:95
Interface
Dialect
Dialect describes the engine-specific behavior a store needs in order to compose portable SQL from shared fragments.
business/sdk/sqldb/dialect/dialect.go:14
Struct
Domain
Domain represents a domain in the system.
business/types/domain/domain.go:19
Interface
Encoder
Encoder defines behavior that can encode a data model and provide the content type for that encoding.
foundation/web/web.go:21
Struct
ErrCode
ErrCode represents an error code in the system.
app/sdk/errs/errs.go:11
Struct
Error
============================================================================= Error represents an error in the system.
app/sdk/errs/errs.go:47
FuncType
EventFn
EventFn is a function to be executed when configured against a log level.
foundation/logger/model.go:46
Struct
Events
Events contains an assignment of an event function to a log level.
foundation/logger/model.go:49
Struct
Exporter
Exporter implements the prometheus exporter support.
api/services/metrics/publisher/prometheus/prometheus.go:17
Struct
Expvar
Expvar provide our basic publishing.
api/services/metrics/publisher/expvar/expvar.go:16
Struct
Expvar
Expvar provides the ability to receive metrics from internal services using expvar.
api/services/metrics/collector/expvar.go:16
FuncType
Extension
Extension is a function that wraps a new layer of business logic around the existing business logic.
business/domain/vproductbus/vproductbus.go:28
FuncType
Extension
Extension is a function that wraps a new layer of business logic around the existing business logic.
business/domain/productbus/productbus.go:54
FuncType
Extension
Extension is a function that wraps a new layer of business logic around the existing business logic.
business/domain/homebus/homebus.go:53
FuncType
Extension
Extension is a function that wraps a new layer of business logic around the existing business logic.
business/domain/userbus/userbus.go:56
FuncType
Extension
Extension is a function that wraps a new layer of business logic around the existing business logic.
business/domain/auditbus/auditbus.go:34
Struct
Extension
Extension provides a wrapper for otel functionality around the vproductbus.
business/domain/vproductbus/extensions/vproductotel/vproductotel.go:15
Struct
Extension
Extension provides a wrapper for otel functionality around the productbus.
business/domain/productbus/extensions/productotel/productotel.go:17
Struct
Extension
Extension provides a wrapper for otel functionality around the homebus.
business/domain/homebus/extensions/homeotel/homeotel.go:17
Struct
Extension
Extension provides a wrapper for audit functionality around the userbus.
business/domain/userbus/extensions/useraudit/useraudit.go:19
Struct
Extension
Extension provides a wrapper for otel functionality around the userbus.
business/domain/userbus/extensions/userotel/userotel.go:18
Struct
Extension
Extension provides a wrapper for otel functionality around the auditbus.
business/domain/auditbus/extensions/auditotel/auditotel.go:15
Struct
FieldError
============================================================================= FieldError is used to indicate an error with a specific request field.
app/sdk/errs/errs.go:103
TypeAlias
FieldErrors
FieldErrors represents a collection of field errors.
app/sdk/errs/errs.go:109
TypeAlias
Float32
Float32 represents a one-dimensional array of the PostgreSQL double precision type.
business/sdk/sqldb/dbarray/dbarray.go:309
TypeAlias
Float64
Float64 represents a one-dimensional array of the PostgreSQL double precision type.
business/sdk/sqldb/dbarray/dbarray.go:247
FuncType
Func
Func represents a function that is registered and called by the system.
business/sdk/delegate/model.go:9
Struct
Generic
Generic implements the driver.Valuer and sql.Scanner interfaces for an array or slice of any dimension.
business/sdk/sqldb/dbarray/dbarray.go:373
FuncType
HandlerFunc
HandlerFunc represents a function that handles a http request within our own little mini framework.
foundation/web/web.go:27
Struct
Home
Home represents a type in the system.
business/types/home/home.go:18
Struct
Home
Home represents an individual home.
business/domain/homebus/model.go:21
next →
1–100 of 230, ranked by callers