import "github.com/vardius/go-api-boilerplate"
Package goapiboilerplate provides Go Server/API boilerplate using best practices, DDD, CQRS, ES.
Path | Synopsis |
---|---|
cmd/auth | |
cmd/auth/internal/application | Package application is a layer responsible for driving the workflow of the application, matching the use cases at hand. |
cmd/auth/internal/application/access | |
cmd/auth/internal/application/config | |
cmd/auth/internal/application/eventhandler | |
cmd/auth/internal/application/identity | |
cmd/auth/internal/application/services | |
cmd/auth/internal/application/services/oauth2 | |
cmd/auth/internal/domain | Package domain is the heart layer of the software, and this is where the interesting stuff happens. |
cmd/auth/internal/domain/client | Package client holds client domain logic |
cmd/auth/internal/domain/token | Package token holds token domain logic |
cmd/auth/internal/infrastructure | Package infrastructure is a layer that holds everything that interacts with other systems - Secondary/Driven Adapters. |
cmd/auth/internal/infrastructure/persistence | Package persistence holds view models and repository interfaces |
cmd/auth/internal/infrastructure/persistence/mysql | Package mysql holds view model repositories |
cmd/auth/internal/infrastructure/repository | Package repository holds event sourced repositories |
cmd/auth/internal/interfaces | Package interfaces is a layer that holds everything that other systems interacts with - Primary/Driving Adapters. |
cmd/auth/internal/interfaces/grpc | Package grpc provides auth grpc server |
cmd/auth/internal/interfaces/http | Package http provides routes for http router |
cmd/auth/internal/interfaces/http/handlers | Package handlers provides http handlers |
cmd/auth/proto | |
cmd/user | |
cmd/user/internal/application | Package application is a layer responsible for driving the workflow of the application, matching the use cases at hand. |
cmd/user/internal/application/access | |
cmd/user/internal/application/config | |
cmd/user/internal/application/email | |
cmd/user/internal/application/eventhandler | |
cmd/user/internal/application/services | |
cmd/user/internal/application/services/mailer | |
cmd/user/internal/domain | Package domain is the heart layer of the software, and this is where the interesting stuff happens. |
cmd/user/internal/domain/user | Package user holds user domain logic |
cmd/user/internal/infrastructure | Package infrastructure is a layer that holds everything that interacts with other systems - Secondary/Driven Adapters. |
cmd/user/internal/infrastructure/persistence | Package persistence holds view models and repository interfaces |
cmd/user/internal/infrastructure/persistence/mysql | Package mysql holds view model repositories |
cmd/user/internal/infrastructure/repository | Package repository holds event sourced repositories |
cmd/user/internal/interfaces | Package interfaces is a layer that holds everything that other systems interacts with - Primary/Driving Adapters. |
cmd/user/internal/interfaces/grpc | Package grpc provides user grpc server |
cmd/user/internal/interfaces/http | Package http provides routes for http router |
cmd/user/internal/interfaces/http/handlers | Package handlers provides http handlers |
cmd/user/proto | |
pkg/application | Package errors implements functions to manipulate errors. |
pkg/auth | |
pkg/auth/oauth2 | |
pkg/buildinfo | |
pkg/commandbus | Package commandbus provides interfaces along with helper functions |
pkg/commandbus/memory | |
pkg/container | |
pkg/domain | Package domain is the heart layer of the software, and this is where the interesting stuff happens. |
pkg/errors | Package errors implements functions to manipulate errors. |
pkg/eventbus | Package eventbus provides interfaces along with helper functions |
pkg/eventbus/memory | |
pkg/eventbus/pubsub | |
pkg/eventbus/pushpull | |
pkg/eventstore | Package eventstore provides interfaces along with helper functions |
pkg/eventstore/dynamodb | Package eventstore provides dynamodb implementation of domain event store |
pkg/eventstore/memory | Package eventstore provides memory implementation of domain event store |
pkg/eventstore/mongo | Package eventstore provides mongo implementation of domain event store |
pkg/eventstore/mysql | Package eventstore provides mysql implementation of domain event store |
pkg/executioncontext | Package executioncontext provides context helper function so set and get execution flags |
pkg/grpc | |
pkg/grpc/errors | |
pkg/grpc/middleware | |
pkg/grpc/middleware/firewall | |
pkg/http | |
pkg/http/errors | |
pkg/http/middleware | Package middleware provides http middleware |
pkg/http/middleware/authenticator | Package authenticator provides allows to authorize request |
pkg/http/request | |
pkg/http/response | Package response provides helpers and utils for working with HTTP response |
pkg/http/response/json | Package response provides helpers and utils for working with HTTP response |
pkg/identity | Package identity provides type that allows to authorize request |
pkg/log | Package log provides Logger |
pkg/metadata | |
pkg/mysql |
Updated 2021-01-11. Refresh now. Tools for package owners.