An open API service indexing awesome lists of open source software.

https://github.com/mayurshivakumar/decorator-pattern

decorator pattern
https://github.com/mayurshivakumar/decorator-pattern

decorator-pattern decorators design-patterns golang learning-go learning-golang patterns

Last synced: 5 months ago
JSON representation

decorator pattern

Awesome Lists containing this project

README

          

# Decorator-pattern
Decorators essentially allow you to wrap existing functionality and append or prepend your own custom functionality on top.
* [Timing decorator](https://github.com/mayurshivakumar/decorator-pattern/tree/main/timing-decorator)
* [Logging decorator](https://github.com/mayurshivakumar/decorator-pattern/tree/main/logging-decorator)
* [Cached decorator](https://github.com/mayurshivakumar/decorator-pattern/tree/main/cached-decorator) - decorator for getter(http, grpc ....)
* [Decorator for http handler](https://github.com/mayurshivakumar/jwtLibWrapper/blob/0ef0092324e0c954b42fa15cf69bd2a28cac2418/handlers.go#L52)