v1

package
v0.0.0-...-24968f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_house_service_v1_house_proto protoreflect.FileDescriptor
View Source
var House_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.house.service.v1.House",
	HandlerType: (*HouseServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateHouse",
			Handler:    _House_CreateHouse_Handler,
		},
		{
			MethodName: "GetHouse",
			Handler:    _House_GetHouse_Handler,
		},
		{
			MethodName: "ListHouse",
			Handler:    _House_ListHouse_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/house/service/v1/house.proto",
}

House_ServiceDesc is the grpc.ServiceDesc for House service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHouseHTTPServer

func RegisterHouseHTTPServer(s *http.Server, srv HouseHTTPServer)

func RegisterHouseServer

func RegisterHouseServer(s grpc.ServiceRegistrar, srv HouseServer)

Types

type CreateHouseReply

type CreateHouseReply struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHouseReply) Descriptor deprecated

func (*CreateHouseReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateHouseReply.ProtoReflect.Descriptor instead.

func (*CreateHouseReply) GetId

func (x *CreateHouseReply) GetId() int64

func (*CreateHouseReply) ProtoMessage

func (*CreateHouseReply) ProtoMessage()

func (*CreateHouseReply) ProtoReflect

func (x *CreateHouseReply) ProtoReflect() protoreflect.Message

func (*CreateHouseReply) Reset

func (x *CreateHouseReply) Reset()

func (*CreateHouseReply) String

func (x *CreateHouseReply) String() string

func (*CreateHouseReply) Validate

func (m *CreateHouseReply) Validate() error

Validate checks the field values on CreateHouseReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateHouseReply) ValidateAll

func (m *CreateHouseReply) ValidateAll() error

ValidateAll checks the field values on CreateHouseReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateHouseReplyMultiError, or nil if none found.

type CreateHouseReplyMultiError

type CreateHouseReplyMultiError []error

CreateHouseReplyMultiError is an error wrapping multiple validation errors returned by CreateHouseReply.ValidateAll() if the designated constraints aren't met.

func (CreateHouseReplyMultiError) AllErrors

