consul/proto-public/annotations/ratelimit/ratelimit.pb.binary.go

19 lines
462 B
Go
Raw Normal View History

2023-01-04 16:07:02 +00:00
// Code generated by protoc-gen-go-binary. DO NOT EDIT.
// source: proto-public/annotations/ratelimit/ratelimit.proto
package ratelimit
import (
"google.golang.org/protobuf/proto"
2023-01-04 16:07:02 +00:00
)
// MarshalBinary implements encoding.BinaryMarshaler
func (msg *Spec) MarshalBinary() ([]byte, error) {
return proto.Marshal(msg)
}
// UnmarshalBinary implements encoding.BinaryUnmarshaler
func (msg *Spec) UnmarshalBinary(b []byte) error {
return proto.Unmarshal(b, msg)
}