kevinanielsen / go-fast-cdn

A fast and easy-to-use CDN, built with Go.
https://kevinanielsen.github.io/go-fast-cdn/
MIT License
107 stars 23 forks source link

[Feature] Update project to use something like https://golang.cafe/blog/golang-functional-options-pattern.html to help with server configuration #94

Open raj3k opened 5 months ago

raj3k commented 5 months ago

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Refactor current server configuration. Currently there is small number of configurational parameters but when this number will raise, using f.e. Options Pattern could be beneficial.

Describe alternatives you've considered
N/a

Additional context
https://golang.cafe/blog/golang-functional-options-pattern.html or https://github.com/eddycjy/go-gin-example/blob/master/main.go

kevinanielsen commented 5 months ago

I like this a lot - Would you like to work on this? @raj3k

raj3k commented 5 months ago

@kevinanielsen yes, i will work on that

kevinanielsen commented 5 months ago

Perfect - Assigning you now!

josefmay commented 2 weeks ago

Is this feature request being actively worked on? If not, I would like to work on it.

kevinanielsen commented 1 week ago

@josefmay I believe it is not, I can assign you to it now :)