Versions in this module Expand all Collapse all v0 v0.0.3 Mar 19, 2022 Changes in this version + var File_pharmacy_proto protoreflect.FileDescriptor v0.0.2 Mar 19, 2022 v0.0.1 Mar 19, 2022 Changes in this version + var File_proto_proto protoreflect.FileDescriptor + var PharmacyService_ServiceDesc = grpc.ServiceDesc + func RegisterPharmacyServiceServer(s grpc.ServiceRegistrar, srv PharmacyServiceServer) + type Address struct + City string + House string + Street string + func (*Address) Descriptor() ([]byte, []int) + func (*Address) ProtoMessage() + func (m *Address) Validate() error + func (m *Address) ValidateAll() error + func (x *Address) GetCity() string + func (x *Address) GetHouse() string + func (x *Address) GetStreet() string + func (x *Address) ProtoReflect() protoreflect.Message + func (x *Address) Reset() + func (x *Address) String() string + type AddressMultiError []error + func (m AddressMultiError) AllErrors() []error + func (m AddressMultiError) Error() string + type AddressValidationError struct + func (e AddressValidationError) Cause() error + func (e AddressValidationError) Error() string + func (e AddressValidationError) ErrorName() string + func (e AddressValidationError) Field() string + func (e AddressValidationError) Key() bool + func (e AddressValidationError) Reason() string + type NewPharmacy struct + Address *Address + Name string + func (*NewPharmacy) Descriptor() ([]byte, []int) + func (*NewPharmacy) ProtoMessage() + func (m *NewPharmacy) Validate() error + func (m *NewPharmacy) ValidateAll() error + func (x *NewPharmacy) GetAddress() *Address + func (x *NewPharmacy) GetName() string + func (x *NewPharmacy) ProtoReflect() protoreflect.Message + func (x *NewPharmacy) Reset() + func (x *NewPharmacy) String() string + type NewPharmacyMultiError []error + func (m NewPharmacyMultiError) AllErrors() []error + func (m NewPharmacyMultiError) Error() string + type NewPharmacyValidationError struct + func (e NewPharmacyValidationError) Cause() error + func (e NewPharmacyValidationError) Error() string + func (e NewPharmacyValidationError) ErrorName() string + func (e NewPharmacyValidationError) Field() string + func (e NewPharmacyValidationError) Key() bool + func (e NewPharmacyValidationError) Reason() string + type PaginationRequest struct + LastId int64 + Limit int64 + func (*PaginationRequest) Descriptor() ([]byte, []int) + func (*PaginationRequest) ProtoMessage() + func (m *PaginationRequest) Validate() error + func (m *PaginationRequest) ValidateAll() error + func (x *PaginationRequest) GetLastId() int64 + func (x *PaginationRequest) GetLimit() int64 + func (x *PaginationRequest) ProtoReflect() protoreflect.Message + func (x *PaginationRequest) Reset() + func (x *PaginationRequest) String() string + type PaginationRequestMultiError []error + func (m PaginationRequestMultiError) AllErrors() []error + func (m PaginationRequestMultiError) Error() string + type PaginationRequestValidationError struct + func (e PaginationRequestValidationError) Cause() error + func (e PaginationRequestValidationError) Error() string + func (e PaginationRequestValidationError) ErrorName() string + func (e PaginationRequestValidationError) Field() string + func (e PaginationRequestValidationError) Key() bool + func (e PaginationRequestValidationError) Reason() string + type Pharmacies struct + Pharmacies []*Pharmacy + func (*Pharmacies) Descriptor() ([]byte, []int) + func (*Pharmacies) ProtoMessage() + func (m *Pharmacies) Validate() error + func (m *Pharmacies) ValidateAll() error + func (x *Pharmacies) GetPharmacies() []*Pharmacy + func (x *Pharmacies) ProtoReflect() protoreflect.Message + func (x *Pharmacies) Reset() + func (x *Pharmacies) String() string + type PharmaciesMultiError []error + func (m PharmaciesMultiError) AllErrors() []error + func (m PharmaciesMultiError) Error() string + type PharmaciesValidationError struct + func (e PharmaciesValidationError) Cause() error + func (e PharmaciesValidationError) Error() string + func (e PharmaciesValidationError) ErrorName() string + func (e PharmaciesValidationError) Field() string + func (e PharmaciesValidationError) Key() bool + func (e PharmaciesValidationError) Reason() string + type Pharmacy struct + Address *Address + Id int64 + Name string + func (*Pharmacy) Descriptor() ([]byte, []int) + func (*Pharmacy) ProtoMessage() + func (m *Pharmacy) Validate() error + func (m *Pharmacy) ValidateAll() error + func (x *Pharmacy) GetAddress() *Address + func (x *Pharmacy) GetId() int64 + func (x *Pharmacy) GetName() string + func (x *Pharmacy) ProtoReflect() protoreflect.Message + func (x *Pharmacy) Reset() + func (x *Pharmacy) String() string + type PharmacyMultiError []error + func (m PharmacyMultiError) AllErrors() []error + func (m PharmacyMultiError) Error() string + type PharmacyServiceClient interface + CreatePharmacy func(ctx context.Context, in *NewPharmacy, opts ...grpc.CallOption) (*emptypb.Empty, error) + GetPharmacies func(ctx context.Context, in *PaginationRequest, opts ...grpc.CallOption) (*Pharmacies, error) + func NewPharmacyServiceClient(cc grpc.ClientConnInterface) PharmacyServiceClient + type PharmacyServiceServer interface + CreatePharmacy func(context.Context, *NewPharmacy) (*emptypb.Empty, error) + GetPharmacies func(context.Context, *PaginationRequest) (*Pharmacies, error) + type PharmacyValidationError struct + func (e PharmacyValidationError) Cause() error + func (e PharmacyValidationError) Error() string + func (e PharmacyValidationError) ErrorName() string + func (e PharmacyValidationError) Field() string + func (e PharmacyValidationError) Key() bool + func (e PharmacyValidationError) Reason() string + type UnimplementedPharmacyServiceServer struct + func (UnimplementedPharmacyServiceServer) CreatePharmacy(context.Context, *NewPharmacy) (*emptypb.Empty, error) + func (UnimplementedPharmacyServiceServer) GetPharmacies(context.Context, *PaginationRequest) (*Pharmacies, error) + type UnsafePharmacyServiceServer interface