R
RunPod•9mo ago
heyado

Can I use a golang handler with serverless?

Tried to find info regarding this: is it possible to use golang for serverless? Any examples in that case?
14 Replies
nerdylive
nerdylive•9mo ago
You should start the handler with python for now, thats the only supported thing inside serverless workers but you can create a subprocess from the code
heyado
heyadoOP•9mo ago
Thanks! I'll try with another provider first in that case, but if that doesn't work out I'll give subprocess a shot 🙏
PatrickR
PatrickR•9mo ago
Overview | RunPod Documentation
Get started with setting up your RunPod projects using Go.
haris
haris•9mo ago
I believe the SDK is only for interacting with RunPod's API and not for handling requests with serverless.
Madiator2011 (Work)
Madiator2011 (Work)•9mo ago
you could in theory wrap python sdk over go code
nerdylive
nerdylive•9mo ago
How would that works
Madiator2011 (Work)
Madiator2011 (Work)•9mo ago
Medium
Running Go code from Python
Python is a great language that can be picked up easily by a new developer and be productive in a short amount time, it is clean code by…
nerdylive
nerdylive•9mo ago
ohh wrapping go code in python yeah
Madiator2011 (Work)
Madiator2011 (Work)•9mo ago
so processing will be done by go
heyado
heyadoOP•9mo ago
Thanks guys 🙏
flash-singh
flash-singh•8mo ago
@heyado we do have golang sdk in early testing, let me know if you want acces
pshek
pshek•8mo ago
hi, any chance for a c# sdk? or at least documentation on what the worker should follow
nerdylive
nerdylive•8mo ago
soon™
flash-singh
flash-singh•8mo ago
dont have plans for c#

Did you find this page helpful?