Documentation
¶
Index ¶
- Variables
- func RegisterCustomersServiceServer(s grpc.ServiceRegistrar, srv CustomersServiceServer)
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)deprecated
- func (x *Contract) GetAssetID() string
- func (x *Contract) GetBillingProfileID() string
- func (x *Contract) GetPlan() *Plan
- func (x *Contract) GetServices() []*Services
- func (x *Contract) GetStatusKey() string
- func (*Contract) ProtoMessage()
- func (x *Contract) ProtoReflect() protoreflect.Message
- func (x *Contract) Reset()
- func (x *Contract) String() string
- type Customers
- func (*Customers) Descriptor() ([]byte, []int)deprecated
- func (x *Customers) GetBirthDate() string
- func (x *Customers) GetContract() []*Contract
- func (x *Customers) GetDocument() string
- func (x *Customers) GetName() string
- func (*Customers) ProtoMessage()
- func (x *Customers) ProtoReflect() protoreflect.Message
- func (x *Customers) Reset()
- func (x *Customers) String() string
- type CustomersServiceClient
- type CustomersServiceServer
- type GetRequest
- type Plan
- type Services
- func (*Services) Descriptor() ([]byte, []int)deprecated
- func (x *Services) GetServiceActivationTimestamp() int64
- func (x *Services) GetServiceKey() string
- func (*Services) ProtoMessage()
- func (x *Services) ProtoReflect() protoreflect.Message
- func (x *Services) Reset()
- func (x *Services) String() string
- type UnimplementedCustomersServiceServer
- type UnsafeCustomersServiceServer
Constants ¶
This section is empty.
Variables ¶
var CustomersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.CustomersService", HandlerType: (*CustomersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _CustomersService_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/pool.proto", }
CustomersService_ServiceDesc is the grpc.ServiceDesc for CustomersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_pool_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCustomersServiceServer ¶
func RegisterCustomersServiceServer(s grpc.ServiceRegistrar, srv CustomersServiceServer)
Types ¶
type Contract ¶
type Contract struct { AssetID string `protobuf:"bytes,1,opt,name=AssetID,proto3" json:"AssetID,omitempty"` BillingProfileID string `protobuf:"bytes,2,opt,name=BillingProfileID,proto3" json:"BillingProfileID,omitempty"` StatusKey string `protobuf:"bytes,3,opt,name=StatusKey,proto3" json:"StatusKey,omitempty"` Plan *Plan `protobuf:"bytes,4,opt,name=Plan,proto3" json:"Plan,omitempty"` Services []*Services `protobuf:"bytes,5,rep,name=Services,proto3" json:"Services,omitempty"` // contains filtered or unexported fields }
func (*Contract) Descriptor
deprecated
func (*Contract) GetAssetID ¶
func (*Contract) GetBillingProfileID ¶
func (*Contract) GetServices ¶
func (*Contract) GetStatusKey ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) ProtoReflect ¶
func (x *Contract) ProtoReflect() protoreflect.Message
type Customers ¶
type Customers struct { Document string `protobuf:"bytes,1,opt,name=Document,proto3" json:"Document,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` BirthDate string `protobuf:"bytes,3,opt,name=BirthDate,proto3" json:"BirthDate,omitempty"` Contract []*Contract `protobuf:"bytes,4,rep,name=Contract,proto3" json:"Contract,omitempty"` // contains filtered or unexported fields }
func (*Customers) Descriptor
deprecated
func (*Customers) GetBirthDate ¶
func (*Customers) GetContract ¶
func (*Customers) GetDocument ¶
func (*Customers) ProtoMessage ¶
func (*Customers) ProtoMessage()
func (*Customers) ProtoReflect ¶
func (x *Customers) ProtoReflect() protoreflect.Message
type CustomersServiceClient ¶
type CustomersServiceClient interface {
Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*Customers, error)
}
CustomersServiceClient is the client API for CustomersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCustomersServiceClient ¶
func NewCustomersServiceClient(cc grpc.ClientConnInterface) CustomersServiceClient
type CustomersServiceServer ¶
type CustomersServiceServer interface { Get(context.Context, *GetRequest) (*Customers, error) // contains filtered or unexported methods }
CustomersServiceServer is the server API for CustomersService service. All implementations must embed UnimplementedCustomersServiceServer for forward compatibility
type GetRequest ¶
type GetRequest struct { Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetDocument ¶
func (x *GetRequest) GetDocument() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type Plan ¶
type Plan struct { PlanKey string `protobuf:"bytes,1,opt,name=PlanKey,proto3" json:"PlanKey,omitempty"` ServiceActivationTimestamp int64 `protobuf:"varint,2,opt,name=ServiceActivationTimestamp,proto3" json:"ServiceActivationTimestamp,omitempty"` // contains filtered or unexported fields }
func (*Plan) Descriptor
deprecated
func (*Plan) GetPlanKey ¶
func (*Plan) GetServiceActivationTimestamp ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶
func (x *Plan) ProtoReflect() protoreflect.Message
type Services ¶
type Services struct { ServiceKey string `protobuf:"bytes,1,opt,name=ServiceKey,proto3" json:"ServiceKey,omitempty"` ServiceActivationTimestamp int64 `protobuf:"varint,2,opt,name=ServiceActivationTimestamp,proto3" json:"ServiceActivationTimestamp,omitempty"` // contains filtered or unexported fields }
func (*Services) Descriptor
deprecated
func (*Services) GetServiceActivationTimestamp ¶
func (*Services) GetServiceKey ¶
func (*Services) ProtoMessage ¶
func (*Services) ProtoMessage()
func (*Services) ProtoReflect ¶
func (x *Services) ProtoReflect() protoreflect.Message
type UnimplementedCustomersServiceServer ¶
type UnimplementedCustomersServiceServer struct { }
UnimplementedCustomersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCustomersServiceServer) Get ¶
func (UnimplementedCustomersServiceServer) Get(context.Context, *GetRequest) (*Customers, error)
type UnsafeCustomersServiceServer ¶
type UnsafeCustomersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCustomersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomersServiceServer will result in compilation errors.