We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.87.0
Currently having some issues with the worker functions on the API where a string is expected/being returned for the script content.
Could we modify the create and update params to take an interface{} rather than string to enable us to stream worker content to the api.
Workers can be up to 10Mb in size and buffering this within my application seems wrong.
type CreateWorkerParams struct { ... Script interface{} ... } func (api *API) UploadWorker(....... { body, w := io.Pipe ... go func() { api.makeRequest(....body....) } // write to body... }
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current cloudflare-go version
v0.87.0
Description
Currently having some issues with the worker functions on the API where a string is expected/being returned for the script content.
Could we modify the create and update params to take an interface{} rather than string to enable us to stream worker content to the api.
Use cases
Workers can be up to 10Mb in size and buffering this within my application seems wrong.
Potential cloudflare-go usage
References
No response
The text was updated successfully, but these errors were encountered: