proto

module
v0.0.0-...-5def1f5 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0

README

main

proto is the protobuf definition of the Uni-One Platform API.

The folder google/* was cloned from github.com/googleapis/api-common-protos. The folder protoc-gen-openapiv2/* was cloned from github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2.

You need to install the following tools to build locally:

  • The protoc compiler
  • The following compiler plugins:
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
$ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
$ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest
$ go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@latest

Then run:

$ ./build.sh

Generated SDKs from updates to this repository:

The OpenAPI documentation files are generated in this repo.

Directories

Path Synopsis
generated
go/google/iam/admin/v1
Package admin is a reverse proxy.
Package admin is a reverse proxy.
go/google/iam/v1
Package iam is a reverse proxy.
Package iam is a reverse proxy.
go/google/longrunning
Package longrunning is a reverse proxy.
Package longrunning is a reverse proxy.
go/iam/v1
Package iam is a reverse proxy.
Package iam is a reverse proxy.
internal/genopenapi
Package genopenapi provides a code generator for OpenAPI v2.
Package genopenapi provides a code generator for OpenAPI v2.

Jump to

Keyboard shortcuts

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