You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/internal/tools/proto-gen-rpc-glue/e2e/source.pb.go

33 lines
794 B

//go:build example
// +build example
package e2e
import "github.com/hashicorp/consul/proto/pbcommon"
// @consul-rpc-glue: WriteRequest,TargetDatacenter
type ExampleWriteRequest struct {
Value string
WriteRequest *pbcommon.WriteRequest
TargetDatacenter *pbcommon.TargetDatacenter
}
// @consul-rpc-glue: ReadRequest,TargetDatacenter
type ExampleReadRequest struct {
Value string
ReadRequest *pbcommon.ReadRequest
TargetDatacenter *pbcommon.TargetDatacenter
}
// @consul-rpc-glue: WriteRequest=AltWriteRequest
type AltExampleWriteRequest struct {
Value int
AltWriteRequest *pbcommon.WriteRequest
}
// @consul-rpc-glue: ReadRequest=AltReadRequest
type AltExampleReadRequest struct {
Value int
AltReadRequest *pbcommon.ReadRequest
}