Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSAllowAll ¶
CORSAllowAll returns a permissive CORS middleware for development. For production, use github.com/ahimsalabs/cors directly.
func LoggingInterceptor ¶
func LoggingInterceptor(logger *slog.Logger) tygor.UnaryInterceptor
LoggingInterceptor creates an interceptor that logs service calls using slog. It logs the start and end of each call, including duration and error status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.