examples/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2026 License: MIT

Directories

Path Synopsis
nop-go
contrib/messagequeue
Package messagequeue provides shared metrics for MQ implementations.
Package messagequeue provides shared metrics for MQ implementations.
framework/application
Package application provides application startup entrypoints for gorp framework.
Package application provides application startup entrypoints for gorp framework.
framework/bootstrap
Package bootstrap provides framework bootstrap and assembly helpers for gorp.
Package bootstrap provides framework bootstrap and assembly helpers for gorp.
framework/container
Package container provides runtime dependency injection container for gorp framework.
Package container provides runtime dependency injection container for gorp framework.
framework/contract/data
Application scenarios: - Define the cache contract used by business services and framework providers.
Application scenarios: - Define the cache contract used by business services and framework providers.
framework/contract/discovery
Application scenarios: - Define the service-instance selection contract used by discovery-aware RPC clients.
Application scenarios: - Define the service-instance selection contract used by discovery-aware RPC clients.
framework/contract/integration
Application scenarios: - Define the distributed transaction contract used by business orchestration flows.
Application scenarios: - Define the distributed transaction contract used by business orchestration flows.
framework/contract/observability
Application scenarios: - Define health check contracts for services and their dependencies.
Application scenarios: - Define health check contracts for services and their dependencies.
framework/contract/resilience
Application scenarios: - Define the shared governance-mode and policy-provider contracts used by bootstrap and runtime assembly.
Application scenarios: - Define the shared governance-mode and policy-provider contracts used by bootstrap and runtime assembly.
framework/contract/runtime
Application scenarios: - Define minimal business-facing runtime contracts shared across framework layers.
Application scenarios: - Define minimal business-facing runtime contracts shared across framework layers.
framework/contract/security
Application scenarios: - Define the business-facing JWT authentication contract used by handlers and services.
Application scenarios: - Define the business-facing JWT authentication contract used by handlers and services.
framework/contract/support
Application scenarios: - Attach the runtime container onto request-scoped or task-scoped contexts.
Application scenarios: - Attach the runtime container onto request-scoped or task-scoped contexts.
framework/contract/transport
Application scenarios: - Define the framework-agnostic HTTP request context contract.
Application scenarios: - Define the framework-agnostic HTTP request context contract.
framework/deploy
Package deploy provides deployment utilities for gorp framework.
Package deploy provides deployment utilities for gorp framework.
framework/goroutine
Package goroutine provides goroutine safety utilities for gorp framework.
Package goroutine provides goroutine safety utilities for gorp framework.
framework/grpc/interceptor
Application scenarios: - Provide one provider-neutral home for the framework's gRPC governance interceptor presets.
Application scenarios: - Provide one provider-neutral home for the framework's gRPC governance interceptor presets.
framework/http/middleware
Application scenarios: - Record operator, resource, action, and outcome for business-sensitive endpoints.
Application scenarios: - Record operator, resource, action, and outcome for business-sensitive endpoints.
framework/lifecycle
Package lifecycle provides service lifecycle management for gorp framework.
Package lifecycle provides service lifecycle management for gorp framework.
framework/log
Package log provides lightweight logging utilities for gorp framework.
Package log provides lightweight logging utilities for gorp framework.
framework/provider/app
Package app provides application root-path capability for gorp framework.
Package app provides application root-path capability for gorp framework.
framework/provider/auth/jwt
Package jwt provides Gin HTTP middleware for JWT authentication.
Package jwt provides Gin HTTP middleware for JWT authentication.
framework/provider/cache
Package cache provides in-memory cache implementation.
Package cache provides in-memory cache implementation.
framework/provider/config
Package config provides environment normalization utilities for gorp framework.
Package config provides environment normalization utilities for gorp framework.
framework/provider/configsource/local
Package local provides local file config source implementation for gorp framework.
Package local provides local file config source implementation for gorp framework.
framework/provider/configsource/noop
Package noop provides a no-op config source for monolith scenarios.
Package noop provides a no-op config source for monolith scenarios.
framework/provider/cron
Package cron provides cron scheduling service for gorp framework.
Package cron provides cron scheduling service for gorp framework.
framework/provider/discovery/noop
Package noop provides a no-op service discovery registry for monolith scenarios.
Package noop provides a no-op service discovery registry for monolith scenarios.
framework/provider/dlock/noop
Package noop provides a no-op distributed lock for monolith scenarios.
Package noop provides a no-op distributed lock for monolith scenarios.
framework/provider/dtm/noop
Package noop provides a no-op DTM distributed transaction client for monolith scenarios.
Package noop provides a no-op DTM distributed transaction client for monolith scenarios.
framework/provider/error_reporter
Package error_reporter provides error reporting service for gorp framework.
Package error_reporter provides error reporting service for gorp framework.
framework/provider/errors/std
Package std provides standard error handling implementation for gorp framework.
Package std provides standard error handling implementation for gorp framework.
framework/provider/event
Package event provides local in-memory event bus implementation for gorp framework.
Package event provides local in-memory event bus implementation for gorp framework.
framework/provider/gin
Package gin provides Gin-based HTTP server implementation for gorp framework.
Package gin provides Gin-based HTTP server implementation for gorp framework.
framework/provider/grpc
Package grpc provides gRPC interceptors for gorp framework.
Package grpc provides gRPC interceptors for gorp framework.
framework/provider/health
Package health provides dependency health checkers for common components.
Package health provides dependency health checkers for common components.
framework/provider/host
Package host provides service adapters for wrapping HTTP, Cron, and GRPC servers.
Package host provides service adapters for wrapping HTTP, Cron, and GRPC servers.
framework/provider/loadshedding
Package loadshedding 提供过载保护(LoadShedding)实现。
Package loadshedding 提供过载保护(LoadShedding)实现。
framework/provider/loadshedding/bbr
Package bbr 提供 BBR 自适应过载保护实现。
Package bbr 提供 BBR 自适应过载保护实现。
framework/provider/loadshedding/noop
Package noop 提供 LoadShedding 的空实现。
Package noop 提供 LoadShedding 的空实现。
framework/provider/log
Package log provides zap-based logging service for gorp framework.
Package log provides zap-based logging service for gorp framework.
framework/provider/messagequeue/noop
Package noop provides a no-op message queue for monolith scenarios.
Package noop provides a no-op message queue for monolith scenarios.
framework/provider/metadata
Package metadata provides metadata propagation service for gorp framework.
Package metadata provides metadata propagation service for gorp framework.
framework/provider/metadata/middleware
Package middleware provides gRPC metadata propagation middleware.
Package middleware provides gRPC metadata propagation middleware.
framework/provider/metadata/noop
Package noop provides no-op metadata implementation for monolith scenarios.
Package noop provides no-op metadata implementation for monolith scenarios.
framework/provider/metadata/propagator
Package propagator provides metadata propagation implementation for gorp framework.
Package propagator provides metadata propagation implementation for gorp framework.
framework/provider/observability
Package observability provides observability service implementation for gorp framework.
Package observability provides observability service implementation for gorp framework.
framework/provider/orm/ent
Package ent provides Ent ORM integration for gorp framework.
Package ent provides Ent ORM integration for gorp framework.
framework/provider/orm/gorm
Package gorm provides a custom GORM logger implementation.
Package gorm provides a custom GORM logger implementation.
framework/provider/orm/inspect
Package inspect provides database schema inspection service.
Package inspect provides database schema inspection service.
framework/provider/orm/runtime
Package runtime provides ORM backend abstraction and unified runtime services.
Package runtime provides ORM backend abstraction and unified runtime services.
framework/provider/orm/sqlx
Package sqlx provides SQLX ORM integration for gorp framework.
Package sqlx provides SQLX ORM integration for gorp framework.
framework/provider/outbox
Package outbox provides in-memory outbox pattern implementation for gorp framework.
Package outbox provides in-memory outbox pattern implementation for gorp framework.
framework/provider/proto
Package proto provides proto generator implementation.
Package proto provides proto generator implementation.
framework/provider/ratelimiter
Package ratelimiter provides rate limiting capability for gorp framework.
Package ratelimiter provides rate limiting capability for gorp framework.
framework/provider/redis
Package redis provides Redis service for gorp framework.
Package redis provides Redis service for gorp framework.
framework/provider/retry
Package retry provides retry service for gorp framework.
Package retry provides retry service for gorp framework.
framework/provider/retry/noop
Application scenarios: - Provide the monolith-friendly no-op retry capability.
Application scenarios: - Provide the monolith-friendly no-op retry capability.
framework/provider/rpc/grpc
Package grpc provides the gRPC-based RPC client for the gorp framework.
Package grpc provides the gRPC-based RPC client for the gorp framework.
framework/provider/rpc/http
Package http provides HTTP RPC client for gorp framework.
Package http provides HTTP RPC client for gorp framework.
framework/provider/rpc/noop
Package noop provides a no-op RPC client/server for monolith scenarios.
Package noop provides a no-op RPC client/server for monolith scenarios.
framework/provider/selector/noop
Package noop provides a no-op load balancing selector for monolith scenarios.
Package noop provides a no-op load balancing selector for monolith scenarios.
framework/provider/selector/p2c
Package p2c provides Power of Two Choices load balancing selector.
Package p2c provides Power of Two Choices load balancing selector.
framework/provider/selector/random
Package random provides random load balancing selector for service discovery.
Package random provides random load balancing selector for service discovery.
framework/provider/selector/wrr
Package wrr provides weighted round-robin load balancing selector.
Package wrr provides weighted round-robin load balancing selector.
framework/provider/serviceauth/noop
Package noop provides a no-op service authenticator for monolith scenarios.
Package noop provides a no-op service authenticator for monolith scenarios.
framework/provider/ssh
Package ssh provides SSH service for gorp framework.
Package ssh provides SSH service for gorp framework.
framework/provider/tracing/middleware
Package middleware provides gRPC tracing middleware for gorp framework.
Package middleware provides gRPC tracing middleware for gorp framework.
framework/provider/tracing/noop
Package noop provides a no-op tracing implementation for monolith scenarios.
Package noop provides a no-op tracing implementation for monolith scenarios.
framework/provider/validate
Package validate provides a unified validation service using go-playground/validator.
Package validate provides a unified validation service using go-playground/validator.
framework/provider/validate/noop
Package noop provides a no-op validator implementation for monolith scenarios.
Package noop provides a no-op validator implementation for monolith scenarios.
framework/provider/websocket
Package websocket provides WebSocket capability provider for gorp framework.
Package websocket provides WebSocket capability provider for gorp framework.
framework/provider/websocket/noop
Package noop provides a no-op WebSocket service implementation for gorp.
Package noop provides a no-op WebSocket service implementation for gorp.
framework/rpc/governance
Application scenarios: - Provide a shared outbound RPC governance chain model used by HTTP and gRPC clients.
Application scenarios: - Provide a shared outbound RPC governance chain model used by HTTP and gRPC clients.
framework/testing
Package testing provides testing utilities for gorp framework.
Package testing provides testing utilities for gorp framework.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL