go-cshared-examples icon indicating copy to clipboard operation
go-cshared-examples copied to clipboard

how can i do some init work so i can reuse some config like redis pool when load the so file?

Open PandyYang opened this issue 3 years ago • 1 comments

I know share library share memory, but I'm confuse It can share the global config by threads call.

PandyYang avatar Nov 26 '22 18:11 PandyYang

Hi @PandyYang Is there something specific you want to do with the config file? Can you describe with some code?

vladimirvivien avatar Nov 29 '22 16:11 vladimirvivien