Directories ¶
Path | Synopsis |
---|---|
api
|
|
jsonrpc2-example
Package api describes microservice example's public JSON-RPC 2.0 API.
|
Package api describes microservice example's public JSON-RPC 2.0 API. |
proto
Package proto contains embedded files.
|
Package proto contains embedded files. |
proto/powerman/example/auth
Package api describes microservice auth's gRPC API.
|
Package api describes microservice auth's gRPC API. |
cmd
|
|
mono
Example monolith with embedded microservices.
|
Example monolith with embedded microservices. |
internal
|
|
apix
Package apix provide API-related helpers.
|
Package apix provide API-related helpers. |
config
Package config provides configuration shared by microservices.
|
Package config provides configuration shared by microservices. |
dom
Package dom contains common domain (business-logic) entities.
|
Package dom contains common domain (business-logic) entities. |
ms
|
|
auth
Package auth provides embedded microservice.
|
Package auth provides embedded microservice. |
auth/internal/app
Package app provides business logic.
|
Package app provides business logic. |
auth/internal/config
Package config provides configurations for subcommands.
|
Package config provides configurations for subcommands. |
auth/internal/dal
Package dal implements Data Access Layer using PostgreSQL DB.
|
Package dal implements Data Access Layer using PostgreSQL DB. |
auth/internal/migrations
Package migrations provides goose migrations.
|
Package migrations provides goose migrations. |
auth/internal/srv/grpc
Package grpc implements gRPC method handlers.
|
Package grpc implements gRPC method handlers. |
auth/internal/srv/grpcgw
Package grpcgw provides grpc-gateway server.
|
Package grpcgw provides grpc-gateway server. |
example
Package example provides embedded microservice.
|
Package example provides embedded microservice. |
example/internal/app
Package app provides business logic.
|
Package app provides business logic. |
example/internal/config
Package config provides configurations for subcommands.
|
Package config provides configurations for subcommands. |
example/internal/dal
Package dal implements Data Access Layer using MySQL DB.
|
Package dal implements Data Access Layer using MySQL DB. |
example/internal/migrations
Package migrations provides goose migrations.
|
Package migrations provides goose migrations. |
example/internal/srv/jsonrpc2
Package jsonrpc2 implements JSON-RPC 2.0 method handlers.
|
Package jsonrpc2 implements JSON-RPC 2.0 method handlers. |
mono
Package mono provides embedded microservice.
|
Package mono provides embedded microservice. |
pkg
|
|
cobrax
Package cobrax contains helpers to use with github.com/spf13/cobra.
|
Package cobrax contains helpers to use with github.com/spf13/cobra. |
concurrent
Package concurrent provide a helpers to setup, start and shutdown a lot of services in parallel.
|
Package concurrent provide a helpers to setup, start and shutdown a lot of services in parallel. |
def
Package def provides default values for both commands and tests.
|
Package def provides default values for both commands and tests. |
grpcx
Package grpcx provide helpers for typical gRPC client/server.
|
Package grpcx provide helpers for typical gRPC client/server. |
jsonrpc2x
Package jsonrpc2x provide helpers for JSON-RPC 2.0 API.
|
Package jsonrpc2x provide helpers for JSON-RPC 2.0 API. |
migrate
Package migrate manage DB migrations.
|
Package migrate manage DB migrations. |
natsx
Package natsx implements connections to NATS and NATS Streaming (STAN).
|
Package natsx implements connections to NATS and NATS Streaming (STAN). |
netx
Package netx contains experimental helpers related to network.
|
Package netx contains experimental helpers related to network. |
reflectx
Package reflectx provide helpers for reflect.
|
Package reflectx provide helpers for reflect. |
repo
Package repo provide helpers for Data Access Layer.
|
Package repo provide helpers for Data Access Layer. |
serve
Package serve provides helpers to start and shutdown network services.
|
Package serve provides helpers to start and shutdown network services. |
Package third_party contains embedded files.
|
Package third_party contains embedded files. |
Package web contains embedded files.
|
Package web contains embedded files. |
Click to show internal directories.
Click to hide internal directories.