func (m CreateHouseReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateHouseReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateHouseReplyValidationError

type CreateHouseReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateHouseReplyValidationError is the validation error returned by CreateHouseReply.Validate if the designated constraints aren't met.

func (CreateHouseReplyValidationError) Cause

Cause function returns cause value.

func (CreateHouseReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateHouseReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateHouseReplyValidationError) Field

Field function returns field value.

func (CreateHouseReplyValidationError) Key

Key function returns key value.

func (CreateHouseReplyValidationError) Reason

Reason function returns reason value.

type CreateHouseRequest

type CreateHouseRequest struct {
	Title        string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Community    string `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"`
	FloorCount   int32  `protobuf:"varint,3,opt,name=floor_count,json=floorCount,proto3" json:"floor_count,omitempty"`
	KitchenCount int32  `protobuf:"varint,4,opt,name=kitchen_count,json=kitchenCount,proto3" json:"kitchen_count,omitempty"`
	ToiletCount  int32  `protobuf:"varint,5,opt,name=toilet_count,json=toiletCount,proto3" json:"toilet_count,omitempty"`
	HallCount    int32  `protobuf:"varint,6,opt,name=hall_count,json=hallCount,proto3" json:"hall_count,omitempty"`
	RoomCount    int32  `protobuf:"varint,7,opt,name=room_count,json=roomCount,proto3" json:"room_count,omitempty"`
	Image        string `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateHouseRequest) Descriptor deprecated

func (*CreateHouseRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateHouseRequest.ProtoReflect.Descriptor instead.

func (*CreateHouseRequest) GetCommunity

func (x *CreateHouseRequest) GetCommunity() string

func (*CreateHouseRequest) GetFloorCount

func (x *CreateHouseRequest) GetFloorCount() int32

func (*CreateHouseRequest) GetHallCount

func (x *CreateHouseRequest) GetHallCount() int32

func (*CreateHouseRequest) GetImage

func (x *CreateHouseRequest) GetImage() string

func (*CreateHouseRequest) GetKitchenCount

func (x *CreateHouseRequest) GetKitchenCount() int32

func (*CreateHouseRequest) GetRoomCount

func (x *CreateHouseRequest) GetRoomCount() int32

func (*CreateHouseRequest) GetTitle

func (x *CreateHouseRequest) GetTitle() string

func (*CreateHouseRequest) GetToiletCount

func (x *CreateHouseRequest) GetToiletCount() int32

func (*CreateHouseRequest) ProtoMessage

func (*CreateHouseRequest) ProtoMessage()

func (*CreateHouseRequest) ProtoReflect

func (x *CreateHouseRequest) ProtoReflect() protoreflect.Message

func (*CreateHouseRequest) Reset

func (x *CreateHouseRequest) Reset()

func (*CreateHouseRequest) String

func (x *CreateHouseRequest) String() string

func (*CreateHouseRequest) Validate

func (m *CreateHouseRequest) Validate() error

Validate checks the field values on CreateHouseRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateHouseRequest) ValidateAll

func (m *CreateHouseRequest) ValidateAll() error

ValidateAll checks the field values on CreateHouseRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateHouseRequestMultiError, or nil if none found.

type CreateHouseRequestMultiError

type CreateHouseRequestMultiError []error

CreateHouseRequestMultiError is an error wrapping multiple validation errors returned by CreateHouseRequest.ValidateAll() if the designated constraints aren't met.

func (CreateHouseRequestMultiError) AllErrors

func (m CreateHouseRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateHouseRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateHouseRequestValidationError

type CreateHouseRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateHouseRequestValidationError is the validation error returned by CreateHouseRequest.Validate if the designated constraints aren't met.

func (CreateHouseRequestValidationError) Cause

Cause function returns cause value.

func (CreateHouseRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateHouseRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateHouseRequestValidationError) Field

Field function returns field value.

func (CreateHouseRequestValidationError) Key

Key function returns key value.

func (CreateHouseRequestValidationError) Reason

Reason function returns reason value.

type GetHouseReply

type GetHouseReply struct {
	Id           int64  `protobuf:"varint,11,opt,name=id,proto3" json:"id,omitempty"`
	Title        string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Community    string `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"`
	FloorCount   int32  `protobuf:"varint,3,opt,name=floor_count,json=floorCount,proto3" json:"floor_count,omitempty"`
	KitchenCount int32  `protobuf:"varint,4,opt,name=kitchen_count,json=kitchenCount,proto3" json:"kitchen_count,omitempty"`
	ToiletCount  int32  `protobuf:"varint,5,opt,name=toilet_count,json=toiletCount,proto3" json:"toilet_count,omitempty"`
	HallCount    int32  `protobuf:"varint,6,opt,name=hall_count,json=hallCount,proto3" json:"hall_count,omitempty"`
	RoomCount    int32  `protobuf:"varint,7,opt,name=room_count,json=roomCount,proto3" json:"room_count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHouseReply) Descriptor deprecated

func (*GetHouseReply) Descriptor() ([]byte, []int)

Deprecated: Use GetHouseReply.ProtoReflect.Descriptor instead.

func (*GetHouseReply) GetCommunity

func (x *GetHouseReply) GetCommunity() string

func (*GetHouseReply) GetFloorCount

func (x *GetHouseReply) GetFloorCount() int32

func (*GetHouseReply) GetHallCount

func (x *GetHouseReply) GetHallCount() int32

func (*GetHouseReply) GetId

func (x *GetHouseReply) GetId() int64

func (*GetHouseReply) GetKitchenCount

func (x *GetHouseReply) GetKitchenCount() int32

func (*GetHouseReply) GetRoomCount

func (x *GetHouseReply) GetRoomCount() int32

func (*GetHouseReply) GetTitle

func (x *GetHouseReply) GetTitle() string

func (*GetHouseReply) GetToiletCount

func (x *GetHouseReply) GetToiletCount() int32

func (*GetHouseReply) ProtoMessage

func (*GetHouseReply) ProtoMessage()

func (*GetHouseReply) ProtoReflect

func (x *GetHouseReply) ProtoReflect() protoreflect.Message

func (*GetHouseReply) Reset

func (x *GetHouseReply) Reset()

func (*GetHouseReply) String

func (x *GetHouseReply) String() string

func (*GetHouseReply) Validate

func (m *GetHouseReply) Validate() error

Validate checks the field values on GetHouseReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetHouseReply) ValidateAll

func (m *GetHouseReply) ValidateAll() error

ValidateAll checks the field values on GetHouseReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetHouseReplyMultiError, or nil if none found.

type GetHouseReplyMultiError

type GetHouseReplyMultiError []error

GetHouseReplyMultiError is an error wrapping multiple validation errors returned by GetHouseReply.ValidateAll() if the designated constraints aren't met.

func (GetHouseReplyMultiError) AllErrors

func (m GetHouseReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetHouseReplyMultiError) Error

func (m GetHouseReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetHouseReplyValidationError

type GetHouseReplyValidationError struct {
	// contains filtered or unexported fields
}

GetHouseReplyValidationError is the validation error returned by GetHouseReply.Validate if the designated constraints aren't met.

func (GetHouseReplyValidationError) Cause

Cause function returns cause value.

func (GetHouseReplyValidationError) Error

Error satisfies the builtin error interface

func (GetHouseReplyValidationError) ErrorName

func (e GetHouseReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetHouseReplyValidationError) Field

Field function returns field value.

func (GetHouseReplyValidationError) Key

Key function returns key value.

func (GetHouseReplyValidationError) Reason

Reason function returns reason value.

type GetHouseRequest

type GetHouseRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHouseRequest) Descriptor deprecated

func (*GetHouseRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHouseRequest.ProtoReflect.Descriptor instead.

func (*GetHouseRequest) GetId

func (x *GetHouseRequest) GetId() int64

func (*GetHouseRequest) ProtoMessage

func (*GetHouseRequest) ProtoMessage()

func (*GetHouseRequest) ProtoReflect

func (x *GetHouseRequest) ProtoReflect() protoreflect.Message

func (*GetHouseRequest) Reset

func (x *GetHouseRequest) Reset()

func (*GetHouseRequest) String

func (x *GetHouseRequest) String() string

func (*GetHouseRequest) Validate

func (m *GetHouseRequest) Validate() error

Validate checks the field values on GetHouseRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetHouseRequest) ValidateAll

func (m *GetHouseRequest) ValidateAll() error

ValidateAll checks the field values on GetHouseRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetHouseRequestMultiError, or nil if none found.

type GetHouseRequestMultiError

type GetHouseRequestMultiError []error

GetHouseRequestMultiError is an error wrapping multiple validation errors returned by GetHouseRequest.ValidateAll() if the designated constraints aren't met.

func (GetHouseRequestMultiError) AllErrors

func (m GetHouseRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetHouseRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetHouseRequestValidationError

type GetHouseRequestValidationError struct {
	// contains filtered or unexported fields
}

GetHouseRequestValidationError is the validation error returned by GetHouseRequest.Validate if the designated constraints aren't met.

func (GetHouseRequestValidationError) Cause

Cause function returns cause value.

func (GetHouseRequestValidationError) Error

Error satisfies the builtin error interface

func (GetHouseRequestValidationError) ErrorName

func (e GetHouseRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetHouseRequestValidationError) Field

Field function returns field value.

func (GetHouseRequestValidationError) Key

Key function returns key value.

func (GetHouseRequestValidationError) Reason

Reason function returns reason value.

type HouseClient

type HouseClient interface {
	CreateHouse(ctx context.Context, in *CreateHouseRequest, opts ...grpc.CallOption) (*CreateHouseReply, error)
	GetHouse(ctx context.Context, in *GetHouseRequest, opts ...grpc.CallOption) (*GetHouseReply, error)
	ListHouse(ctx context.Context, in *ListHouseRequest, opts ...grpc.CallOption) (*ListHouseReply, error)
}

HouseClient is the client API for House 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 NewHouseClient

func NewHouseClient(cc grpc.ClientConnInterface) HouseClient

type HouseHTTPClient

type HouseHTTPClient interface {
	CreateHouse(ctx context.Context, req *CreateHouseRequest, opts ...http.CallOption) (rsp *CreateHouseReply, err error)
	GetHouse(ctx context.Context, req *GetHouseRequest, opts ...http.CallOption) (rsp *GetHouseReply, err error)
	ListHouse(ctx context.Context, req *ListHouseRequest, opts ...http.CallOption) (rsp *ListHouseReply, err error)
}

func NewHouseHTTPClient

func NewHouseHTTPClient(client *http.Client) HouseHTTPClient

type HouseHTTPClientImpl

type HouseHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*HouseHTTPClientImpl) CreateHouse

func (*HouseHTTPClientImpl) GetHouse

func (*HouseHTTPClientImpl) ListHouse

type HouseServer

type HouseServer interface {
	CreateHouse(context.Context, *CreateHouseRequest) (*CreateHouseReply, error)
	GetHouse(context.Context, *GetHouseRequest) (*GetHouseReply, error)
	ListHouse(context.Context, *ListHouseRequest) (*ListHouseReply, error)
	// contains filtered or unexported methods
}

HouseServer is the server API for House service. All implementations must embed UnimplementedHouseServer for forward compatibility

type ListHouseReply

type ListHouseReply struct {
	Results []*ListHouseReply_House `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHouseReply) Descriptor deprecated

func (*ListHouseReply) Descriptor() ([]byte, []int)

Deprecated: Use ListHouseReply.ProtoReflect.Descriptor instead.

func (*ListHouseReply) GetResults

func (x *ListHouseReply) GetResults() []*ListHouseReply_House

func (*ListHouseReply) ProtoMessage

func (*ListHouseReply) ProtoMessage()

func (*ListHouseReply) ProtoReflect

func (x *ListHouseReply) ProtoReflect() protoreflect.Message

func (*ListHouseReply) Reset

func (x *ListHouseReply) Reset()

func (*ListHouseReply) String

func (x *ListHouseReply) String() string

func (*ListHouseReply) Validate

func (m *ListHouseReply) Validate() error

Validate checks the field values on ListHouseReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListHouseReply) ValidateAll

