Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This repository contains all needed protocol definitions (e.x. protobuf)

License

Notifications You must be signed in to change notification settings

azhiltsov/protocol

Open more actions menu
 
 

Repository files navigation

go-graphite/protocol

This repository contains protocol definitions for go-graphite services

  • zipper-* - protocols used for reading path
    • carbonapi_v3_grpc - gRPC service definitions for new zipper protocol. Status: WIP
    • carbonapi_v3_pb - new protobuf3-based protocol that's used as a base for gRPC communcation Status: WIP
    • carbonapi_v2_pb - current production protobuf3-based protocol. Status: STABLE
    • carbonapi_v1_pb - protobuf2 protocol, used in carbonzipper 0.6x or earlier. Status: Deprecated

Generating Go from *.proto files

We use gogo/protobuf. Install the binaries needed with:

$ go get github.com/gogo/protobuf/proto
$ go get github.com/gogo/protobuf/protoc-gen-gogofast 
$ go get github.com/gogo/protobuf/protoc-gen-gogofaster
$ go get github.com/gogo/protobuf/protoc-gen-gogoslick 
$ go get github.com/gogo/protobuf/gogoproto

Then generate Go files with:

$ go generate ./...

About

This repository contains all needed protocol definitions (e.x. protobuf)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.