123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: garden_service.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb
- import (
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- func init() {
- proto.RegisterFile("garden_service.proto", fileDescriptor_e527eed98167eca4)
- }
- var fileDescriptor_e527eed98167eca4 = []byte{
- // 96 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x49, 0x4f, 0x2c, 0x4a,
- 0x49, 0xcd, 0x8b, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9,
- 0x17, 0xe2, 0x2a, 0x48, 0xd2, 0x83, 0x8a, 0x18, 0x71, 0x70, 0xb1, 0xb9, 0x83, 0xd5, 0x38, 0xc9,
- 0x46, 0x49, 0x17, 0x14, 0xe5, 0x17, 0xa4, 0x16, 0x95, 0x54, 0xea, 0x26, 0xe7, 0xe7, 0x16, 0x24,
- 0xe6, 0x55, 0xea, 0xa6, 0x27, 0x96, 0xa4, 0x96, 0x27, 0x56, 0xea, 0x17, 0x24, 0x25, 0xb1, 0x81,
- 0xf5, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x9d, 0xfb, 0xe9, 0x53, 0x00, 0x00, 0x00,
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConnInterface
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion6
- // GardenClient is the client API for Garden service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type GardenClient interface {
- }
- type gardenClient struct {
- cc grpc.ClientConnInterface
- }
- func NewGardenClient(cc grpc.ClientConnInterface) GardenClient {
- return &gardenClient{cc}
- }
- // GardenServer is the server API for Garden service.
- type GardenServer interface {
- }
- // UnimplementedGardenServer can be embedded to have forward compatible implementations.
- type UnimplementedGardenServer struct {
- }
- func RegisterGardenServer(s *grpc.Server, srv GardenServer) {
- s.RegisterService(&_Garden_serviceDesc, srv)
- }
- var _Garden_serviceDesc = grpc.ServiceDesc{
- ServiceName: "pb.service.Garden",
- HandlerType: (*GardenServer)(nil),
- Methods: []grpc.MethodDesc{},
- Streams: []grpc.StreamDesc{},
- Metadata: "garden_service.proto",
- }
|