func (m *ListHouseReply) ValidateAll() error

ValidateAll checks the field values on ListHouseReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListHouseReplyMultiError, or nil if none found.

type ListHouseReplyMultiError

type ListHouseReplyMultiError []error

ListHouseReplyMultiError is an error wrapping multiple validation errors returned by ListHouseReply.ValidateAll() if the designated constraints aren't met.

func (ListHouseReplyMultiError) AllErrors

func (m ListHouseReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListHouseReplyMultiError) Error

func (m ListHouseReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListHouseReplyValidationError

type ListHouseReplyValidationError struct {
	// contains filtered or unexported fields
}

ListHouseReplyValidationError is the validation error returned by ListHouseReply.Validate if the designated constraints aren't met.

func (ListHouseReplyValidationError) Cause

Cause function returns cause value.

func (ListHouseReplyValidationError) Error

Error satisfies the builtin error interface

func (ListHouseReplyValidationError) ErrorName

func (e ListHouseReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListHouseReplyValidationError) Field

Field function returns field value.

func (ListHouseReplyValidationError) Key

Key function returns key value.

func (ListHouseReplyValidationError) Reason

Reason function returns reason value.

type ListHouseReply_House

type ListHouseReply_House struct {
	Id          int64  `protobuf:"varint,11,opt,name=id,proto3" json:"id,omitempty"`
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Community   string `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Image       string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*ListHouseReply_House) Descriptor deprecated

func (*ListHouseReply_House) Descriptor() ([]byte, []int)

Deprecated: Use ListHouseReply_House.ProtoReflect.Descriptor instead.

func (*ListHouseReply_House) GetCommunity

func (x *ListHouseReply_House) GetCommunity() string

func (*ListHouseReply_House) GetDescription

func (x *ListHouseReply_House) GetDescription() string

func (*ListHouseReply_House) GetId

func (x *ListHouseReply_House) GetId() int64

func (*ListHouseReply_House) GetImage

func (x *ListHouseReply_House) GetImage() string

func (*ListHouseReply_House) GetTitle

func (x *ListHouseReply_House) GetTitle() string

func (*ListHouseReply_House) ProtoMessage

func (*ListHouseReply_House) ProtoMessage()

func (*ListHouseReply_House) ProtoReflect

func (x *ListHouseReply_House) ProtoReflect() protoreflect.Message

func (*ListHouseReply_House) Reset

func (x *ListHouseReply_House) Reset()

func (*ListHouseReply_House) String

func (x *ListHouseReply_House) String() string

func (*ListHouseReply_House) Validate

func (m *ListHouseReply_House) Validate() error

Validate checks the field values on ListHouseReply_House with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListHouseReply_House) ValidateAll

func (m *ListHouseReply_House) ValidateAll() error

ValidateAll checks the field values on ListHouseReply_House with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListHouseReply_HouseMultiError, or nil if none found.

type ListHouseReply_HouseMultiError

type ListHouseReply_HouseMultiError []error

ListHouseReply_HouseMultiError is an error wrapping multiple validation errors returned by ListHouseReply_House.ValidateAll() if the designated constraints aren't met.

func (ListHouseReply_HouseMultiError) AllErrors

func (m ListHouseReply_HouseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListHouseReply_HouseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListHouseReply_HouseValidationError

type ListHouseReply_HouseValidationError struct {
	// contains filtered or unexported fields
}

ListHouseReply_HouseValidationError is the validation error returned by ListHouseReply_House.Validate if the designated constraints aren't met.

func (ListHouseReply_HouseValidationError) Cause

Cause function returns cause value.

func (ListHouseReply_HouseValidationError) Error

Error satisfies the builtin error interface

func (ListHouseReply_HouseValidationError) ErrorName

ErrorName returns error name.

func (ListHouseReply_HouseValidationError) Field

Field function returns field value.

func (ListHouseReply_HouseValidationError) Key

Key function returns key value.

func (ListHouseReply_HouseValidationError) Reason

Reason function returns reason value.

type ListHouseRequest

type ListHouseRequest struct {
	// contains filtered or unexported fields
}

func (*ListHouseRequest) Descriptor deprecated

func (*ListHouseRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListHouseRequest.ProtoReflect.Descriptor instead.

func (*ListHouseRequest) ProtoMessage

func (*ListHouseRequest) ProtoMessage()

func (*ListHouseRequest) ProtoReflect

func (x *ListHouseRequest) ProtoReflect() protoreflect.Message

func (*ListHouseRequest) Reset

func (x *ListHouseRequest) Reset()

func (*ListHouseRequest) String

func (x *ListHouseRequest) String() string

func (*ListHouseRequest) Validate

func (m *ListHouseRequest) Validate() error

Validate checks the field values on ListHouseRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListHouseRequest) ValidateAll

func (m *ListHouseRequest) ValidateAll() error

ValidateAll checks the field values on ListHouseRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListHouseRequestMultiError, or nil if none found.

type ListHouseRequestMultiError

type ListHouseRequestMultiError []error

ListHouseRequestMultiError is an error wrapping multiple validation errors returned by ListHouseRequest.ValidateAll() if the designated constraints aren't met.

func (ListHouseRequestMultiError) AllErrors

func (m ListHouseRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListHouseRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListHouseRequestValidationError

type ListHouseRequestValidationError struct {
	// contains filtered or unexported fields
}

ListHouseRequestValidationError is the validation error returned by ListHouseRequest.Validate if the designated constraints aren't met.

func (ListHouseRequestValidationError) Cause

Cause function returns cause value.

func (ListHouseRequestValidationError) Error

Error satisfies the builtin error interface

func (ListHouseRequestValidationError) ErrorName

ErrorName returns error name.

func (ListHouseRequestValidationError) Field

Field function returns field value.

func (ListHouseRequestValidationError) Key

Key function returns key value.

func (ListHouseRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedHouseServer

type UnimplementedHouseServer struct {
}

UnimplementedHouseServer must be embedded to have forward compatible implementations.

func (UnimplementedHouseServer) CreateHouse

func (UnimplementedHouseServer) GetHouse

func (UnimplementedHouseServer) ListHouse

type UnsafeHouseServer

type UnsafeHouseServer interface {
	// contains filtered or unexported methods
}

UnsafeHouseServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HouseServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL