protoc-gen-endpoint

command module
v0.0.0-...-6194787 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2017 License: BSD-3-Clause Imports: 15 Imported by: 0

README

protoc-gen-endpoint

protoc-gen-endpoint is a protobuf plugin that allows generating extra information for google.api.http.

Usage

service Server {
    rpc Foo(Bar) returns (Baz) {
        option (google.api.http) = {
            get: "/v1/foo"
        };
        option (proto.endpoint) = {
            unauthenticated: true
        };
    }
}

Once protoc-gen-endpoint is installed in $PATH, the program can be used with protoc via the flag: --endpoint_out

License

BSD 3 clause

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package proto is a generated protocol buffer package.
Package proto is a generated protocol buffer package.
Package tables implements (URL, HTTP method) -> SermoCRM Action lookup tables.
Package tables implements (URL, HTTP method) -> SermoCRM Action lookup tables.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL