open2opaque

command module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

README

open2opaque

The program open2opaque migrates Go code using Go Protobuf from the Open API to the Opaque API.

See https://go.dev/blog/protobuf-opaque for context.

Documentation

Overview

The program open2opaque migrates Go code using Go Protobuf from the Open API to the Opaque API.

See https://go.dev/blog/protobuf-opaque for context.

Directories

Path Synopsis
internal
apiflagdata/set
Package set provides set data structures.
Package set provides set data structures.
fix
Package fix rewrites Go packages to use opaque version of the Go protocol buffer API.
Package fix rewrites Go packages to use opaque version of the Go protocol buffer API.
ignore
Package ignore implements checking if a certain file (typically .proto or .go) should be ignored by the open2opaque pipeline.
Package ignore implements checking if a certain file (typically .proto or .go) should be ignored by the open2opaque pipeline.
o2o/args
Package args translates command-line arguments from proto message names or prefixes to proto file names.
Package args translates command-line arguments from proto message names or prefixes to proto file names.
o2o/errutil
Package errutil provides utilities for easily annotating Go errors.
Package errutil provides utilities for easily annotating Go errors.
o2o/fakeloader
Package fakeloader contains a hermetic loader implementation that does not depend on any other systems and can be used in tests.
Package fakeloader contains a hermetic loader implementation that does not depend on any other systems and can be used in tests.
o2o/loader
Package loader loads Go packages.
Package loader loads Go packages.
o2o/profile
Package profile provides a simple way to gather timing statistics.
Package profile provides a simple way to gather timing statistics.
o2o/rewrite
Package rewrite implements the main open2opaque functionality: rewriting Go source code to use the opaque API.
Package rewrite implements the main open2opaque functionality: rewriting Go source code to use the opaque API.
o2o/setapi
Package setapi implements the setapi open2opaque subcommand, which sets the go_api_flag file option in .proto files.
Package setapi implements the setapi open2opaque subcommand, which sets the go_api_flag file option in .proto files.
o2o/statsutil
Package statsutil provides functions for working with the open2opaque stats proto.
Package statsutil provides functions for working with the open2opaque stats proto.
o2o/syncset
Package syncset implements sets that can be safely accessed concurrently.
Package syncset implements sets that can be safely accessed concurrently.
o2o/wd
Package wd deals with adjusting the working directory as needed
Package wd deals with adjusting the working directory as needed
protodetect
Package protodetect provides function to identify the go_api_flag file and message options specified in the files.
Package protodetect provides function to identify the go_api_flag file and message options specified in the files.
protodetecttypes
Package protodetecttypes identifies static types (go/types, typically obtained at build time) generated by protoc-gen-go.
Package protodetecttypes identifies static types (go/types, typically obtained at build time) generated by protoc-gen-go.
protoparse
Package protoparse provides function to parse proto source files and identify the go_api_flag file and message options specified in the files.
Package protoparse provides function to parse proto source files and identify the go_api_flag file and message options specified in the files.

Jump to

Keyboard shortcuts

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