protos/

directory
v1.67.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0

README

How to Generate Protos

download and install protoc: https://google.github.io/proto-lens/installing-protoc.html

Use this command where protobuf ../googleapis is a path to this repo on your local system:

protoc --proto_path=./exporter/chronicleexporter/protos \
       --go-grpc_opt=paths=source_relative \
       --go-grpc_out=./exporter/chronicleexporter/protos/api \
       --go_out=./exporter/chronicleexporter/protos/api \
       --go_opt=paths=source_relative \
       --proto_path=../googleapis \
       ./exporter/chronicleexporter/protos/*.proto

Directories

Path Synopsis
api
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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