R
RunPod•6mo 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•6mo 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•6mo 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•6mo ago
Overview | RunPod Documentation
Get started with setting up your RunPod projects using Go.
haris
haris•6mo ago
I believe the SDK is only for interacting with RunPod's API and not for handling requests with serverless.
Madiator2011 (Work)
Madiator2011 (Work)•6mo ago
you could in theory wrap python sdk over go code
nerdylive
nerdylive•6mo ago
How would that works
Madiator2011 (Work)
Madiator2011 (Work)•6mo 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•6mo ago
ohh wrapping go code in python yeah
Madiator2011 (Work)
Madiator2011 (Work)•6mo ago
so processing will be done by go
heyado
heyadoOP•6mo ago
Thanks guys 🙏
flash-singh
flash-singh•6mo ago
@heyado we do have golang sdk in early testing, let me know if you want acces
pshek
pshek•6mo ago
hi, any chance for a c# sdk? or at least documentation on what the worker should follow
nerdylive
nerdylive•6mo ago
soon™
flash-singh
flash-singh•6mo ago
dont have plans for c#
Want results from more Discord servers?
Add your server