FAQ
Does the protoc-gen-go plugin support code-gen of stubs for service definitions similar to cc_generic_services or java_generic_services?

If so, is there some option I need to pass along to protoc along with --go_out?

Arun

PS: I'm not subscribed to the mailing-list, appreciate a cc. Thanks.
Also, sorry, I can't find a goprotobuf specific mailing list - please re-direct me if necessary.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • David Symonds at Sep 18, 2013 at 1:36 pm
    It doesn't support generating rpc stubs directly, but it's designed to
    make it easy to add that. The code in generator/generator.go has a
    rough plugin system that is straight-forward to code against.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.
  • Kyle Lemons at Sep 19, 2013 at 5:27 pm
    I have a third party one here: https://github.com/kylelemons/go-rpcgen

    It can generate both "native" RPC and (my own) "web" RPC, and can handle
    multiple wire protocols (proto, json, gob), all based on proto service
    definitions.

    On Wed, Sep 18, 2013 at 6:36 AM, David Symonds wrote:

    It doesn't support generating rpc stubs directly, but it's designed to
    make it easy to add that. The code in generator/generator.go has a
    rough plugin system that is straight-forward to code against.

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.
  • Chai2010 at Sep 18, 2013 at 2:07 pm
    I create a protorpc pkg: https://code.google.com/p/protorpc/
    it contain a protoc-gen-go tool to generate rpc stubs.


    2013/9/18 Arun C Murthy <[email protected]>
    Does the protoc-gen-go plugin support code-gen of stubs for service
    definitions similar to cc_generic_services or java_generic_services?

    If so, is there some option I need to pass along to protoc along with
    --go_out?

    Arun

    PS: I'm not subscribed to the mailing-list, appreciate a cc. Thanks.
    Also, sorry, I can't find a goprotobuf specific mailing list - please
    re-direct me if necessary.

    --
    You received this message because you are subscribed to the Google Groups
    "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.


    --
    chaishushan
    http://my.oschina.net/chai2010
    https://bitbucket.org/chai2010

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedSep 18, '13 at 1:32p
activeSep 19, '13 at 5:27p
posts4
users4
websitegolang.org

People

Translate

site design / logo © 2023 Grokbase