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