Skip to content

Which version of jsonrpc protocol does go-kit support? #986

@lazuka13

Description

@lazuka13

Hello! I tried to use go-kit jsonrpc client implementation to work with flask-jsonrpc server and ran into a problem with "jsonrpc" field - it is set to an empty string, when flask-jsonrpc expects it to be an adequate value, like "2.0" or "1.1". Also, according to specification on https://www.jsonrpc.org/specification, only version 2.0 request should have "jsonrpc" field, version 1.0 doesn't have it.

So, my question is which version of jsonrpc protocol does go-kit provide, and if the answer is "2.0", then why does it leave "jsonrpc" field empty (and shouldn't there be some convenient method to set it)?

I don't really have much experience with go, so if I don't understand something really simple here - please, explain it to me. 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions