Documentation ¶
Overview ¶
Package estates is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterMruVEstateServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMruVEstateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVEstateServiceClient) error
- func RegisterMruVEstateServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMruVEstateServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVEstateServiceServer) error
- func RegisterMruVEstateServiceServer(s *grpc.Server, srv MruVEstateServiceServer)
- type AddEntranceRequest
- func (*AddEntranceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddEntranceRequest) GetEntranceId() uint32
- func (x *AddEntranceRequest) GetEstateId() uint32
- func (*AddEntranceRequest) ProtoMessage()
- func (x *AddEntranceRequest) ProtoReflect() protoreflect.Message
- func (x *AddEntranceRequest) Reset()
- func (x *AddEntranceRequest) String() string
- func (m *AddEntranceRequest) Validate() error
- type AddEntranceRequestValidationError
- func (e AddEntranceRequestValidationError) Cause() error
- func (e AddEntranceRequestValidationError) Error() string
- func (e AddEntranceRequestValidationError) ErrorName() string
- func (e AddEntranceRequestValidationError) Field() string
- func (e AddEntranceRequestValidationError) Key() bool
- func (e AddEntranceRequestValidationError) Reason() string
- type AddEntranceResponse
- func (*AddEntranceResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddEntranceResponse) ProtoMessage()
- func (x *AddEntranceResponse) ProtoReflect() protoreflect.Message
- func (x *AddEntranceResponse) Reset()
- func (x *AddEntranceResponse) String() string
- func (m *AddEntranceResponse) Validate() error
- type AddEntranceResponseValidationError
- func (e AddEntranceResponseValidationError) Cause() error
- func (e AddEntranceResponseValidationError) Error() string
- func (e AddEntranceResponseValidationError) ErrorName() string
- func (e AddEntranceResponseValidationError) Field() string
- func (e AddEntranceResponseValidationError) Key() bool
- func (e AddEntranceResponseValidationError) Reason() string
- type AddGateRequest
- func (*AddGateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddGateRequest) GetEstateId() uint32
- func (x *AddGateRequest) GetGateId() uint32
- func (*AddGateRequest) ProtoMessage()
- func (x *AddGateRequest) ProtoReflect() protoreflect.Message
- func (x *AddGateRequest) Reset()
- func (x *AddGateRequest) String() string
- func (m *AddGateRequest) Validate() error
- type AddGateRequestValidationError
- func (e AddGateRequestValidationError) Cause() error
- func (e AddGateRequestValidationError) Error() string
- func (e AddGateRequestValidationError) ErrorName() string
- func (e AddGateRequestValidationError) Field() string
- func (e AddGateRequestValidationError) Key() bool
- func (e AddGateRequestValidationError) Reason() string
- type AddGateResponse
- type AddGateResponseValidationError
- func (e AddGateResponseValidationError) Cause() error
- func (e AddGateResponseValidationError) Error() string
- func (e AddGateResponseValidationError) ErrorName() string
- func (e AddGateResponseValidationError) Field() string
- func (e AddGateResponseValidationError) Key() bool
- func (e AddGateResponseValidationError) Reason() string
- type CreateEstateRequest
- func (*CreateEstateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEstateRequest) GetDescription() string
- func (x *CreateEstateRequest) GetName() string
- func (*CreateEstateRequest) ProtoMessage()
- func (x *CreateEstateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEstateRequest) Reset()
- func (x *CreateEstateRequest) String() string
- func (m *CreateEstateRequest) Validate() error
- type CreateEstateRequestValidationError
- func (e CreateEstateRequestValidationError) Cause() error
- func (e CreateEstateRequestValidationError) Error() string
- func (e CreateEstateRequestValidationError) ErrorName() string
- func (e CreateEstateRequestValidationError) Field() string
- func (e CreateEstateRequestValidationError) Key() bool
- func (e CreateEstateRequestValidationError) Reason() string
- type CreateEstateResponse
- func (*CreateEstateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEstateResponse) GetId() uint32
- func (*CreateEstateResponse) ProtoMessage()
- func (x *CreateEstateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEstateResponse) Reset()
- func (x *CreateEstateResponse) String() string
- func (m *CreateEstateResponse) Validate() error
- type CreateEstateResponseValidationError
- func (e CreateEstateResponseValidationError) Cause() error
- func (e CreateEstateResponseValidationError) Error() string
- func (e CreateEstateResponseValidationError) ErrorName() string
- func (e CreateEstateResponseValidationError) Field() string
- func (e CreateEstateResponseValidationError) Key() bool
- func (e CreateEstateResponseValidationError) Reason() string
- type DeleteEstateRequest
- func (*DeleteEstateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEstateRequest) GetId() uint32
- func (*DeleteEstateRequest) ProtoMessage()
- func (x *DeleteEstateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEstateRequest) Reset()
- func (x *DeleteEstateRequest) String() string
- func (m *DeleteEstateRequest) Validate() error
- type DeleteEstateRequestValidationError
- func (e DeleteEstateRequestValidationError) Cause() error
- func (e DeleteEstateRequestValidationError) Error() string
- func (e DeleteEstateRequestValidationError) ErrorName() string
- func (e DeleteEstateRequestValidationError) Field() string
- func (e DeleteEstateRequestValidationError) Key() bool
- func (e DeleteEstateRequestValidationError) Reason() string
- type DeleteEstateResponse
- func (*DeleteEstateResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteEstateResponse) ProtoMessage()
- func (x *DeleteEstateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteEstateResponse) Reset()
- func (x *DeleteEstateResponse) String() string
- func (m *DeleteEstateResponse) Validate() error
- type DeleteEstateResponseValidationError
- func (e DeleteEstateResponseValidationError) Cause() error
- func (e DeleteEstateResponseValidationError) Error() string
- func (e DeleteEstateResponseValidationError) ErrorName() string
- func (e DeleteEstateResponseValidationError) Field() string
- func (e DeleteEstateResponseValidationError) Key() bool
- func (e DeleteEstateResponseValidationError) Reason() string
- type Estate
- func (*Estate) Descriptor() ([]byte, []int)deprecated
- func (x *Estate) GetDescription() string
- func (x *Estate) GetEntrances() []uint32
- func (x *Estate) GetGates() []uint32
- func (x *Estate) GetId() uint32
- func (x *Estate) GetName() string
- func (x *Estate) GetProductId() uint32
- func (x *Estate) GetRooms() []uint32
- func (*Estate) ProtoMessage()
- func (x *Estate) ProtoReflect() protoreflect.Message
- func (x *Estate) Reset()
- func (x *Estate) String() string
- func (m *Estate) Validate() error
- type EstateValidationError
- type FetchAllEstatesRequest
- func (*FetchAllEstatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAllEstatesRequest) GetChunkSize() uint32
- func (*FetchAllEstatesRequest) ProtoMessage()
- func (x *FetchAllEstatesRequest) ProtoReflect() protoreflect.Message
- func (x *FetchAllEstatesRequest) Reset()
- func (x *FetchAllEstatesRequest) String() string
- func (m *FetchAllEstatesRequest) Validate() error
- type FetchAllEstatesRequestValidationError
- func (e FetchAllEstatesRequestValidationError) Cause() error
- func (e FetchAllEstatesRequestValidationError) Error() string
- func (e FetchAllEstatesRequestValidationError) ErrorName() string
- func (e FetchAllEstatesRequestValidationError) Field() string
- func (e FetchAllEstatesRequestValidationError) Key() bool
- func (e FetchAllEstatesRequestValidationError) Reason() string
- type FetchAllEstatesResponse
- func (*FetchAllEstatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAllEstatesResponse) GetEstates() []*FullEstate
- func (*FetchAllEstatesResponse) ProtoMessage()
- func (x *FetchAllEstatesResponse) ProtoReflect() protoreflect.Message
- func (x *FetchAllEstatesResponse) Reset()
- func (x *FetchAllEstatesResponse) String() string
- func (m *FetchAllEstatesResponse) Validate() error
- type FetchAllEstatesResponseValidationError
- func (e FetchAllEstatesResponseValidationError) Cause() error
- func (e FetchAllEstatesResponseValidationError) Error() string
- func (e FetchAllEstatesResponseValidationError) ErrorName() string
- func (e FetchAllEstatesResponseValidationError) Field() string
- func (e FetchAllEstatesResponseValidationError) Key() bool
- func (e FetchAllEstatesResponseValidationError) Reason() string
- type FullEstate
- func (*FullEstate) Descriptor() ([]byte, []int)deprecated
- func (x *FullEstate) GetDescription() string
- func (x *FullEstate) GetEntrances() map[uint32]*entrances.Entrance
- func (x *FullEstate) GetGates() map[uint32]*gates.Gate
- func (x *FullEstate) GetId() uint32
- func (x *FullEstate) GetName() string
- func (x *FullEstate) GetObjects() map[uint32]*objects.Object
- func (x *FullEstate) GetRemovedBuildings() map[uint32]*objects.RemovedBuilding
- func (*FullEstate) ProtoMessage()
- func (x *FullEstate) ProtoReflect() protoreflect.Message
- func (x *FullEstate) Reset()
- func (x *FullEstate) String() string
- func (m *FullEstate) Validate() error
- type FullEstateValidationError
- type GetEstateEntrancesRequest
- func (*GetEstateEntrancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstateEntrancesRequest) GetEstateId() uint32
- func (*GetEstateEntrancesRequest) ProtoMessage()
- func (x *GetEstateEntrancesRequest) ProtoReflect() protoreflect.Message
- func (x *GetEstateEntrancesRequest) Reset()
- func (x *GetEstateEntrancesRequest) String() string
- func (m *GetEstateEntrancesRequest) Validate() error
- type GetEstateEntrancesRequestValidationError
- func (e GetEstateEntrancesRequestValidationError) Cause() error
- func (e GetEstateEntrancesRequestValidationError) Error() string
- func (e GetEstateEntrancesRequestValidationError) ErrorName() string
- func (e GetEstateEntrancesRequestValidationError) Field() string
- func (e GetEstateEntrancesRequestValidationError) Key() bool
- func (e GetEstateEntrancesRequestValidationError) Reason() string
- type GetEstateEntrancesResponse
- func (*GetEstateEntrancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstateEntrancesResponse) GetEntrances() []*entrances.Entrance
- func (*GetEstateEntrancesResponse) ProtoMessage()
- func (x *GetEstateEntrancesResponse) ProtoReflect() protoreflect.Message
- func (x *GetEstateEntrancesResponse) Reset()
- func (x *GetEstateEntrancesResponse) String() string
- func (m *GetEstateEntrancesResponse) Validate() error
- type GetEstateEntrancesResponseValidationError
- func (e GetEstateEntrancesResponseValidationError) Cause() error
- func (e GetEstateEntrancesResponseValidationError) Error() string
- func (e GetEstateEntrancesResponseValidationError) ErrorName() string
- func (e GetEstateEntrancesResponseValidationError) Field() string
- func (e GetEstateEntrancesResponseValidationError) Key() bool
- func (e GetEstateEntrancesResponseValidationError) Reason() string
- type GetEstateGatesRequest
- func (*GetEstateGatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstateGatesRequest) GetEstateId() uint32
- func (*GetEstateGatesRequest) ProtoMessage()
- func (x *GetEstateGatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetEstateGatesRequest) Reset()
- func (x *GetEstateGatesRequest) String() string
- func (m *GetEstateGatesRequest) Validate() error
- type GetEstateGatesRequestValidationError
- func (e GetEstateGatesRequestValidationError) Cause() error
- func (e GetEstateGatesRequestValidationError) Error() string
- func (e GetEstateGatesRequestValidationError) ErrorName() string
- func (e GetEstateGatesRequestValidationError) Field() string
- func (e GetEstateGatesRequestValidationError) Key() bool
- func (e GetEstateGatesRequestValidationError) Reason() string
- type GetEstateGatesResponse
- func (*GetEstateGatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstateGatesResponse) GetGates() []*gates.Gate
- func (*GetEstateGatesResponse) ProtoMessage()
- func (x *GetEstateGatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetEstateGatesResponse) Reset()
- func (x *GetEstateGatesResponse) String() string
- func (m *GetEstateGatesResponse) Validate() error
- type GetEstateGatesResponseValidationError
- func (e GetEstateGatesResponseValidationError) Cause() error
- func (e GetEstateGatesResponseValidationError) Error() string
- func (e GetEstateGatesResponseValidationError) ErrorName() string
- func (e GetEstateGatesResponseValidationError) Field() string
- func (e GetEstateGatesResponseValidationError) Key() bool
- func (e GetEstateGatesResponseValidationError) Reason() string
- type GetEstateRequest
- func (*GetEstateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstateRequest) GetId() uint32
- func (*GetEstateRequest) ProtoMessage()
- func (x *GetEstateRequest) ProtoReflect() protoreflect.Message
- func (x *GetEstateRequest) Reset()
- func (x *GetEstateRequest) String() string
- func (m *GetEstateRequest) Validate() error
- type GetEstateRequestValidationError
- func (e GetEstateRequestValidationError) Cause() error
- func (e GetEstateRequestValidationError) Error() string
- func (e GetEstateRequestValidationError) ErrorName() string
- func (e GetEstateRequestValidationError) Field() string
- func (e GetEstateRequestValidationError) Key() bool
- func (e GetEstateRequestValidationError) Reason() string
- type GetEstatesRequest
- func (*GetEstatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstatesRequest) GetFrom() uint32
- func (x *GetEstatesRequest) GetLimit() uint32
- func (*GetEstatesRequest) ProtoMessage()
- func (x *GetEstatesRequest) ProtoReflect() protoreflect.Message
- func (x *GetEstatesRequest) Reset()
- func (x *GetEstatesRequest) String() string
- func (m *GetEstatesRequest) Validate() error
- type GetEstatesRequestValidationError
- func (e GetEstatesRequestValidationError) Cause() error
- func (e GetEstatesRequestValidationError) Error() string
- func (e GetEstatesRequestValidationError) ErrorName() string
- func (e GetEstatesRequestValidationError) Field() string
- func (e GetEstatesRequestValidationError) Key() bool
- func (e GetEstatesRequestValidationError) Reason() string
- type GetEstatesResponse
- func (*GetEstatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEstatesResponse) GetEstates() []*Estate
- func (*GetEstatesResponse) ProtoMessage()
- func (x *GetEstatesResponse) ProtoReflect() protoreflect.Message
- func (x *GetEstatesResponse) Reset()
- func (x *GetEstatesResponse) String() string
- func (m *GetEstatesResponse) Validate() error
- type GetEstatesResponseValidationError
- func (e GetEstatesResponseValidationError) Cause() error
- func (e GetEstatesResponseValidationError) Error() string
- func (e GetEstatesResponseValidationError) ErrorName() string
- func (e GetEstatesResponseValidationError) Field() string
- func (e GetEstatesResponseValidationError) Key() bool
- func (e GetEstatesResponseValidationError) Reason() string
- type MruVEstateServiceClient
- type MruVEstateServiceServer
- type MruVEstateService_FetchAllClient
- type MruVEstateService_FetchAllServer
- type RemoveEntranceRequest
- func (*RemoveEntranceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveEntranceRequest) GetEntranceId() uint32
- func (x *RemoveEntranceRequest) GetEstateId() uint32
- func (*RemoveEntranceRequest) ProtoMessage()
- func (x *RemoveEntranceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveEntranceRequest) Reset()
- func (x *RemoveEntranceRequest) String() string
- func (m *RemoveEntranceRequest) Validate() error
- type RemoveEntranceRequestValidationError
- func (e RemoveEntranceRequestValidationError) Cause() error
- func (e RemoveEntranceRequestValidationError) Error() string
- func (e RemoveEntranceRequestValidationError) ErrorName() string
- func (e RemoveEntranceRequestValidationError) Field() string
- func (e RemoveEntranceRequestValidationError) Key() bool
- func (e RemoveEntranceRequestValidationError) Reason() string
- type RemoveEntranceResponse
- func (*RemoveEntranceResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveEntranceResponse) ProtoMessage()
- func (x *RemoveEntranceResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveEntranceResponse) Reset()
- func (x *RemoveEntranceResponse) String() string
- func (m *RemoveEntranceResponse) Validate() error
- type RemoveEntranceResponseValidationError
- func (e RemoveEntranceResponseValidationError) Cause() error
- func (e RemoveEntranceResponseValidationError) Error() string
- func (e RemoveEntranceResponseValidationError) ErrorName() string
- func (e RemoveEntranceResponseValidationError) Field() string
- func (e RemoveEntranceResponseValidationError) Key() bool
- func (e RemoveEntranceResponseValidationError) Reason() string
- type RemoveGateRequest
- func (*RemoveGateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveGateRequest) GetEstateId() uint32
- func (x *RemoveGateRequest) GetGateId() uint32
- func (*RemoveGateRequest) ProtoMessage()
- func (x *RemoveGateRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveGateRequest) Reset()
- func (x *RemoveGateRequest) String() string
- func (m *RemoveGateRequest) Validate() error
- type RemoveGateRequestValidationError
- func (e RemoveGateRequestValidationError) Cause() error
- func (e RemoveGateRequestValidationError) Error() string
- func (e RemoveGateRequestValidationError) ErrorName() string
- func (e RemoveGateRequestValidationError) Field() string
- func (e RemoveGateRequestValidationError) Key() bool
- func (e RemoveGateRequestValidationError) Reason() string
- type RemoveGateResponse
- func (*RemoveGateResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveGateResponse) ProtoMessage()
- func (x *RemoveGateResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveGateResponse) Reset()
- func (x *RemoveGateResponse) String() string
- func (m *RemoveGateResponse) Validate() error
- type RemoveGateResponseValidationError
- func (e RemoveGateResponseValidationError) Cause() error
- func (e RemoveGateResponseValidationError) Error() string
- func (e RemoveGateResponseValidationError) ErrorName() string
- func (e RemoveGateResponseValidationError) Field() string
- func (e RemoveGateResponseValidationError) Key() bool
- func (e RemoveGateResponseValidationError) Reason() string
- type UnimplementedMruVEstateServiceServer
- func (*UnimplementedMruVEstateServiceServer) AddEntrance(context.Context, *AddEntranceRequest) (*AddEntranceResponse, error)
- func (*UnimplementedMruVEstateServiceServer) AddGate(context.Context, *AddGateRequest) (*AddGateResponse, error)
- func (*UnimplementedMruVEstateServiceServer) CreateEstate(context.Context, *CreateEstateRequest) (*CreateEstateResponse, error)
- func (*UnimplementedMruVEstateServiceServer) DeleteEstate(context.Context, *DeleteEstateRequest) (*DeleteEstateResponse, error)
- func (*UnimplementedMruVEstateServiceServer) FetchAll(*FetchAllEstatesRequest, MruVEstateService_FetchAllServer) error
- func (*UnimplementedMruVEstateServiceServer) GetEstate(context.Context, *GetEstateRequest) (*Estate, error)
- func (*UnimplementedMruVEstateServiceServer) GetEstateEntrances(context.Context, *GetEstateEntrancesRequest) (*GetEstateEntrancesResponse, error)
- func (*UnimplementedMruVEstateServiceServer) GetEstateGates(context.Context, *GetEstateGatesRequest) (*GetEstateGatesResponse, error)
- func (*UnimplementedMruVEstateServiceServer) GetEstates(context.Context, *GetEstatesRequest) (*GetEstatesResponse, error)
- func (*UnimplementedMruVEstateServiceServer) RemoveEntrance(context.Context, *RemoveEntranceRequest) (*RemoveEntranceResponse, error)
- func (*UnimplementedMruVEstateServiceServer) RemoveGate(context.Context, *RemoveGateRequest) (*RemoveGateResponse, error)
- func (*UnimplementedMruVEstateServiceServer) UpdateEstate(context.Context, *UpdateEstateRequest) (*UpdateEstateResponse, error)
- type UpdateEstateRequest
- func (*UpdateEstateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEstateRequest) GetDescription() string
- func (x *UpdateEstateRequest) GetId() uint32
- func (x *UpdateEstateRequest) GetName() string
- func (*UpdateEstateRequest) ProtoMessage()
- func (x *UpdateEstateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEstateRequest) Reset()
- func (x *UpdateEstateRequest) String() string
- func (m *UpdateEstateRequest) Validate() error
- type UpdateEstateRequestValidationError
- func (e UpdateEstateRequestValidationError) Cause() error
- func (e UpdateEstateRequestValidationError) Error() string
- func (e UpdateEstateRequestValidationError) ErrorName() string
- func (e UpdateEstateRequestValidationError) Field() string
- func (e UpdateEstateRequestValidationError) Key() bool
- func (e UpdateEstateRequestValidationError) Reason() string
- type UpdateEstateResponse
- func (*UpdateEstateResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateEstateResponse) ProtoMessage()
- func (x *UpdateEstateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEstateResponse) Reset()
- func (x *UpdateEstateResponse) String() string
- func (m *UpdateEstateResponse) Validate() error
- type UpdateEstateResponseValidationError
- func (e UpdateEstateResponseValidationError) Cause() error
- func (e UpdateEstateResponseValidationError) Error() string
- func (e UpdateEstateResponseValidationError) ErrorName() string
- func (e UpdateEstateResponseValidationError) Field() string
- func (e UpdateEstateResponseValidationError) Key() bool
- func (e UpdateEstateResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_estates_estates_proto protoreflect.FileDescriptor
Functions ¶
func RegisterMruVEstateServiceHandler ¶
func RegisterMruVEstateServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMruVEstateServiceHandler registers the http handlers for service MruVEstateService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMruVEstateServiceHandlerClient ¶
func RegisterMruVEstateServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVEstateServiceClient) error
RegisterMruVEstateServiceHandlerClient registers the http handlers for service MruVEstateService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MruVEstateServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MruVEstateServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MruVEstateServiceClient" to call the correct interceptors.
func RegisterMruVEstateServiceHandlerFromEndpoint ¶
func RegisterMruVEstateServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMruVEstateServiceHandlerFromEndpoint is same as RegisterMruVEstateServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMruVEstateServiceHandlerServer ¶
func RegisterMruVEstateServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVEstateServiceServer) error
RegisterMruVEstateServiceHandlerServer registers the http handlers for service MruVEstateService to "mux". UnaryRPC :call MruVEstateServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMruVEstateServiceHandlerFromEndpoint instead.
func RegisterMruVEstateServiceServer ¶
func RegisterMruVEstateServiceServer(s *grpc.Server, srv MruVEstateServiceServer)
Types ¶
type AddEntranceRequest ¶
type AddEntranceRequest struct { EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"` EntranceId uint32 `protobuf:"varint,2,opt,name=entrance_id,json=entranceId,proto3" json:"entrance_id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `AddEntrance`.
func (*AddEntranceRequest) Descriptor
deprecated
func (*AddEntranceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddEntranceRequest.ProtoReflect.Descriptor instead.
func (*AddEntranceRequest) GetEntranceId ¶
func (x *AddEntranceRequest) GetEntranceId() uint32
func (*AddEntranceRequest) GetEstateId ¶
func (x *AddEntranceRequest) GetEstateId() uint32
func (*AddEntranceRequest) ProtoMessage ¶
func (*AddEntranceRequest) ProtoMessage()
func (*AddEntranceRequest) ProtoReflect ¶ added in v0.8.4
func (x *AddEntranceRequest) ProtoReflect() protoreflect.Message
func (*AddEntranceRequest) Reset ¶
func (x *AddEntranceRequest) Reset()
func (*AddEntranceRequest) String ¶
func (x *AddEntranceRequest) String() string
func (*AddEntranceRequest) Validate ¶
func (m *AddEntranceRequest) Validate() error
Validate checks the field values on AddEntranceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddEntranceRequestValidationError ¶
type AddEntranceRequestValidationError struct {
// contains filtered or unexported fields
}
AddEntranceRequestValidationError is the validation error returned by AddEntranceRequest.Validate if the designated constraints aren't met.
func (AddEntranceRequestValidationError) Cause ¶
func (e AddEntranceRequestValidationError) Cause() error
Cause function returns cause value.
func (AddEntranceRequestValidationError) Error ¶
func (e AddEntranceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddEntranceRequestValidationError) ErrorName ¶
func (e AddEntranceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddEntranceRequestValidationError) Field ¶
func (e AddEntranceRequestValidationError) Field() string
Field function returns field value.
func (AddEntranceRequestValidationError) Key ¶
func (e AddEntranceRequestValidationError) Key() bool
Key function returns key value.
func (AddEntranceRequestValidationError) Reason ¶
func (e AddEntranceRequestValidationError) Reason() string
Reason function returns reason value.
type AddEntranceResponse ¶
type AddEntranceResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `AddEntrance`.
func (*AddEntranceResponse) Descriptor
deprecated
func (*AddEntranceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddEntranceResponse.ProtoReflect.Descriptor instead.
func (*AddEntranceResponse) ProtoMessage ¶
func (*AddEntranceResponse) ProtoMessage()
func (*AddEntranceResponse) ProtoReflect ¶ added in v0.8.4
func (x *AddEntranceResponse) ProtoReflect() protoreflect.Message
func (*AddEntranceResponse) Reset ¶
func (x *AddEntranceResponse) Reset()
func (*AddEntranceResponse) String ¶
func (x *AddEntranceResponse) String() string
func (*AddEntranceResponse) Validate ¶
func (m *AddEntranceResponse) Validate() error
Validate checks the field values on AddEntranceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddEntranceResponseValidationError ¶
type AddEntranceResponseValidationError struct {
// contains filtered or unexported fields
}
AddEntranceResponseValidationError is the validation error returned by AddEntranceResponse.Validate if the designated constraints aren't met.
func (AddEntranceResponseValidationError) Cause ¶
func (e AddEntranceResponseValidationError) Cause() error
Cause function returns cause value.
func (AddEntranceResponseValidationError) Error ¶
func (e AddEntranceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddEntranceResponseValidationError) ErrorName ¶
func (e AddEntranceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddEntranceResponseValidationError) Field ¶
func (e AddEntranceResponseValidationError) Field() string
Field function returns field value.
func (AddEntranceResponseValidationError) Key ¶
func (e AddEntranceResponseValidationError) Key() bool
Key function returns key value.
func (AddEntranceResponseValidationError) Reason ¶
func (e AddEntranceResponseValidationError) Reason() string
Reason function returns reason value.
type AddGateRequest ¶
type AddGateRequest struct { EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"` GateId uint32 `protobuf:"varint,2,opt,name=gate_id,json=gateId,proto3" json:"gate_id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `AddGate`.
func (*AddGateRequest) Descriptor
deprecated
func (*AddGateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddGateRequest.ProtoReflect.Descriptor instead.
func (*AddGateRequest) GetEstateId ¶
func (x *AddGateRequest) GetEstateId() uint32
func (*AddGateRequest) GetGateId ¶
func (x *AddGateRequest) GetGateId() uint32
func (*AddGateRequest) ProtoMessage ¶
func (*AddGateRequest) ProtoMessage()
func (*AddGateRequest) ProtoReflect ¶ added in v0.8.4
func (x *AddGateRequest) ProtoReflect() protoreflect.Message
func (*AddGateRequest) Reset ¶
func (x *AddGateRequest) Reset()
func (*AddGateRequest) String ¶
func (x *AddGateRequest) String() string
func (*AddGateRequest) Validate ¶
func (m *AddGateRequest) Validate() error
Validate checks the field values on AddGateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddGateRequestValidationError ¶
type AddGateRequestValidationError struct {
// contains filtered or unexported fields
}
AddGateRequestValidationError is the validation error returned by AddGateRequest.Validate if the designated constraints aren't met.
func (AddGateRequestValidationError) Cause ¶
func (e AddGateRequestValidationError) Cause() error
Cause function returns cause value.
func (AddGateRequestValidationError) Error ¶
func (e AddGateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddGateRequestValidationError) ErrorName ¶
func (e AddGateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddGateRequestValidationError) Field ¶
func (e AddGateRequestValidationError) Field() string
Field function returns field value.
func (AddGateRequestValidationError) Key ¶
func (e AddGateRequestValidationError) Key() bool
Key function returns key value.
func (AddGateRequestValidationError) Reason ¶
func (e AddGateRequestValidationError) Reason() string
Reason function returns reason value.
type AddGateResponse ¶
type AddGateResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `AddGate`.
func (*AddGateResponse) Descriptor
deprecated
func (*AddGateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddGateResponse.ProtoReflect.Descriptor instead.
func (*AddGateResponse) ProtoMessage ¶
func (*AddGateResponse) ProtoMessage()
func (*AddGateResponse) ProtoReflect ¶ added in v0.8.4
func (x *AddGateResponse) ProtoReflect() protoreflect.Message
func (*AddGateResponse) Reset ¶
func (x *AddGateResponse) Reset()
func (*AddGateResponse) String ¶
func (x *AddGateResponse) String() string
func (*AddGateResponse) Validate ¶
func (m *AddGateResponse) Validate() error
Validate checks the field values on AddGateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddGateResponseValidationError ¶
type AddGateResponseValidationError struct {
// contains filtered or unexported fields
}
AddGateResponseValidationError is the validation error returned by AddGateResponse.Validate if the designated constraints aren't met.
func (AddGateResponseValidationError) Cause ¶
func (e AddGateResponseValidationError) Cause() error
Cause function returns cause value.
func (AddGateResponseValidationError) Error ¶
func (e AddGateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddGateResponseValidationError) ErrorName ¶
func (e AddGateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddGateResponseValidationError) Field ¶
func (e AddGateResponseValidationError) Field() string
Field function returns field value.
func (AddGateResponseValidationError) Key ¶
func (e AddGateResponseValidationError) Key() bool
Key function returns key value.
func (AddGateResponseValidationError) Reason ¶
func (e AddGateResponseValidationError) Reason() string
Reason function returns reason value.
type CreateEstateRequest ¶
type CreateEstateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Request message for rpc `CreateEstate`.
func (*CreateEstateRequest) Descriptor
deprecated
func (*CreateEstateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEstateRequest.ProtoReflect.Descriptor instead.
func (*CreateEstateRequest) GetDescription ¶
func (x *CreateEstateRequest) GetDescription() string
func (*CreateEstateRequest) GetName ¶
func (x *CreateEstateRequest) GetName() string
func (*CreateEstateRequest) ProtoMessage ¶
func (*CreateEstateRequest) ProtoMessage()
func (*CreateEstateRequest) ProtoReflect ¶ added in v0.8.4
func (x *CreateEstateRequest) ProtoReflect() protoreflect.Message
func (*CreateEstateRequest) Reset ¶
func (x *CreateEstateRequest) Reset()
func (*CreateEstateRequest) String ¶
func (x *CreateEstateRequest) String() string
func (*CreateEstateRequest) Validate ¶
func (m *CreateEstateRequest) Validate() error
Validate checks the field values on CreateEstateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateEstateRequestValidationError ¶
type CreateEstateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateEstateRequestValidationError is the validation error returned by CreateEstateRequest.Validate if the designated constraints aren't met.
func (CreateEstateRequestValidationError) Cause ¶
func (e CreateEstateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateEstateRequestValidationError) Error ¶
func (e CreateEstateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEstateRequestValidationError) ErrorName ¶
func (e CreateEstateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEstateRequestValidationError) Field ¶
func (e CreateEstateRequestValidationError) Field() string
Field function returns field value.
func (CreateEstateRequestValidationError) Key ¶
func (e CreateEstateRequestValidationError) Key() bool
Key function returns key value.
func (CreateEstateRequestValidationError) Reason ¶
func (e CreateEstateRequestValidationError) Reason() string
Reason function returns reason value.
type CreateEstateResponse ¶
type CreateEstateResponse struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Response message for rpc `CreateEstate`.
func (*CreateEstateResponse) Descriptor
deprecated
func (*CreateEstateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEstateResponse.ProtoReflect.Descriptor instead.
func (*CreateEstateResponse) GetId ¶
func (x *CreateEstateResponse) GetId() uint32
func (*CreateEstateResponse) ProtoMessage ¶
func (*CreateEstateResponse) ProtoMessage()
func (*CreateEstateResponse) ProtoReflect ¶ added in v0.8.4
func (x *CreateEstateResponse) ProtoReflect() protoreflect.Message
func (*CreateEstateResponse) Reset ¶
func (x *CreateEstateResponse) Reset()
func (*CreateEstateResponse) String ¶
func (x *CreateEstateResponse) String() string
func (*CreateEstateResponse) Validate ¶
func (m *CreateEstateResponse) Validate() error
Validate checks the field values on CreateEstateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateEstateResponseValidationError ¶
type CreateEstateResponseValidationError struct {
// contains filtered or unexported fields
}
CreateEstateResponseValidationError is the validation error returned by CreateEstateResponse.Validate if the designated constraints aren't met.
func (CreateEstateResponseValidationError) Cause ¶
func (e CreateEstateResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateEstateResponseValidationError) Error ¶
func (e CreateEstateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEstateResponseValidationError) ErrorName ¶
func (e CreateEstateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEstateResponseValidationError) Field ¶
func (e CreateEstateResponseValidationError) Field() string
Field function returns field value.
func (CreateEstateResponseValidationError) Key ¶
func (e CreateEstateResponseValidationError) Key() bool
Key function returns key value.
func (CreateEstateResponseValidationError) Reason ¶
func (e CreateEstateResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteEstateRequest ¶
type DeleteEstateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `DeleteEstate`.
func (*DeleteEstateRequest) Descriptor
deprecated
func (*DeleteEstateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEstateRequest.ProtoReflect.Descriptor instead.
func (*DeleteEstateRequest) GetId ¶
func (x *DeleteEstateRequest) GetId() uint32
func (*DeleteEstateRequest) ProtoMessage ¶
func (*DeleteEstateRequest) ProtoMessage()
func (*DeleteEstateRequest) ProtoReflect ¶ added in v0.8.4
func (x *DeleteEstateRequest) ProtoReflect() protoreflect.Message
func (*DeleteEstateRequest) Reset ¶
func (x *DeleteEstateRequest) Reset()
func (*DeleteEstateRequest) String ¶
func (x *DeleteEstateRequest) String() string
func (*DeleteEstateRequest) Validate ¶
func (m *DeleteEstateRequest) Validate() error
Validate checks the field values on DeleteEstateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteEstateRequestValidationError ¶
type DeleteEstateRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteEstateRequestValidationError is the validation error returned by DeleteEstateRequest.Validate if the designated constraints aren't met.
func (DeleteEstateRequestValidationError) Cause ¶
func (e DeleteEstateRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteEstateRequestValidationError) Error ¶
func (e DeleteEstateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEstateRequestValidationError) ErrorName ¶
func (e DeleteEstateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEstateRequestValidationError) Field ¶
func (e DeleteEstateRequestValidationError) Field() string
Field function returns field value.
func (DeleteEstateRequestValidationError) Key ¶
func (e DeleteEstateRequestValidationError) Key() bool
Key function returns key value.
func (DeleteEstateRequestValidationError) Reason ¶
func (e DeleteEstateRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteEstateResponse ¶
type DeleteEstateResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `DeleteEstate`.
func (*DeleteEstateResponse) Descriptor
deprecated
func (*DeleteEstateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEstateResponse.ProtoReflect.Descriptor instead.
func (*DeleteEstateResponse) ProtoMessage ¶
func (*DeleteEstateResponse) ProtoMessage()
func (*DeleteEstateResponse) ProtoReflect ¶ added in v0.8.4
func (x *DeleteEstateResponse) ProtoReflect() protoreflect.Message
func (*DeleteEstateResponse) Reset ¶
func (x *DeleteEstateResponse) Reset()
func (*DeleteEstateResponse) String ¶
func (x *DeleteEstateResponse) String() string
func (*DeleteEstateResponse) Validate ¶
func (m *DeleteEstateResponse) Validate() error
Validate checks the field values on DeleteEstateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteEstateResponseValidationError ¶
type DeleteEstateResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteEstateResponseValidationError is the validation error returned by DeleteEstateResponse.Validate if the designated constraints aren't met.
func (DeleteEstateResponseValidationError) Cause ¶
func (e DeleteEstateResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteEstateResponseValidationError) Error ¶
func (e DeleteEstateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEstateResponseValidationError) ErrorName ¶
func (e DeleteEstateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEstateResponseValidationError) Field ¶
func (e DeleteEstateResponseValidationError) Field() string
Field function returns field value.
func (DeleteEstateResponseValidationError) Key ¶
func (e DeleteEstateResponseValidationError) Key() bool
Key function returns key value.
func (DeleteEstateResponseValidationError) Reason ¶
func (e DeleteEstateResponseValidationError) Reason() string
Reason function returns reason value.
type Estate ¶
type Estate struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Entrances []uint32 `protobuf:"varint,4,rep,packed,name=entrances,proto3" json:"entrances,omitempty"` Gates []uint32 `protobuf:"varint,5,rep,packed,name=gates,proto3" json:"gates,omitempty"` Rooms []uint32 `protobuf:"varint,6,rep,packed,name=rooms,proto3" json:"rooms,omitempty"` ProductId uint32 `protobuf:"varint,7,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // contains filtered or unexported fields }
func (*Estate) Descriptor
deprecated
func (*Estate) GetDescription ¶
func (*Estate) GetEntrances ¶
func (*Estate) GetProductId ¶
func (*Estate) ProtoMessage ¶
func (*Estate) ProtoMessage()
func (*Estate) ProtoReflect ¶ added in v0.8.4
func (x *Estate) ProtoReflect() protoreflect.Message
type EstateValidationError ¶
type EstateValidationError struct {
// contains filtered or unexported fields
}
EstateValidationError is the validation error returned by Estate.Validate if the designated constraints aren't met.
func (EstateValidationError) Cause ¶
func (e EstateValidationError) Cause() error
Cause function returns cause value.
func (EstateValidationError) Error ¶
func (e EstateValidationError) Error() string
Error satisfies the builtin error interface
func (EstateValidationError) ErrorName ¶
func (e EstateValidationError) ErrorName() string
ErrorName returns error name.
func (EstateValidationError) Field ¶
func (e EstateValidationError) Field() string
Field function returns field value.
func (EstateValidationError) Key ¶
func (e EstateValidationError) Key() bool
Key function returns key value.
func (EstateValidationError) Reason ¶
func (e EstateValidationError) Reason() string
Reason function returns reason value.
type FetchAllEstatesRequest ¶
type FetchAllEstatesRequest struct { ChunkSize uint32 `protobuf:"varint,1,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"` // contains filtered or unexported fields }
Request message for rpc `FetchAll`.
func (*FetchAllEstatesRequest) Descriptor
deprecated
func (*FetchAllEstatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchAllEstatesRequest.ProtoReflect.Descriptor instead.
func (*FetchAllEstatesRequest) GetChunkSize ¶
func (x *FetchAllEstatesRequest) GetChunkSize() uint32
func (*FetchAllEstatesRequest) ProtoMessage ¶
func (*FetchAllEstatesRequest) ProtoMessage()
func (*FetchAllEstatesRequest) ProtoReflect ¶ added in v0.8.4
func (x *FetchAllEstatesRequest) ProtoReflect() protoreflect.Message
func (*FetchAllEstatesRequest) Reset ¶
func (x *FetchAllEstatesRequest) Reset()
func (*FetchAllEstatesRequest) String ¶
func (x *FetchAllEstatesRequest) String() string
func (*FetchAllEstatesRequest) Validate ¶
func (m *FetchAllEstatesRequest) Validate() error
Validate checks the field values on FetchAllEstatesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FetchAllEstatesRequestValidationError ¶
type FetchAllEstatesRequestValidationError struct {
// contains filtered or unexported fields
}
FetchAllEstatesRequestValidationError is the validation error returned by FetchAllEstatesRequest.Validate if the designated constraints aren't met.
func (FetchAllEstatesRequestValidationError) Cause ¶
func (e FetchAllEstatesRequestValidationError) Cause() error
Cause function returns cause value.
func (FetchAllEstatesRequestValidationError) Error ¶
func (e FetchAllEstatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FetchAllEstatesRequestValidationError) ErrorName ¶
func (e FetchAllEstatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FetchAllEstatesRequestValidationError) Field ¶
func (e FetchAllEstatesRequestValidationError) Field() string
Field function returns field value.
func (FetchAllEstatesRequestValidationError) Key ¶
func (e FetchAllEstatesRequestValidationError) Key() bool
Key function returns key value.
func (FetchAllEstatesRequestValidationError) Reason ¶
func (e FetchAllEstatesRequestValidationError) Reason() string
Reason function returns reason value.
type FetchAllEstatesResponse ¶
type FetchAllEstatesResponse struct { Estates []*FullEstate `protobuf:"bytes,1,rep,name=estates,proto3" json:"estates,omitempty"` // contains filtered or unexported fields }
Response message for rpc `FetchAll`.
func (*FetchAllEstatesResponse) Descriptor
deprecated
func (*FetchAllEstatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchAllEstatesResponse.ProtoReflect.Descriptor instead.
func (*FetchAllEstatesResponse) GetEstates ¶
func (x *FetchAllEstatesResponse) GetEstates() []*FullEstate
func (*FetchAllEstatesResponse) ProtoMessage ¶
func (*FetchAllEstatesResponse) ProtoMessage()
func (*FetchAllEstatesResponse) ProtoReflect ¶ added in v0.8.4
func (x *FetchAllEstatesResponse) ProtoReflect() protoreflect.Message
func (*FetchAllEstatesResponse) Reset ¶
func (x *FetchAllEstatesResponse) Reset()
func (*FetchAllEstatesResponse) String ¶
func (x *FetchAllEstatesResponse) String() string
func (*FetchAllEstatesResponse) Validate ¶
func (m *FetchAllEstatesResponse) Validate() error
Validate checks the field values on FetchAllEstatesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FetchAllEstatesResponseValidationError ¶
type FetchAllEstatesResponseValidationError struct {
// contains filtered or unexported fields
}
FetchAllEstatesResponseValidationError is the validation error returned by FetchAllEstatesResponse.Validate if the designated constraints aren't met.
func (FetchAllEstatesResponseValidationError) Cause ¶
func (e FetchAllEstatesResponseValidationError) Cause() error
Cause function returns cause value.
func (FetchAllEstatesResponseValidationError) Error ¶
func (e FetchAllEstatesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FetchAllEstatesResponseValidationError) ErrorName ¶
func (e FetchAllEstatesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FetchAllEstatesResponseValidationError) Field ¶
func (e FetchAllEstatesResponseValidationError) Field() string
Field function returns field value.
func (FetchAllEstatesResponseValidationError) Key ¶
func (e FetchAllEstatesResponseValidationError) Key() bool
Key function returns key value.
func (FetchAllEstatesResponseValidationError) Reason ¶
func (e FetchAllEstatesResponseValidationError) Reason() string
Reason function returns reason value.
type FullEstate ¶
type FullEstate struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Objects map[uint32]*objects.Object `` /* 156-byte string literal not displayed */ RemovedBuildings map[uint32]*objects.RemovedBuilding `` /* 198-byte string literal not displayed */ Entrances map[uint32]*entrances.Entrance `` /* 160-byte string literal not displayed */ Gates map[uint32]*gates.Gate `` // TODO: map<uint32, mruv.plots.Plot> rooms = 8; /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FullEstate) Descriptor
deprecated
func (*FullEstate) Descriptor() ([]byte, []int)
Deprecated: Use FullEstate.ProtoReflect.Descriptor instead.
func (*FullEstate) GetDescription ¶
func (x *FullEstate) GetDescription() string
func (*FullEstate) GetEntrances ¶
func (x *FullEstate) GetEntrances() map[uint32]*entrances.Entrance
func (*FullEstate) GetId ¶
func (x *FullEstate) GetId() uint32
func (*FullEstate) GetName ¶
func (x *FullEstate) GetName() string
func (*FullEstate) GetObjects ¶
func (x *FullEstate) GetObjects() map[uint32]*objects.Object
func (*FullEstate) GetRemovedBuildings ¶
func (x *FullEstate) GetRemovedBuildings() map[uint32]*objects.RemovedBuilding
func (*FullEstate) ProtoMessage ¶
func (*FullEstate) ProtoMessage()
func (*FullEstate) ProtoReflect ¶ added in v0.8.4
func (x *FullEstate) ProtoReflect() protoreflect.Message
func (*FullEstate) Reset ¶
func (x *FullEstate) Reset()
func (*FullEstate) String ¶
func (x *FullEstate) String() string
func (*FullEstate) Validate ¶
func (m *FullEstate) Validate() error
Validate checks the field values on FullEstate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FullEstateValidationError ¶
type FullEstateValidationError struct {
// contains filtered or unexported fields
}
FullEstateValidationError is the validation error returned by FullEstate.Validate if the designated constraints aren't met.
func (FullEstateValidationError) Cause ¶
func (e FullEstateValidationError) Cause() error
Cause function returns cause value.
func (FullEstateValidationError) Error ¶
func (e FullEstateValidationError) Error() string
Error satisfies the builtin error interface
func (FullEstateValidationError) ErrorName ¶
func (e FullEstateValidationError) ErrorName() string
ErrorName returns error name.
func (FullEstateValidationError) Field ¶
func (e FullEstateValidationError) Field() string
Field function returns field value.
func (FullEstateValidationError) Key ¶
func (e FullEstateValidationError) Key() bool
Key function returns key value.
func (FullEstateValidationError) Reason ¶
func (e FullEstateValidationError) Reason() string
Reason function returns reason value.
type GetEstateEntrancesRequest ¶
type GetEstateEntrancesRequest struct { EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `GetEstateEntrances`.
func (*GetEstateEntrancesRequest) Descriptor
deprecated
func (*GetEstateEntrancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEstateEntrancesRequest.ProtoReflect.Descriptor instead.
func (*GetEstateEntrancesRequest) GetEstateId ¶
func (x *GetEstateEntrancesRequest) GetEstateId() uint32
func (*GetEstateEntrancesRequest) ProtoMessage ¶
func (*GetEstateEntrancesRequest) ProtoMessage()
func (*GetEstateEntrancesRequest) ProtoReflect ¶ added in v0.8.4
func (x *GetEstateEntrancesRequest) ProtoReflect() protoreflect.Message
func (*GetEstateEntrancesRequest) Reset ¶
func (x *GetEstateEntrancesRequest) Reset()
func (*GetEstateEntrancesRequest) String ¶
func (x *GetEstateEntrancesRequest) String() string
func (*GetEstateEntrancesRequest) Validate ¶
func (m *GetEstateEntrancesRequest) Validate() error
Validate checks the field values on GetEstateEntrancesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEstateEntrancesRequestValidationError ¶
type GetEstateEntrancesRequestValidationError struct {
// contains filtered or unexported fields
}
GetEstateEntrancesRequestValidationError is the validation error returned by GetEstateEntrancesRequest.Validate if the designated constraints aren't met.
func (GetEstateEntrancesRequestValidationError) Cause ¶
func (e GetEstateEntrancesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEstateEntrancesRequestValidationError) Error ¶
func (e GetEstateEntrancesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEstateEntrancesRequestValidationError) ErrorName ¶
func (e GetEstateEntrancesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEstateEntrancesRequestValidationError) Field ¶
func (e GetEstateEntrancesRequestValidationError) Field() string
Field function returns field value.
func (GetEstateEntrancesRequestValidationError) Key ¶
func (e GetEstateEntrancesRequestValidationError) Key() bool
Key function returns key value.
func (GetEstateEntrancesRequestValidationError) Reason ¶
func (e GetEstateEntrancesRequestValidationError) Reason() string
Reason function returns reason value.
type GetEstateEntrancesResponse ¶
type GetEstateEntrancesResponse struct { Entrances []*entrances.Entrance `protobuf:"bytes,1,rep,name=entrances,proto3" json:"entrances,omitempty"` // contains filtered or unexported fields }
Response message for rpc `GetEstateEntrances`.
func (*GetEstateEntrancesResponse) Descriptor
deprecated
func (*GetEstateEntrancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEstateEntrancesResponse.ProtoReflect.Descriptor instead.
func (*GetEstateEntrancesResponse) GetEntrances ¶
func (x *GetEstateEntrancesResponse) GetEntrances() []*entrances.Entrance
func (*GetEstateEntrancesResponse) ProtoMessage ¶
func (*GetEstateEntrancesResponse) ProtoMessage()
func (*GetEstateEntrancesResponse) ProtoReflect ¶ added in v0.8.4
func (x *GetEstateEntrancesResponse) ProtoReflect() protoreflect.Message
func (*GetEstateEntrancesResponse) Reset ¶
func (x *GetEstateEntrancesResponse) Reset()
func (*GetEstateEntrancesResponse) String ¶
func (x *GetEstateEntrancesResponse) String() string
func (*GetEstateEntrancesResponse) Validate ¶
func (m *GetEstateEntrancesResponse) Validate() error
Validate checks the field values on GetEstateEntrancesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEstateEntrancesResponseValidationError ¶
type GetEstateEntrancesResponseValidationError struct {
// contains filtered or unexported fields
}
GetEstateEntrancesResponseValidationError is the validation error returned by GetEstateEntrancesResponse.Validate if the designated constraints aren't met.
func (GetEstateEntrancesResponseValidationError) Cause ¶
func (e GetEstateEntrancesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetEstateEntrancesResponseValidationError) Error ¶
func (e GetEstateEntrancesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetEstateEntrancesResponseValidationError) ErrorName ¶
func (e GetEstateEntrancesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetEstateEntrancesResponseValidationError) Field ¶
func (e GetEstateEntrancesResponseValidationError) Field() string
Field function returns field value.
func (GetEstateEntrancesResponseValidationError) Key ¶
func (e GetEstateEntrancesResponseValidationError) Key() bool
Key function returns key value.
func (GetEstateEntrancesResponseValidationError) Reason ¶
func (e GetEstateEntrancesResponseValidationError) Reason() string
Reason function returns reason value.
type GetEstateGatesRequest ¶
type GetEstateGatesRequest struct { EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `GetEstateGates`.
func (*GetEstateGatesRequest) Descriptor
deprecated
func (*GetEstateGatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEstateGatesRequest.ProtoReflect.Descriptor instead.
func (*GetEstateGatesRequest) GetEstateId ¶
func (x *GetEstateGatesRequest) GetEstateId() uint32
func (*GetEstateGatesRequest) ProtoMessage ¶
func (*GetEstateGatesRequest) ProtoMessage()
func (*GetEstateGatesRequest) ProtoReflect ¶ added in v0.8.4
func (x *GetEstateGatesRequest) ProtoReflect() protoreflect.Message
func (*GetEstateGatesRequest) Reset ¶
func (x *GetEstateGatesRequest) Reset()
func (*GetEstateGatesRequest) String ¶
func (x *GetEstateGatesRequest) String() string
func (*GetEstateGatesRequest) Validate ¶
func (m *GetEstateGatesRequest) Validate() error
Validate checks the field values on GetEstateGatesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEstateGatesRequestValidationError ¶
type GetEstateGatesRequestValidationError struct {
// contains filtered or unexported fields
}
GetEstateGatesRequestValidationError is the validation error returned by GetEstateGatesRequest.Validate if the designated constraints aren't met.
func (GetEstateGatesRequestValidationError) Cause ¶
func (e GetEstateGatesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEstateGatesRequestValidationError) Error ¶
func (e GetEstateGatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEstateGatesRequestValidationError) ErrorName ¶
func (e GetEstateGatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEstateGatesRequestValidationError) Field ¶
func (e GetEstateGatesRequestValidationError) Field() string
Field function returns field value.
func (GetEstateGatesRequestValidationError) Key ¶
func (e GetEstateGatesRequestValidationError) Key() bool
Key function returns key value.
func (GetEstateGatesRequestValidationError) Reason ¶
func (e GetEstateGatesRequestValidationError) Reason() string
Reason function returns reason value.
type GetEstateGatesResponse ¶
type GetEstateGatesResponse struct { Gates []*gates.Gate `protobuf:"bytes,1,rep,name=gates,proto3" json:"gates,omitempty"` // contains filtered or unexported fields }
Response message for rpc `GetEstateGates`.
func (*GetEstateGatesResponse) Descriptor
deprecated
func (*GetEstateGatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEstateGatesResponse.ProtoReflect.Descriptor instead.
func (*GetEstateGatesResponse) GetGates ¶
func (x *GetEstateGatesResponse) GetGates() []*gates.Gate
func (*GetEstateGatesResponse) ProtoMessage ¶
func (*GetEstateGatesResponse) ProtoMessage()
func (*GetEstateGatesResponse) ProtoReflect ¶ added in v0.8.4
func (x *GetEstateGatesResponse) ProtoReflect() protoreflect.Message
func (*GetEstateGatesResponse) Reset ¶
func (x *GetEstateGatesResponse) Reset()
func (*GetEstateGatesResponse) String ¶
func (x *GetEstateGatesResponse) String() string
func (*GetEstateGatesResponse) Validate ¶
func (m *GetEstateGatesResponse) Validate() error
Validate checks the field values on GetEstateGatesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEstateGatesResponseValidationError ¶
type GetEstateGatesResponseValidationError struct {
// contains filtered or unexported fields
}
GetEstateGatesResponseValidationError is the validation error returned by GetEstateGatesResponse.Validate if the designated constraints aren't met.
func (GetEstateGatesResponseValidationError) Cause ¶
func (e GetEstateGatesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetEstateGatesResponseValidationError) Error ¶
func (e GetEstateGatesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetEstateGatesResponseValidationError) ErrorName ¶
func (e GetEstateGatesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetEstateGatesResponseValidationError) Field ¶
func (e GetEstateGatesResponseValidationError) Field() string
Field function returns field value.
func (GetEstateGatesResponseValidationError) Key ¶
func (e GetEstateGatesResponseValidationError) Key() bool
Key function returns key value.
func (GetEstateGatesResponseValidationError) Reason ¶
func (e GetEstateGatesResponseValidationError) Reason() string
Reason function returns reason value.
type GetEstateRequest ¶
type GetEstateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `GetEstate`.
func (*GetEstateRequest) Descriptor
deprecated
func (*GetEstateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEstateRequest.ProtoReflect.Descriptor instead.
func (*GetEstateRequest) GetId ¶
func (x *GetEstateRequest) GetId() uint32
func (*GetEstateRequest) ProtoMessage ¶
func (*GetEstateRequest) ProtoMessage()
func (*GetEstateRequest) ProtoReflect ¶ added in v0.8.4
func (x *GetEstateRequest) ProtoReflect() protoreflect.Message
func (*GetEstateRequest) Reset ¶
func (x *GetEstateRequest) Reset()
func (*GetEstateRequest) String ¶
func (x *GetEstateRequest) String() string
func (*GetEstateRequest) Validate ¶
func (m *GetEstateRequest) Validate() error
Validate checks the field values on GetEstateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEstateRequestValidationError ¶
type GetEstateRequestValidationError struct {
// contains filtered or unexported fields
}
GetEstateRequestValidationError is the validation error returned by GetEstateRequest.Validate if the designated constraints aren't met.
func (GetEstateRequestValidationError) Cause ¶
func (e GetEstateRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEstateRequestValidationError) Error ¶
func (e GetEstateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEstateRequestValidationError) ErrorName ¶
func (e GetEstateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEstateRequestValidationError) Field ¶
func (e GetEstateRequestValidationError) Field() string
Field function returns field value.
func (GetEstateRequestValidationError) Key ¶
func (e GetEstateRequestValidationError) Key() bool
Key function returns key value.
func (GetEstateRequestValidationError) Reason ¶
func (e GetEstateRequestValidationError) Reason() string
Reason function returns reason value.
type GetEstatesRequest ¶
type GetEstatesRequest struct { From uint32 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
Request message for rpc `GetEstates`.
func (*GetEstatesRequest) Descriptor
deprecated
func (*GetEstatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEstatesRequest.ProtoReflect.Descriptor instead.
func (*GetEstatesRequest) GetFrom ¶
func (x *GetEstatesRequest) GetFrom() uint32
func (*GetEstatesRequest) GetLimit ¶
func (x *GetEstatesRequest) GetLimit() uint32
func (*GetEstatesRequest) ProtoMessage ¶
func (*GetEstatesRequest) ProtoMessage()
func (*GetEstatesRequest) ProtoReflect ¶ added in v0.8.4
func (x *GetEstatesRequest) ProtoReflect() protoreflect.Message
func (*GetEstatesRequest) Reset ¶
func (x *GetEstatesRequest) Reset()
func (*GetEstatesRequest) String ¶
func (x *GetEstatesRequest) String() string
func (*GetEstatesRequest) Validate ¶
func (m *GetEstatesRequest) Validate() error
Validate checks the field values on GetEstatesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEstatesRequestValidationError ¶
type GetEstatesRequestValidationError struct {
// contains filtered or unexported fields
}
GetEstatesRequestValidationError is the validation error returned by GetEstatesRequest.Validate if the designated constraints aren't met.
func (GetEstatesRequestValidationError) Cause ¶
func (e GetEstatesRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEstatesRequestValidationError) Error ¶
func (e GetEstatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEstatesRequestValidationError) ErrorName ¶
func (e GetEstatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEstatesRequestValidationError) Field ¶
func (e GetEstatesRequestValidationError) Field() string
Field function returns field value.
func (GetEstatesRequestValidationError) Key ¶
func (e GetEstatesRequestValidationError) Key() bool
Key function returns key value.
func (GetEstatesRequestValidationError) Reason ¶
func (e GetEstatesRequestValidationError) Reason() string
Reason function returns reason value.
type GetEstatesResponse ¶
type GetEstatesResponse struct { Estates []*Estate `protobuf:"bytes,1,rep,name=estates,proto3" json:"estates,omitempty"` // contains filtered or unexported fields }
Response message for rpc `GetEstates`.
func (*GetEstatesResponse) Descriptor
deprecated
func (*GetEstatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEstatesResponse.ProtoReflect.Descriptor instead.
func (*GetEstatesResponse) GetEstates ¶
func (x *GetEstatesResponse) GetEstates() []*Estate
func (*GetEstatesResponse) ProtoMessage ¶
func (*GetEstatesResponse) ProtoMessage()
func (*GetEstatesResponse) ProtoReflect ¶ added in v0.8.4
func (x *GetEstatesResponse) ProtoReflect() protoreflect.Message
func (*GetEstatesResponse) Reset ¶
func (x *GetEstatesResponse) Reset()
func (*GetEstatesResponse) String ¶
func (x *GetEstatesResponse) String() string
func (*GetEstatesResponse) Validate ¶
func (m *GetEstatesResponse) Validate() error
Validate checks the field values on GetEstatesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEstatesResponseValidationError ¶
type GetEstatesResponseValidationError struct {
// contains filtered or unexported fields
}
GetEstatesResponseValidationError is the validation error returned by GetEstatesResponse.Validate if the designated constraints aren't met.
func (GetEstatesResponseValidationError) Cause ¶
func (e GetEstatesResponseValidationError) Cause() error
Cause function returns cause value.
func (GetEstatesResponseValidationError) Error ¶
func (e GetEstatesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetEstatesResponseValidationError) ErrorName ¶
func (e GetEstatesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetEstatesResponseValidationError) Field ¶
func (e GetEstatesResponseValidationError) Field() string
Field function returns field value.
func (GetEstatesResponseValidationError) Key ¶
func (e GetEstatesResponseValidationError) Key() bool
Key function returns key value.
func (GetEstatesResponseValidationError) Reason ¶
func (e GetEstatesResponseValidationError) Reason() string
Reason function returns reason value.
type MruVEstateServiceClient ¶
type MruVEstateServiceClient interface { // Create real estate. CreateEstate(ctx context.Context, in *CreateEstateRequest, opts ...grpc.CallOption) (*CreateEstateResponse, error) // Get real estate. GetEstate(ctx context.Context, in *GetEstateRequest, opts ...grpc.CallOption) (*Estate, error) // Update real estate. UpdateEstate(ctx context.Context, in *UpdateEstateRequest, opts ...grpc.CallOption) (*UpdateEstateResponse, error) // Delete real estate. DeleteEstate(ctx context.Context, in *DeleteEstateRequest, opts ...grpc.CallOption) (*DeleteEstateResponse, error) // Get all created real estates. GetEstates(ctx context.Context, in *GetEstatesRequest, opts ...grpc.CallOption) (*GetEstatesResponse, error) // Add a gate to an estate. AddGate(ctx context.Context, in *AddGateRequest, opts ...grpc.CallOption) (*AddGateResponse, error) // Delete a gate from estate. RemoveGate(ctx context.Context, in *RemoveGateRequest, opts ...grpc.CallOption) (*RemoveGateResponse, error) // Get all estate gates. GetEstateGates(ctx context.Context, in *GetEstateGatesRequest, opts ...grpc.CallOption) (*GetEstateGatesResponse, error) // Add an entrance to estate. AddEntrance(ctx context.Context, in *AddEntranceRequest, opts ...grpc.CallOption) (*AddEntranceResponse, error) // Remove an entrance from estate. RemoveEntrance(ctx context.Context, in *RemoveEntranceRequest, opts ...grpc.CallOption) (*RemoveEntranceResponse, error) // Get all estate entrances. GetEstateEntrances(ctx context.Context, in *GetEstateEntrancesRequest, opts ...grpc.CallOption) (*GetEstateEntrancesResponse, error) // Get full estates data FetchAll(ctx context.Context, in *FetchAllEstatesRequest, opts ...grpc.CallOption) (MruVEstateService_FetchAllClient, error) }
MruVEstateServiceClient is the client API for MruVEstateService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMruVEstateServiceClient ¶
func NewMruVEstateServiceClient(cc grpc.ClientConnInterface) MruVEstateServiceClient
type MruVEstateServiceServer ¶
type MruVEstateServiceServer interface { // Create real estate. CreateEstate(context.Context, *CreateEstateRequest) (*CreateEstateResponse, error) // Get real estate. GetEstate(context.Context, *GetEstateRequest) (*Estate, error) // Update real estate. UpdateEstate(context.Context, *UpdateEstateRequest) (*UpdateEstateResponse, error) // Delete real estate. DeleteEstate(context.Context, *DeleteEstateRequest) (*DeleteEstateResponse, error) // Get all created real estates. GetEstates(context.Context, *GetEstatesRequest) (*GetEstatesResponse, error) // Add a gate to an estate. AddGate(context.Context, *AddGateRequest) (*AddGateResponse, error) // Delete a gate from estate. RemoveGate(context.Context, *RemoveGateRequest) (*RemoveGateResponse, error) // Get all estate gates. GetEstateGates(context.Context, *GetEstateGatesRequest) (*GetEstateGatesResponse, error) // Add an entrance to estate. AddEntrance(context.Context, *AddEntranceRequest) (*AddEntranceResponse, error) // Remove an entrance from estate. RemoveEntrance(context.Context, *RemoveEntranceRequest) (*RemoveEntranceResponse, error) // Get all estate entrances. GetEstateEntrances(context.Context, *GetEstateEntrancesRequest) (*GetEstateEntrancesResponse, error) // Get full estates data FetchAll(*FetchAllEstatesRequest, MruVEstateService_FetchAllServer) error }
MruVEstateServiceServer is the server API for MruVEstateService service.
type MruVEstateService_FetchAllClient ¶
type MruVEstateService_FetchAllClient interface { Recv() (*FetchAllEstatesResponse, error) grpc.ClientStream }
type MruVEstateService_FetchAllServer ¶
type MruVEstateService_FetchAllServer interface { Send(*FetchAllEstatesResponse) error grpc.ServerStream }
type RemoveEntranceRequest ¶
type RemoveEntranceRequest struct { EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"` EntranceId uint32 `protobuf:"varint,2,opt,name=entrance_id,json=entranceId,proto3" json:"entrance_id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `RemoveEntrance`.
func (*RemoveEntranceRequest) Descriptor
deprecated
func (*RemoveEntranceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveEntranceRequest.ProtoReflect.Descriptor instead.
func (*RemoveEntranceRequest) GetEntranceId ¶
func (x *RemoveEntranceRequest) GetEntranceId() uint32
func (*RemoveEntranceRequest) GetEstateId ¶
func (x *RemoveEntranceRequest) GetEstateId() uint32
func (*RemoveEntranceRequest) ProtoMessage ¶
func (*RemoveEntranceRequest) ProtoMessage()
func (*RemoveEntranceRequest) ProtoReflect ¶ added in v0.8.4
func (x *RemoveEntranceRequest) ProtoReflect() protoreflect.Message
func (*RemoveEntranceRequest) Reset ¶
func (x *RemoveEntranceRequest) Reset()
func (*RemoveEntranceRequest) String ¶
func (x *RemoveEntranceRequest) String() string
func (*RemoveEntranceRequest) Validate ¶
func (m *RemoveEntranceRequest) Validate() error
Validate checks the field values on RemoveEntranceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveEntranceRequestValidationError ¶
type RemoveEntranceRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveEntranceRequestValidationError is the validation error returned by RemoveEntranceRequest.Validate if the designated constraints aren't met.
func (RemoveEntranceRequestValidationError) Cause ¶
func (e RemoveEntranceRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveEntranceRequestValidationError) Error ¶
func (e RemoveEntranceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveEntranceRequestValidationError) ErrorName ¶
func (e RemoveEntranceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveEntranceRequestValidationError) Field ¶
func (e RemoveEntranceRequestValidationError) Field() string
Field function returns field value.
func (RemoveEntranceRequestValidationError) Key ¶
func (e RemoveEntranceRequestValidationError) Key() bool
Key function returns key value.
func (RemoveEntranceRequestValidationError) Reason ¶
func (e RemoveEntranceRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveEntranceResponse ¶
type RemoveEntranceResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `RemoveEntrance`.
func (*RemoveEntranceResponse) Descriptor
deprecated
func (*RemoveEntranceResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveEntranceResponse.ProtoReflect.Descriptor instead.
func (*RemoveEntranceResponse) ProtoMessage ¶
func (*RemoveEntranceResponse) ProtoMessage()
func (*RemoveEntranceResponse) ProtoReflect ¶ added in v0.8.4
func (x *RemoveEntranceResponse) ProtoReflect() protoreflect.Message
func (*RemoveEntranceResponse) Reset ¶
func (x *RemoveEntranceResponse) Reset()
func (*RemoveEntranceResponse) String ¶
func (x *RemoveEntranceResponse) String() string
func (*RemoveEntranceResponse) Validate ¶
func (m *RemoveEntranceResponse) Validate() error
Validate checks the field values on RemoveEntranceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveEntranceResponseValidationError ¶
type RemoveEntranceResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveEntranceResponseValidationError is the validation error returned by RemoveEntranceResponse.Validate if the designated constraints aren't met.
func (RemoveEntranceResponseValidationError) Cause ¶
func (e RemoveEntranceResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveEntranceResponseValidationError) Error ¶
func (e RemoveEntranceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveEntranceResponseValidationError) ErrorName ¶
func (e RemoveEntranceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveEntranceResponseValidationError) Field ¶
func (e RemoveEntranceResponseValidationError) Field() string
Field function returns field value.
func (RemoveEntranceResponseValidationError) Key ¶
func (e RemoveEntranceResponseValidationError) Key() bool
Key function returns key value.
func (RemoveEntranceResponseValidationError) Reason ¶
func (e RemoveEntranceResponseValidationError) Reason() string
Reason function returns reason value.
type RemoveGateRequest ¶
type RemoveGateRequest struct { EstateId uint32 `protobuf:"varint,1,opt,name=estate_id,json=estateId,proto3" json:"estate_id,omitempty"` GateId uint32 `protobuf:"varint,2,opt,name=gate_id,json=gateId,proto3" json:"gate_id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `RemoveGate`.
func (*RemoveGateRequest) Descriptor
deprecated
func (*RemoveGateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGateRequest.ProtoReflect.Descriptor instead.
func (*RemoveGateRequest) GetEstateId ¶
func (x *RemoveGateRequest) GetEstateId() uint32
func (*RemoveGateRequest) GetGateId ¶
func (x *RemoveGateRequest) GetGateId() uint32
func (*RemoveGateRequest) ProtoMessage ¶
func (*RemoveGateRequest) ProtoMessage()
func (*RemoveGateRequest) ProtoReflect ¶ added in v0.8.4
func (x *RemoveGateRequest) ProtoReflect() protoreflect.Message
func (*RemoveGateRequest) Reset ¶
func (x *RemoveGateRequest) Reset()
func (*RemoveGateRequest) String ¶
func (x *RemoveGateRequest) String() string
func (*RemoveGateRequest) Validate ¶
func (m *RemoveGateRequest) Validate() error
Validate checks the field values on RemoveGateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveGateRequestValidationError ¶
type RemoveGateRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveGateRequestValidationError is the validation error returned by RemoveGateRequest.Validate if the designated constraints aren't met.
func (RemoveGateRequestValidationError) Cause ¶
func (e RemoveGateRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveGateRequestValidationError) Error ¶
func (e RemoveGateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveGateRequestValidationError) ErrorName ¶
func (e RemoveGateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveGateRequestValidationError) Field ¶
func (e RemoveGateRequestValidationError) Field() string
Field function returns field value.
func (RemoveGateRequestValidationError) Key ¶
func (e RemoveGateRequestValidationError) Key() bool
Key function returns key value.
func (RemoveGateRequestValidationError) Reason ¶
func (e RemoveGateRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveGateResponse ¶
type RemoveGateResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `RemoveGate`.
func (*RemoveGateResponse) Descriptor
deprecated
func (*RemoveGateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveGateResponse.ProtoReflect.Descriptor instead.
func (*RemoveGateResponse) ProtoMessage ¶
func (*RemoveGateResponse) ProtoMessage()
func (*RemoveGateResponse) ProtoReflect ¶ added in v0.8.4
func (x *RemoveGateResponse) ProtoReflect() protoreflect.Message
func (*RemoveGateResponse) Reset ¶
func (x *RemoveGateResponse) Reset()
func (*RemoveGateResponse) String ¶
func (x *RemoveGateResponse) String() string
func (*RemoveGateResponse) Validate ¶
func (m *RemoveGateResponse) Validate() error
Validate checks the field values on RemoveGateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RemoveGateResponseValidationError ¶
type RemoveGateResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveGateResponseValidationError is the validation error returned by RemoveGateResponse.Validate if the designated constraints aren't met.
func (RemoveGateResponseValidationError) Cause ¶
func (e RemoveGateResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveGateResponseValidationError) Error ¶
func (e RemoveGateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveGateResponseValidationError) ErrorName ¶
func (e RemoveGateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveGateResponseValidationError) Field ¶
func (e RemoveGateResponseValidationError) Field() string
Field function returns field value.
func (RemoveGateResponseValidationError) Key ¶
func (e RemoveGateResponseValidationError) Key() bool
Key function returns key value.
func (RemoveGateResponseValidationError) Reason ¶
func (e RemoveGateResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedMruVEstateServiceServer ¶
type UnimplementedMruVEstateServiceServer struct { }
UnimplementedMruVEstateServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMruVEstateServiceServer) AddEntrance ¶
func (*UnimplementedMruVEstateServiceServer) AddEntrance(context.Context, *AddEntranceRequest) (*AddEntranceResponse, error)
func (*UnimplementedMruVEstateServiceServer) AddGate ¶
func (*UnimplementedMruVEstateServiceServer) AddGate(context.Context, *AddGateRequest) (*AddGateResponse, error)
func (*UnimplementedMruVEstateServiceServer) CreateEstate ¶
func (*UnimplementedMruVEstateServiceServer) CreateEstate(context.Context, *CreateEstateRequest) (*CreateEstateResponse, error)
func (*UnimplementedMruVEstateServiceServer) DeleteEstate ¶
func (*UnimplementedMruVEstateServiceServer) DeleteEstate(context.Context, *DeleteEstateRequest) (*DeleteEstateResponse, error)
func (*UnimplementedMruVEstateServiceServer) GetEstate ¶
func (*UnimplementedMruVEstateServiceServer) GetEstate(context.Context, *GetEstateRequest) (*Estate, error)
func (*UnimplementedMruVEstateServiceServer) GetEstateEntrances ¶
func (*UnimplementedMruVEstateServiceServer) GetEstateEntrances(context.Context, *GetEstateEntrancesRequest) (*GetEstateEntrancesResponse, error)
func (*UnimplementedMruVEstateServiceServer) GetEstateGates ¶
func (*UnimplementedMruVEstateServiceServer) GetEstateGates(context.Context, *GetEstateGatesRequest) (*GetEstateGatesResponse, error)
func (*UnimplementedMruVEstateServiceServer) GetEstates ¶
func (*UnimplementedMruVEstateServiceServer) GetEstates(context.Context, *GetEstatesRequest) (*GetEstatesResponse, error)
func (*UnimplementedMruVEstateServiceServer) RemoveEntrance ¶
func (*UnimplementedMruVEstateServiceServer) RemoveEntrance(context.Context, *RemoveEntranceRequest) (*RemoveEntranceResponse, error)
func (*UnimplementedMruVEstateServiceServer) RemoveGate ¶
func (*UnimplementedMruVEstateServiceServer) RemoveGate(context.Context, *RemoveGateRequest) (*RemoveGateResponse, error)
func (*UnimplementedMruVEstateServiceServer) UpdateEstate ¶
func (*UnimplementedMruVEstateServiceServer) UpdateEstate(context.Context, *UpdateEstateRequest) (*UpdateEstateResponse, error)
type UpdateEstateRequest ¶
type UpdateEstateRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Request message for rpc `UpdateEstate`.
func (*UpdateEstateRequest) Descriptor
deprecated
func (*UpdateEstateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEstateRequest.ProtoReflect.Descriptor instead.
func (*UpdateEstateRequest) GetDescription ¶
func (x *UpdateEstateRequest) GetDescription() string
func (*UpdateEstateRequest) GetId ¶
func (x *UpdateEstateRequest) GetId() uint32
func (*UpdateEstateRequest) GetName ¶
func (x *UpdateEstateRequest) GetName() string
func (*UpdateEstateRequest) ProtoMessage ¶
func (*UpdateEstateRequest) ProtoMessage()
func (*UpdateEstateRequest) ProtoReflect ¶ added in v0.8.4
func (x *UpdateEstateRequest) ProtoReflect() protoreflect.Message
func (*UpdateEstateRequest) Reset ¶
func (x *UpdateEstateRequest) Reset()
func (*UpdateEstateRequest) String ¶
func (x *UpdateEstateRequest) String() string
func (*UpdateEstateRequest) Validate ¶
func (m *UpdateEstateRequest) Validate() error
Validate checks the field values on UpdateEstateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEstateRequestValidationError ¶
type UpdateEstateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateEstateRequestValidationError is the validation error returned by UpdateEstateRequest.Validate if the designated constraints aren't met.
func (UpdateEstateRequestValidationError) Cause ¶
func (e UpdateEstateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateEstateRequestValidationError) Error ¶
func (e UpdateEstateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEstateRequestValidationError) ErrorName ¶
func (e UpdateEstateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEstateRequestValidationError) Field ¶
func (e UpdateEstateRequestValidationError) Field() string
Field function returns field value.
func (UpdateEstateRequestValidationError) Key ¶
func (e UpdateEstateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateEstateRequestValidationError) Reason ¶
func (e UpdateEstateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateEstateResponse ¶
type UpdateEstateResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `UpdateEstate`.
func (*UpdateEstateResponse) Descriptor
deprecated
func (*UpdateEstateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEstateResponse.ProtoReflect.Descriptor instead.
func (*UpdateEstateResponse) ProtoMessage ¶
func (*UpdateEstateResponse) ProtoMessage()
func (*UpdateEstateResponse) ProtoReflect ¶ added in v0.8.4
func (x *UpdateEstateResponse) ProtoReflect() protoreflect.Message
func (*UpdateEstateResponse) Reset ¶
func (x *UpdateEstateResponse) Reset()
func (*UpdateEstateResponse) String ¶
func (x *UpdateEstateResponse) String() string
func (*UpdateEstateResponse) Validate ¶
func (m *UpdateEstateResponse) Validate() error
Validate checks the field values on UpdateEstateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEstateResponseValidationError ¶
type UpdateEstateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateEstateResponseValidationError is the validation error returned by UpdateEstateResponse.Validate if the designated constraints aren't met.
func (UpdateEstateResponseValidationError) Cause ¶
func (e UpdateEstateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateEstateResponseValidationError) Error ¶
func (e UpdateEstateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEstateResponseValidationError) ErrorName ¶
func (e UpdateEstateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEstateResponseValidationError) Field ¶
func (e UpdateEstateResponseValidationError) Field() string
Field function returns field value.
func (UpdateEstateResponseValidationError) Key ¶
func (e UpdateEstateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateEstateResponseValidationError) Reason ¶
func (e UpdateEstateResponseValidationError) Reason() string
Reason function returns reason value.