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