Is it possible to update Renderer once server started? #2304
Answered
by
aldas
barraganlazlo
asked this question in
Q&A
-
I'm kinda new to golang and echo I tries to look at source code to find the answer but some help would be welcome |
Beta Was this translation helpful? Give feedback.
Answered by
aldas
Nov 4, 2022
Replies: 1 comment
-
You can but you need to create wrapper that implements |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
barraganlazlo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can but you need to create wrapper that implements
Render
interface that allows changing it internals in goroutine safe way. In this was you would not have to changee.Renderer
orc.Echo.Render
instance and cause potential race condition.