Documentation ¶
Index ¶
- Variables
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type Address
- type DeleteAddressRequest
- func (*DeleteAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAddressRequest) GetAddressId() string
- func (x *DeleteAddressRequest) GetId() string
- func (*DeleteAddressRequest) ProtoMessage()
- func (x *DeleteAddressRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAddressRequest) Reset()
- func (x *DeleteAddressRequest) String() string
- type DeleteAddressResponse
- type DeleteProfileRequest
- func (*DeleteProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProfileRequest) GetId() string
- func (*DeleteProfileRequest) ProtoMessage()
- func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProfileRequest) Reset()
- func (x *DeleteProfileRequest) String() string
- type DeleteProfileResponse
- type GetAddressRequest
- func (*GetAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressRequest) GetAddressId() string
- func (x *GetAddressRequest) GetId() string
- func (*GetAddressRequest) ProtoMessage()
- func (x *GetAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetAddressRequest) Reset()
- func (x *GetAddressRequest) String() string
- type GetAddressResponse
- func (*GetAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressResponse) GetAddress() *Address
- func (*GetAddressResponse) ProtoMessage()
- func (x *GetAddressResponse) ProtoReflect() protoreflect.Message
- func (x *GetAddressResponse) Reset()
- func (x *GetAddressResponse) String() string
- type GetAddressesRequest
- func (*GetAddressesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressesRequest) GetId() string
- func (*GetAddressesRequest) ProtoMessage()
- func (x *GetAddressesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAddressesRequest) Reset()
- func (x *GetAddressesRequest) String() string
- type GetAddressesResponse
- func (*GetAddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddressesResponse) GetAddresses() []*Address
- func (*GetAddressesResponse) ProtoMessage()
- func (x *GetAddressesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAddressesResponse) Reset()
- func (x *GetAddressesResponse) String() string
- type GetProfileRequest
- type GetProfileResponse
- func (*GetProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileResponse) GetProfile() *Profile
- func (*GetProfileResponse) ProtoMessage()
- func (x *GetProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetProfileResponse) Reset()
- func (x *GetProfileResponse) String() string
- type PatchProfileRequest
- func (*PatchProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PatchProfileRequest) GetId() string
- func (x *PatchProfileRequest) GetProfile() *Profile
- func (*PatchProfileRequest) ProtoMessage()
- func (x *PatchProfileRequest) ProtoReflect() protoreflect.Message
- func (x *PatchProfileRequest) Reset()
- func (x *PatchProfileRequest) String() string
- type PatchProfileResponse
- type PostAddressRequest
- func (*PostAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostAddressRequest) GetAddress() *Address
- func (x *PostAddressRequest) GetId() string
- func (*PostAddressRequest) ProtoMessage()
- func (x *PostAddressRequest) ProtoReflect() protoreflect.Message
- func (x *PostAddressRequest) Reset()
- func (x *PostAddressRequest) String() string
- type PostAddressResponse
- type PostProfileRequest
- func (*PostProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostProfileRequest) GetProfile() *Profile
- func (*PostProfileRequest) ProtoMessage()
- func (x *PostProfileRequest) ProtoReflect() protoreflect.Message
- func (x *PostProfileRequest) Reset()
- func (x *PostProfileRequest) String() string
- type PostProfileResponse
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAddresses() []*Address
- func (x *Profile) GetId() string
- func (x *Profile) GetName() string
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type PutProfileRequest
- func (*PutProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutProfileRequest) GetId() string
- func (x *PutProfileRequest) GetProfile() *Profile
- func (*PutProfileRequest) ProtoMessage()
- func (x *PutProfileRequest) ProtoReflect() protoreflect.Message
- func (x *PutProfileRequest) Reset()
- func (x *PutProfileRequest) String() string
- type PutProfileResponse
- type ServiceClient
- type ServiceServer
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) DeleteAddress(context.Context, *DeleteAddressRequest) (*DeleteAddressResponse, error)
- func (UnimplementedServiceServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
- func (UnimplementedServiceServer) GetAddress(context.Context, *GetAddressRequest) (*GetAddressResponse, error)
- func (UnimplementedServiceServer) GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesResponse, error)
- func (UnimplementedServiceServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
- func (UnimplementedServiceServer) PatchProfile(context.Context, *PatchProfileRequest) (*PatchProfileResponse, error)
- func (UnimplementedServiceServer) PostAddress(context.Context, *PostAddressRequest) (*PostAddressResponse, error)
- func (UnimplementedServiceServer) PostProfile(context.Context, *PostProfileRequest) (*PostProfileResponse, error)
- func (UnimplementedServiceServer) PutProfile(context.Context, *PutProfileRequest) (*PutProfileResponse, error)
- type UnsafeServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_pb_profilesvcgrpc_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeleteAddress", Handler: _Service_DeleteAddress_Handler, }, { MethodName: "DeleteProfile", Handler: _Service_DeleteProfile_Handler, }, { MethodName: "GetAddress", Handler: _Service_GetAddress_Handler, }, { MethodName: "GetAddresses", Handler: _Service_GetAddresses_Handler, }, { MethodName: "GetProfile", Handler: _Service_GetProfile_Handler, }, { MethodName: "PatchProfile", Handler: _Service_PatchProfile_Handler, }, { MethodName: "PostAddress", Handler: _Service_PostAddress_Handler, }, { MethodName: "PostProfile", Handler: _Service_PostProfile_Handler, }, { MethodName: "PutProfile", Handler: _Service_PutProfile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pb/profilesvcgrpc.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type Address ¶
type Address struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetLocation ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type DeleteAddressRequest ¶
type DeleteAddressRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AddressId string `protobuf:"bytes,2,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"` // contains filtered or unexported fields }
The request message of DeleteAddress.
func (*DeleteAddressRequest) Descriptor
deprecated
func (*DeleteAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAddressRequest.ProtoReflect.Descriptor instead.
func (*DeleteAddressRequest) GetAddressId ¶
func (x *DeleteAddressRequest) GetAddressId() string
func (*DeleteAddressRequest) GetId ¶
func (x *DeleteAddressRequest) GetId() string
func (*DeleteAddressRequest) ProtoMessage ¶
func (*DeleteAddressRequest) ProtoMessage()
func (*DeleteAddressRequest) ProtoReflect ¶
func (x *DeleteAddressRequest) ProtoReflect() protoreflect.Message
func (*DeleteAddressRequest) Reset ¶
func (x *DeleteAddressRequest) Reset()
func (*DeleteAddressRequest) String ¶
func (x *DeleteAddressRequest) String() string
type DeleteAddressResponse ¶
type DeleteAddressResponse struct {
// contains filtered or unexported fields
}
The response message of DeleteAddress.
func (*DeleteAddressResponse) Descriptor
deprecated
func (*DeleteAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAddressResponse.ProtoReflect.Descriptor instead.
func (*DeleteAddressResponse) ProtoMessage ¶
func (*DeleteAddressResponse) ProtoMessage()
func (*DeleteAddressResponse) ProtoReflect ¶
func (x *DeleteAddressResponse) ProtoReflect() protoreflect.Message
func (*DeleteAddressResponse) Reset ¶
func (x *DeleteAddressResponse) Reset()
func (*DeleteAddressResponse) String ¶
func (x *DeleteAddressResponse) String() string
type DeleteProfileRequest ¶
type DeleteProfileRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
The request message of DeleteProfile.
func (*DeleteProfileRequest) Descriptor
deprecated
func (*DeleteProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteProfileRequest) GetId ¶
func (x *DeleteProfileRequest) GetId() string
func (*DeleteProfileRequest) ProtoMessage ¶
func (*DeleteProfileRequest) ProtoMessage()
func (*DeleteProfileRequest) ProtoReflect ¶
func (x *DeleteProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteProfileRequest) Reset ¶
func (x *DeleteProfileRequest) Reset()
func (*DeleteProfileRequest) String ¶
func (x *DeleteProfileRequest) String() string
type DeleteProfileResponse ¶
type DeleteProfileResponse struct {
// contains filtered or unexported fields
}
The response message of DeleteProfile.
func (*DeleteProfileResponse) Descriptor
deprecated
func (*DeleteProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProfileResponse.ProtoReflect.Descriptor instead.
func (*DeleteProfileResponse) ProtoMessage ¶
func (*DeleteProfileResponse) ProtoMessage()
func (*DeleteProfileResponse) ProtoReflect ¶
func (x *DeleteProfileResponse) ProtoReflect() protoreflect.Message
func (*DeleteProfileResponse) Reset ¶
func (x *DeleteProfileResponse) Reset()
func (*DeleteProfileResponse) String ¶
func (x *DeleteProfileResponse) String() string
type GetAddressRequest ¶
type GetAddressRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AddressId string `protobuf:"bytes,2,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"` // contains filtered or unexported fields }
The request message of GetAddress.
func (*GetAddressRequest) Descriptor
deprecated
func (*GetAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressRequest.ProtoReflect.Descriptor instead.
func (*GetAddressRequest) GetAddressId ¶
func (x *GetAddressRequest) GetAddressId() string
func (*GetAddressRequest) GetId ¶
func (x *GetAddressRequest) GetId() string
func (*GetAddressRequest) ProtoMessage ¶
func (*GetAddressRequest) ProtoMessage()
func (*GetAddressRequest) ProtoReflect ¶
func (x *GetAddressRequest) ProtoReflect() protoreflect.Message
func (*GetAddressRequest) Reset ¶
func (x *GetAddressRequest) Reset()
func (*GetAddressRequest) String ¶
func (x *GetAddressRequest) String() string
type GetAddressResponse ¶
type GetAddressResponse struct { Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
The response message of GetAddress.
func (*GetAddressResponse) Descriptor
deprecated
func (*GetAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressResponse.ProtoReflect.Descriptor instead.
func (*GetAddressResponse) GetAddress ¶
func (x *GetAddressResponse) GetAddress() *Address
func (*GetAddressResponse) ProtoMessage ¶
func (*GetAddressResponse) ProtoMessage()
func (*GetAddressResponse) ProtoReflect ¶
func (x *GetAddressResponse) ProtoReflect() protoreflect.Message
func (*GetAddressResponse) Reset ¶
func (x *GetAddressResponse) Reset()
func (*GetAddressResponse) String ¶
func (x *GetAddressResponse) String() string
type GetAddressesRequest ¶
type GetAddressesRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
The request message of GetAddresses.
func (*GetAddressesRequest) Descriptor
deprecated
func (*GetAddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressesRequest.ProtoReflect.Descriptor instead.
func (*GetAddressesRequest) GetId ¶
func (x *GetAddressesRequest) GetId() string
func (*GetAddressesRequest) ProtoMessage ¶
func (*GetAddressesRequest) ProtoMessage()
func (*GetAddressesRequest) ProtoReflect ¶
func (x *GetAddressesRequest) ProtoReflect() protoreflect.Message
func (*GetAddressesRequest) Reset ¶
func (x *GetAddressesRequest) Reset()
func (*GetAddressesRequest) String ¶
func (x *GetAddressesRequest) String() string
type GetAddressesResponse ¶
type GetAddressesResponse struct { Addresses []*Address `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
The response message of GetAddresses.
func (*GetAddressesResponse) Descriptor
deprecated
func (*GetAddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAddressesResponse.ProtoReflect.Descriptor instead.
func (*GetAddressesResponse) GetAddresses ¶
func (x *GetAddressesResponse) GetAddresses() []*Address
func (*GetAddressesResponse) ProtoMessage ¶
func (*GetAddressesResponse) ProtoMessage()
func (*GetAddressesResponse) ProtoReflect ¶
func (x *GetAddressesResponse) ProtoReflect() protoreflect.Message
func (*GetAddressesResponse) Reset ¶
func (x *GetAddressesResponse) Reset()
func (*GetAddressesResponse) String ¶
func (x *GetAddressesResponse) String() string
type GetProfileRequest ¶
type GetProfileRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
The request message of GetProfile.
func (*GetProfileRequest) Descriptor
deprecated
func (*GetProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProfileRequest) GetId ¶
func (x *GetProfileRequest) GetId() string
func (*GetProfileRequest) ProtoMessage ¶
func (*GetProfileRequest) ProtoMessage()
func (*GetProfileRequest) ProtoReflect ¶
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
func (*GetProfileRequest) Reset ¶
func (x *GetProfileRequest) Reset()
func (*GetProfileRequest) String ¶
func (x *GetProfileRequest) String() string
type GetProfileResponse ¶
type GetProfileResponse struct { Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
The response message of GetProfile.
func (*GetProfileResponse) Descriptor
deprecated
func (*GetProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.
func (*GetProfileResponse) GetProfile ¶
func (x *GetProfileResponse) GetProfile() *Profile
func (*GetProfileResponse) ProtoMessage ¶
func (*GetProfileResponse) ProtoMessage()
func (*GetProfileResponse) ProtoReflect ¶
func (x *GetProfileResponse) ProtoReflect() protoreflect.Message
func (*GetProfileResponse) Reset ¶
func (x *GetProfileResponse) Reset()
func (*GetProfileResponse) String ¶
func (x *GetProfileResponse) String() string
type PatchProfileRequest ¶
type PatchProfileRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Profile *Profile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
The request message of PatchProfile.
func (*PatchProfileRequest) Descriptor
deprecated
func (*PatchProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PatchProfileRequest.ProtoReflect.Descriptor instead.
func (*PatchProfileRequest) GetId ¶
func (x *PatchProfileRequest) GetId() string
func (*PatchProfileRequest) GetProfile ¶
func (x *PatchProfileRequest) GetProfile() *Profile
func (*PatchProfileRequest) ProtoMessage ¶
func (*PatchProfileRequest) ProtoMessage()
func (*PatchProfileRequest) ProtoReflect ¶
func (x *PatchProfileRequest) ProtoReflect() protoreflect.Message
func (*PatchProfileRequest) Reset ¶
func (x *PatchProfileRequest) Reset()
func (*PatchProfileRequest) String ¶
func (x *PatchProfileRequest) String() string
type PatchProfileResponse ¶
type PatchProfileResponse struct {
// contains filtered or unexported fields
}
The response message of PatchProfile.
func (*PatchProfileResponse) Descriptor
deprecated
func (*PatchProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use PatchProfileResponse.ProtoReflect.Descriptor instead.
func (*PatchProfileResponse) ProtoMessage ¶
func (*PatchProfileResponse) ProtoMessage()
func (*PatchProfileResponse) ProtoReflect ¶
func (x *PatchProfileResponse) ProtoReflect() protoreflect.Message
func (*PatchProfileResponse) Reset ¶
func (x *PatchProfileResponse) Reset()
func (*PatchProfileResponse) String ¶
func (x *PatchProfileResponse) String() string
type PostAddressRequest ¶
type PostAddressRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
The request message of PostAddress.
func (*PostAddressRequest) Descriptor
deprecated
func (*PostAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostAddressRequest.ProtoReflect.Descriptor instead.
func (*PostAddressRequest) GetAddress ¶
func (x *PostAddressRequest) GetAddress() *Address
func (*PostAddressRequest) GetId ¶
func (x *PostAddressRequest) GetId() string
func (*PostAddressRequest) ProtoMessage ¶
func (*PostAddressRequest) ProtoMessage()
func (*PostAddressRequest) ProtoReflect ¶
func (x *PostAddressRequest) ProtoReflect() protoreflect.Message
func (*PostAddressRequest) Reset ¶
func (x *PostAddressRequest) Reset()
func (*PostAddressRequest) String ¶
func (x *PostAddressRequest) String() string
type PostAddressResponse ¶
type PostAddressResponse struct {
// contains filtered or unexported fields
}
The response message of PostAddress.
func (*PostAddressResponse) Descriptor
deprecated
func (*PostAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostAddressResponse.ProtoReflect.Descriptor instead.
func (*PostAddressResponse) ProtoMessage ¶
func (*PostAddressResponse) ProtoMessage()
func (*PostAddressResponse) ProtoReflect ¶
func (x *PostAddressResponse) ProtoReflect() protoreflect.Message
func (*PostAddressResponse) Reset ¶
func (x *PostAddressResponse) Reset()
func (*PostAddressResponse) String ¶
func (x *PostAddressResponse) String() string
type PostProfileRequest ¶
type PostProfileRequest struct { Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
The request message of PostProfile.
func (*PostProfileRequest) Descriptor
deprecated
func (*PostProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostProfileRequest.ProtoReflect.Descriptor instead.
func (*PostProfileRequest) GetProfile ¶
func (x *PostProfileRequest) GetProfile() *Profile
func (*PostProfileRequest) ProtoMessage ¶
func (*PostProfileRequest) ProtoMessage()
func (*PostProfileRequest) ProtoReflect ¶
func (x *PostProfileRequest) ProtoReflect() protoreflect.Message
func (*PostProfileRequest) Reset ¶
func (x *PostProfileRequest) Reset()
func (*PostProfileRequest) String ¶
func (x *PostProfileRequest) String() string
type PostProfileResponse ¶
type PostProfileResponse struct {
// contains filtered or unexported fields
}
The response message of PostProfile.
func (*PostProfileResponse) Descriptor
deprecated
func (*PostProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostProfileResponse.ProtoReflect.Descriptor instead.
func (*PostProfileResponse) ProtoMessage ¶
func (*PostProfileResponse) ProtoMessage()
func (*PostProfileResponse) ProtoReflect ¶
func (x *PostProfileResponse) ProtoReflect() protoreflect.Message
func (*PostProfileResponse) Reset ¶
func (x *PostProfileResponse) Reset()
func (*PostProfileResponse) String ¶
func (x *PostProfileResponse) String() string
type Profile ¶
type Profile struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Addresses []*Address `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetAddresses ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type PutProfileRequest ¶
type PutProfileRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Profile *Profile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
The request message of PutProfile.
func (*PutProfileRequest) Descriptor
deprecated
func (*PutProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutProfileRequest.ProtoReflect.Descriptor instead.
func (*PutProfileRequest) GetId ¶
func (x *PutProfileRequest) GetId() string
func (*PutProfileRequest) GetProfile ¶
func (x *PutProfileRequest) GetProfile() *Profile
func (*PutProfileRequest) ProtoMessage ¶
func (*PutProfileRequest) ProtoMessage()
func (*PutProfileRequest) ProtoReflect ¶
func (x *PutProfileRequest) ProtoReflect() protoreflect.Message
func (*PutProfileRequest) Reset ¶
func (x *PutProfileRequest) Reset()
func (*PutProfileRequest) String ¶
func (x *PutProfileRequest) String() string
type PutProfileResponse ¶
type PutProfileResponse struct {
// contains filtered or unexported fields
}
The response message of PutProfile.
func (*PutProfileResponse) Descriptor
deprecated
func (*PutProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutProfileResponse.ProtoReflect.Descriptor instead.
func (*PutProfileResponse) ProtoMessage ¶
func (*PutProfileResponse) ProtoMessage()
func (*PutProfileResponse) ProtoReflect ¶
func (x *PutProfileResponse) ProtoReflect() protoreflect.Message
func (*PutProfileResponse) Reset ¶
func (x *PutProfileResponse) Reset()
func (*PutProfileResponse) String ¶
func (x *PutProfileResponse) String() string
type ServiceClient ¶
type ServiceClient interface { DeleteAddress(ctx context.Context, in *DeleteAddressRequest, opts ...grpc.CallOption) (*DeleteAddressResponse, error) DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*DeleteProfileResponse, error) GetAddress(ctx context.Context, in *GetAddressRequest, opts ...grpc.CallOption) (*GetAddressResponse, error) GetAddresses(ctx context.Context, in *GetAddressesRequest, opts ...grpc.CallOption) (*GetAddressesResponse, error) GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error) PatchProfile(ctx context.Context, in *PatchProfileRequest, opts ...grpc.CallOption) (*PatchProfileResponse, error) PostAddress(ctx context.Context, in *PostAddressRequest, opts ...grpc.CallOption) (*PostAddressResponse, error) PostProfile(ctx context.Context, in *PostProfileRequest, opts ...grpc.CallOption) (*PostProfileResponse, error) PutProfile(ctx context.Context, in *PutProfileRequest, opts ...grpc.CallOption) (*PutProfileResponse, error) }
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { DeleteAddress(context.Context, *DeleteAddressRequest) (*DeleteAddressResponse, error) DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error) GetAddress(context.Context, *GetAddressRequest) (*GetAddressResponse, error) GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesResponse, error) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error) PatchProfile(context.Context, *PatchProfileRequest) (*PatchProfileResponse, error) PostAddress(context.Context, *PostAddressRequest) (*PostAddressResponse, error) PostProfile(context.Context, *PostProfileRequest) (*PostProfileResponse, error) PutProfile(context.Context, *PutProfileRequest) (*PutProfileResponse, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) DeleteAddress ¶
func (UnimplementedServiceServer) DeleteAddress(context.Context, *DeleteAddressRequest) (*DeleteAddressResponse, error)
func (UnimplementedServiceServer) DeleteProfile ¶
func (UnimplementedServiceServer) DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error)
func (UnimplementedServiceServer) GetAddress ¶
func (UnimplementedServiceServer) GetAddress(context.Context, *GetAddressRequest) (*GetAddressResponse, error)
func (UnimplementedServiceServer) GetAddresses ¶
func (UnimplementedServiceServer) GetAddresses(context.Context, *GetAddressesRequest) (*GetAddressesResponse, error)
func (UnimplementedServiceServer) GetProfile ¶
func (UnimplementedServiceServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
func (UnimplementedServiceServer) PatchProfile ¶
func (UnimplementedServiceServer) PatchProfile(context.Context, *PatchProfileRequest) (*PatchProfileResponse, error)
func (UnimplementedServiceServer) PostAddress ¶
func (UnimplementedServiceServer) PostAddress(context.Context, *PostAddressRequest) (*PostAddressResponse, error)
func (UnimplementedServiceServer) PostProfile ¶
func (UnimplementedServiceServer) PostProfile(context.Context, *PostProfileRequest) (*PostProfileResponse, error)
func (UnimplementedServiceServer) PutProfile ¶
func (UnimplementedServiceServer) PutProfile(context.Context, *PutProfileRequest) (*PutProfileResponse, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.