Documentation ¶
Overview ¶
Package entrances is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterMruVEntrancesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMruVEntrancesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVEntrancesServiceClient) error
- func RegisterMruVEntrancesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMruVEntrancesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVEntrancesServiceServer) error
- func RegisterMruVEntrancesServiceServer(s *grpc.Server, srv MruVEntrancesServiceServer)
- type CreateEntranceRequest
- func (*CreateEntranceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntranceRequest) GetIn() *spots.Spot
- func (x *CreateEntranceRequest) GetName() string
- func (x *CreateEntranceRequest) GetOut() *spots.Spot
- func (*CreateEntranceRequest) ProtoMessage()
- func (x *CreateEntranceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEntranceRequest) Reset()
- func (x *CreateEntranceRequest) String() string
- func (m *CreateEntranceRequest) Validate() error
- type CreateEntranceRequestValidationError
- func (e CreateEntranceRequestValidationError) Cause() error
- func (e CreateEntranceRequestValidationError) Error() string
- func (e CreateEntranceRequestValidationError) ErrorName() string
- func (e CreateEntranceRequestValidationError) Field() string
- func (e CreateEntranceRequestValidationError) Key() bool
- func (e CreateEntranceRequestValidationError) Reason() string
- type CreateEntranceResponse
- func (*CreateEntranceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntranceResponse) GetId() uint32
- func (*CreateEntranceResponse) ProtoMessage()
- func (x *CreateEntranceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEntranceResponse) Reset()
- func (x *CreateEntranceResponse) String() string
- func (m *CreateEntranceResponse) Validate() error
- type CreateEntranceResponseValidationError
- func (e CreateEntranceResponseValidationError) Cause() error
- func (e CreateEntranceResponseValidationError) Error() string
- func (e CreateEntranceResponseValidationError) ErrorName() string
- func (e CreateEntranceResponseValidationError) Field() string
- func (e CreateEntranceResponseValidationError) Key() bool
- func (e CreateEntranceResponseValidationError) Reason() string
- type DeleteEntranceRequest
- func (*DeleteEntranceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEntranceRequest) GetId() uint32
- func (*DeleteEntranceRequest) ProtoMessage()
- func (x *DeleteEntranceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEntranceRequest) Reset()
- func (x *DeleteEntranceRequest) String() string
- func (m *DeleteEntranceRequest) Validate() error
- type DeleteEntranceRequestValidationError
- func (e DeleteEntranceRequestValidationError) Cause() error
- func (e DeleteEntranceRequestValidationError) Error() string
- func (e DeleteEntranceRequestValidationError) ErrorName() string
- func (e DeleteEntranceRequestValidationError) Field() string
- func (e DeleteEntranceRequestValidationError) Key() bool
- func (e DeleteEntranceRequestValidationError) Reason() string
- type DeleteEntranceResponse
- func (*DeleteEntranceResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteEntranceResponse) ProtoMessage()
- func (x *DeleteEntranceResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteEntranceResponse) Reset()
- func (x *DeleteEntranceResponse) String() string
- func (m *DeleteEntranceResponse) Validate() error
- type DeleteEntranceResponseValidationError
- func (e DeleteEntranceResponseValidationError) Cause() error
- func (e DeleteEntranceResponseValidationError) Error() string
- func (e DeleteEntranceResponseValidationError) ErrorName() string
- func (e DeleteEntranceResponseValidationError) Field() string
- func (e DeleteEntranceResponseValidationError) Key() bool
- func (e DeleteEntranceResponseValidationError) Reason() string
- type EnterRequest
- func (*EnterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnterRequest) GetId() uint32
- func (*EnterRequest) ProtoMessage()
- func (x *EnterRequest) ProtoReflect() protoreflect.Message
- func (x *EnterRequest) Reset()
- func (x *EnterRequest) String() string
- func (m *EnterRequest) Validate() error
- type EnterRequestValidationError
- func (e EnterRequestValidationError) Cause() error
- func (e EnterRequestValidationError) Error() string
- func (e EnterRequestValidationError) ErrorName() string
- func (e EnterRequestValidationError) Field() string
- func (e EnterRequestValidationError) Key() bool
- func (e EnterRequestValidationError) Reason() string
- type EnterResponse
- type EnterResponseValidationError
- func (e EnterResponseValidationError) Cause() error
- func (e EnterResponseValidationError) Error() string
- func (e EnterResponseValidationError) ErrorName() string
- func (e EnterResponseValidationError) Field() string
- func (e EnterResponseValidationError) Key() bool
- func (e EnterResponseValidationError) Reason() string
- type Entrance
- func (*Entrance) Descriptor() ([]byte, []int)deprecated
- func (x *Entrance) GetIn() *spots.Spot
- func (x *Entrance) GetName() string
- func (x *Entrance) GetOut() *spots.Spot
- func (*Entrance) ProtoMessage()
- func (x *Entrance) ProtoReflect() protoreflect.Message
- func (x *Entrance) Reset()
- func (x *Entrance) String() string
- func (m *Entrance) Validate() error
- type EntranceValidationError
- type ExitRequest
- type ExitRequestValidationError
- func (e ExitRequestValidationError) Cause() error
- func (e ExitRequestValidationError) Error() string
- func (e ExitRequestValidationError) ErrorName() string
- func (e ExitRequestValidationError) Field() string
- func (e ExitRequestValidationError) Key() bool
- func (e ExitRequestValidationError) Reason() string
- type ExitResponse
- type ExitResponseValidationError
- func (e ExitResponseValidationError) Cause() error
- func (e ExitResponseValidationError) Error() string
- func (e ExitResponseValidationError) ErrorName() string
- func (e ExitResponseValidationError) Field() string
- func (e ExitResponseValidationError) Key() bool
- func (e ExitResponseValidationError) Reason() string
- type FetchAllEntrancesRequest
- func (*FetchAllEntrancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAllEntrancesRequest) GetChunkSize() uint32
- func (*FetchAllEntrancesRequest) ProtoMessage()
- func (x *FetchAllEntrancesRequest) ProtoReflect() protoreflect.Message
- func (x *FetchAllEntrancesRequest) Reset()
- func (x *FetchAllEntrancesRequest) String() string
- func (m *FetchAllEntrancesRequest) Validate() error
- type FetchAllEntrancesRequestValidationError
- func (e FetchAllEntrancesRequestValidationError) Cause() error
- func (e FetchAllEntrancesRequestValidationError) Error() string
- func (e FetchAllEntrancesRequestValidationError) ErrorName() string
- func (e FetchAllEntrancesRequestValidationError) Field() string
- func (e FetchAllEntrancesRequestValidationError) Key() bool
- func (e FetchAllEntrancesRequestValidationError) Reason() string
- type FetchAllEntrancesResponse
- func (*FetchAllEntrancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchAllEntrancesResponse) GetEntrances() map[uint32]*Entrance
- func (*FetchAllEntrancesResponse) ProtoMessage()
- func (x *FetchAllEntrancesResponse) ProtoReflect() protoreflect.Message
- func (x *FetchAllEntrancesResponse) Reset()
- func (x *FetchAllEntrancesResponse) String() string
- func (m *FetchAllEntrancesResponse) Validate() error
- type FetchAllEntrancesResponseValidationError
- func (e FetchAllEntrancesResponseValidationError) Cause() error
- func (e FetchAllEntrancesResponseValidationError) Error() string
- func (e FetchAllEntrancesResponseValidationError) ErrorName() string
- func (e FetchAllEntrancesResponseValidationError) Field() string
- func (e FetchAllEntrancesResponseValidationError) Key() bool
- func (e FetchAllEntrancesResponseValidationError) Reason() string
- type FindNearestEntranceRequest
- func (*FindNearestEntranceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindNearestEntranceRequest) GetMaxDistance() float32
- func (x *FindNearestEntranceRequest) GetX() float32
- func (x *FindNearestEntranceRequest) GetY() float32
- func (x *FindNearestEntranceRequest) GetZ() float32
- func (*FindNearestEntranceRequest) ProtoMessage()
- func (x *FindNearestEntranceRequest) ProtoReflect() protoreflect.Message
- func (x *FindNearestEntranceRequest) Reset()
- func (x *FindNearestEntranceRequest) String() string
- func (m *FindNearestEntranceRequest) Validate() error
- type FindNearestEntranceRequestValidationError
- func (e FindNearestEntranceRequestValidationError) Cause() error
- func (e FindNearestEntranceRequestValidationError) Error() string
- func (e FindNearestEntranceRequestValidationError) ErrorName() string
- func (e FindNearestEntranceRequestValidationError) Field() string
- func (e FindNearestEntranceRequestValidationError) Key() bool
- func (e FindNearestEntranceRequestValidationError) Reason() string
- type FindNearestEntranceResponse
- func (*FindNearestEntranceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindNearestEntranceResponse) GetDistance() float32
- func (x *FindNearestEntranceResponse) GetId() uint32
- func (x *FindNearestEntranceResponse) GetInside() bool
- func (*FindNearestEntranceResponse) ProtoMessage()
- func (x *FindNearestEntranceResponse) ProtoReflect() protoreflect.Message
- func (x *FindNearestEntranceResponse) Reset()
- func (x *FindNearestEntranceResponse) String() string
- func (m *FindNearestEntranceResponse) Validate() error
- type FindNearestEntranceResponseValidationError
- func (e FindNearestEntranceResponseValidationError) Cause() error
- func (e FindNearestEntranceResponseValidationError) Error() string
- func (e FindNearestEntranceResponseValidationError) ErrorName() string
- func (e FindNearestEntranceResponseValidationError) Field() string
- func (e FindNearestEntranceResponseValidationError) Key() bool
- func (e FindNearestEntranceResponseValidationError) Reason() string
- type GetEntranceRequest
- func (*GetEntranceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntranceRequest) GetId() uint32
- func (*GetEntranceRequest) ProtoMessage()
- func (x *GetEntranceRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntranceRequest) Reset()
- func (x *GetEntranceRequest) String() string
- func (m *GetEntranceRequest) Validate() error
- type GetEntranceRequestValidationError
- func (e GetEntranceRequestValidationError) Cause() error
- func (e GetEntranceRequestValidationError) Error() string
- func (e GetEntranceRequestValidationError) ErrorName() string
- func (e GetEntranceRequestValidationError) Field() string
- func (e GetEntranceRequestValidationError) Key() bool
- func (e GetEntranceRequestValidationError) Reason() string
- type GetEntranceResponse
- func (*GetEntranceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntranceResponse) GetInSpot() *spots.Spot
- func (x *GetEntranceResponse) GetName() string
- func (x *GetEntranceResponse) GetOutSpot() *spots.Spot
- func (*GetEntranceResponse) ProtoMessage()
- func (x *GetEntranceResponse) ProtoReflect() protoreflect.Message
- func (x *GetEntranceResponse) Reset()
- func (x *GetEntranceResponse) String() string
- func (m *GetEntranceResponse) Validate() error
- type GetEntranceResponseValidationError
- func (e GetEntranceResponseValidationError) Cause() error
- func (e GetEntranceResponseValidationError) Error() string
- func (e GetEntranceResponseValidationError) ErrorName() string
- func (e GetEntranceResponseValidationError) Field() string
- func (e GetEntranceResponseValidationError) Key() bool
- func (e GetEntranceResponseValidationError) Reason() string
- type LockRequest
- type LockRequestValidationError
- func (e LockRequestValidationError) Cause() error
- func (e LockRequestValidationError) Error() string
- func (e LockRequestValidationError) ErrorName() string
- func (e LockRequestValidationError) Field() string
- func (e LockRequestValidationError) Key() bool
- func (e LockRequestValidationError) Reason() string
- type LockResponse
- type LockResponseValidationError
- func (e LockResponseValidationError) Cause() error
- func (e LockResponseValidationError) Error() string
- func (e LockResponseValidationError) ErrorName() string
- func (e LockResponseValidationError) Field() string
- func (e LockResponseValidationError) Key() bool
- func (e LockResponseValidationError) Reason() string
- type MruVEntrancesServiceClient
- type MruVEntrancesServiceServer
- type MruVEntrancesService_FetchAllClient
- type MruVEntrancesService_FetchAllServer
- type UnimplementedMruVEntrancesServiceServer
- func (*UnimplementedMruVEntrancesServiceServer) CreateEntrance(context.Context, *CreateEntranceRequest) (*CreateEntranceResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) DeleteEntrance(context.Context, *DeleteEntranceRequest) (*DeleteEntranceResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) Enter(context.Context, *EnterRequest) (*EnterResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) Exit(context.Context, *ExitRequest) (*ExitResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) FetchAll(*FetchAllEntrancesRequest, MruVEntrancesService_FetchAllServer) error
- func (*UnimplementedMruVEntrancesServiceServer) FindNearestEntrance(context.Context, *FindNearestEntranceRequest) (*FindNearestEntranceResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) GetEntrance(context.Context, *GetEntranceRequest) (*GetEntranceResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) Lock(context.Context, *LockRequest) (*LockResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error)
- func (*UnimplementedMruVEntrancesServiceServer) UpdateEntrance(context.Context, *UpdateEntranceRequest) (*UpdateEntranceResponse, error)
- type UnlockRequest
- func (*UnlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockRequest) GetId() uint32
- func (*UnlockRequest) ProtoMessage()
- func (x *UnlockRequest) ProtoReflect() protoreflect.Message
- func (x *UnlockRequest) Reset()
- func (x *UnlockRequest) String() string
- func (m *UnlockRequest) Validate() error
- type UnlockRequestValidationError
- func (e UnlockRequestValidationError) Cause() error
- func (e UnlockRequestValidationError) Error() string
- func (e UnlockRequestValidationError) ErrorName() string
- func (e UnlockRequestValidationError) Field() string
- func (e UnlockRequestValidationError) Key() bool
- func (e UnlockRequestValidationError) Reason() string
- type UnlockResponse
- type UnlockResponseValidationError
- func (e UnlockResponseValidationError) Cause() error
- func (e UnlockResponseValidationError) Error() string
- func (e UnlockResponseValidationError) ErrorName() string
- func (e UnlockResponseValidationError) Field() string
- func (e UnlockResponseValidationError) Key() bool
- func (e UnlockResponseValidationError) Reason() string
- type UpdateEntranceRequest
- func (*UpdateEntranceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEntranceRequest) GetId() uint32
- func (x *UpdateEntranceRequest) GetInSpotId() uint32
- func (x *UpdateEntranceRequest) GetOutSpotId() uint32
- func (*UpdateEntranceRequest) ProtoMessage()
- func (x *UpdateEntranceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEntranceRequest) Reset()
- func (x *UpdateEntranceRequest) String() string
- func (m *UpdateEntranceRequest) Validate() error
- type UpdateEntranceRequestValidationError
- func (e UpdateEntranceRequestValidationError) Cause() error
- func (e UpdateEntranceRequestValidationError) Error() string
- func (e UpdateEntranceRequestValidationError) ErrorName() string
- func (e UpdateEntranceRequestValidationError) Field() string
- func (e UpdateEntranceRequestValidationError) Key() bool
- func (e UpdateEntranceRequestValidationError) Reason() string
- type UpdateEntranceResponse
- func (*UpdateEntranceResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateEntranceResponse) ProtoMessage()
- func (x *UpdateEntranceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEntranceResponse) Reset()
- func (x *UpdateEntranceResponse) String() string
- func (m *UpdateEntranceResponse) Validate() error
- type UpdateEntranceResponseValidationError
- func (e UpdateEntranceResponseValidationError) Cause() error
- func (e UpdateEntranceResponseValidationError) Error() string
- func (e UpdateEntranceResponseValidationError) ErrorName() string
- func (e UpdateEntranceResponseValidationError) Field() string
- func (e UpdateEntranceResponseValidationError) Key() bool
- func (e UpdateEntranceResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_entrances_entrances_proto protoreflect.FileDescriptor
Functions ¶
func RegisterMruVEntrancesServiceHandler ¶
func RegisterMruVEntrancesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterMruVEntrancesServiceHandler registers the http handlers for service MruVEntrancesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMruVEntrancesServiceHandlerClient ¶
func RegisterMruVEntrancesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MruVEntrancesServiceClient) error
RegisterMruVEntrancesServiceHandlerClient registers the http handlers for service MruVEntrancesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MruVEntrancesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MruVEntrancesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MruVEntrancesServiceClient" to call the correct interceptors.
func RegisterMruVEntrancesServiceHandlerFromEndpoint ¶
func RegisterMruVEntrancesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMruVEntrancesServiceHandlerFromEndpoint is same as RegisterMruVEntrancesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMruVEntrancesServiceHandlerServer ¶
func RegisterMruVEntrancesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MruVEntrancesServiceServer) error
RegisterMruVEntrancesServiceHandlerServer registers the http handlers for service MruVEntrancesService to "mux". UnaryRPC :call MruVEntrancesServiceServer 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 RegisterMruVEntrancesServiceHandlerFromEndpoint instead.
func RegisterMruVEntrancesServiceServer ¶
func RegisterMruVEntrancesServiceServer(s *grpc.Server, srv MruVEntrancesServiceServer)
Types ¶
type CreateEntranceRequest ¶
type CreateEntranceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Out *spots.Spot `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` In *spots.Spot `protobuf:"bytes,3,opt,name=in,proto3" json:"in,omitempty"` // contains filtered or unexported fields }
Request message for rpc `CreateEntrance`.
func (*CreateEntranceRequest) Descriptor
deprecated
func (*CreateEntranceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntranceRequest.ProtoReflect.Descriptor instead.
func (*CreateEntranceRequest) GetIn ¶
func (x *CreateEntranceRequest) GetIn() *spots.Spot
func (*CreateEntranceRequest) GetName ¶
func (x *CreateEntranceRequest) GetName() string
func (*CreateEntranceRequest) GetOut ¶
func (x *CreateEntranceRequest) GetOut() *spots.Spot
func (*CreateEntranceRequest) ProtoMessage ¶
func (*CreateEntranceRequest) ProtoMessage()
func (*CreateEntranceRequest) ProtoReflect ¶ added in v0.8.4
func (x *CreateEntranceRequest) ProtoReflect() protoreflect.Message
func (*CreateEntranceRequest) Reset ¶
func (x *CreateEntranceRequest) Reset()
func (*CreateEntranceRequest) String ¶
func (x *CreateEntranceRequest) String() string
func (*CreateEntranceRequest) Validate ¶
func (m *CreateEntranceRequest) Validate() error
Validate checks the field values on CreateEntranceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateEntranceRequestValidationError ¶
type CreateEntranceRequestValidationError struct {
// contains filtered or unexported fields
}
CreateEntranceRequestValidationError is the validation error returned by CreateEntranceRequest.Validate if the designated constraints aren't met.
func (CreateEntranceRequestValidationError) Cause ¶
func (e CreateEntranceRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateEntranceRequestValidationError) Error ¶
func (e CreateEntranceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEntranceRequestValidationError) ErrorName ¶
func (e CreateEntranceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEntranceRequestValidationError) Field ¶
func (e CreateEntranceRequestValidationError) Field() string
Field function returns field value.
func (CreateEntranceRequestValidationError) Key ¶
func (e CreateEntranceRequestValidationError) Key() bool
Key function returns key value.
func (CreateEntranceRequestValidationError) Reason ¶
func (e CreateEntranceRequestValidationError) Reason() string
Reason function returns reason value.
type CreateEntranceResponse ¶
type CreateEntranceResponse struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Response message for rpc `CreateEntrance`.
func (*CreateEntranceResponse) Descriptor
deprecated
func (*CreateEntranceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntranceResponse.ProtoReflect.Descriptor instead.
func (*CreateEntranceResponse) GetId ¶
func (x *CreateEntranceResponse) GetId() uint32
func (*CreateEntranceResponse) ProtoMessage ¶
func (*CreateEntranceResponse) ProtoMessage()
func (*CreateEntranceResponse) ProtoReflect ¶ added in v0.8.4
func (x *CreateEntranceResponse) ProtoReflect() protoreflect.Message
func (*CreateEntranceResponse) Reset ¶
func (x *CreateEntranceResponse) Reset()
func (*CreateEntranceResponse) String ¶
func (x *CreateEntranceResponse) String() string
func (*CreateEntranceResponse) Validate ¶
func (m *CreateEntranceResponse) Validate() error
Validate checks the field values on CreateEntranceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateEntranceResponseValidationError ¶
type CreateEntranceResponseValidationError struct {
// contains filtered or unexported fields
}
CreateEntranceResponseValidationError is the validation error returned by CreateEntranceResponse.Validate if the designated constraints aren't met.
func (CreateEntranceResponseValidationError) Cause ¶
func (e CreateEntranceResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateEntranceResponseValidationError) Error ¶
func (e CreateEntranceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEntranceResponseValidationError) ErrorName ¶
func (e CreateEntranceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEntranceResponseValidationError) Field ¶
func (e CreateEntranceResponseValidationError) Field() string
Field function returns field value.
func (CreateEntranceResponseValidationError) Key ¶
func (e CreateEntranceResponseValidationError) Key() bool
Key function returns key value.
func (CreateEntranceResponseValidationError) Reason ¶
func (e CreateEntranceResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteEntranceRequest ¶
type DeleteEntranceRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `DeleteEntrance`.
func (*DeleteEntranceRequest) Descriptor
deprecated
func (*DeleteEntranceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEntranceRequest.ProtoReflect.Descriptor instead.
func (*DeleteEntranceRequest) GetId ¶
func (x *DeleteEntranceRequest) GetId() uint32
func (*DeleteEntranceRequest) ProtoMessage ¶
func (*DeleteEntranceRequest) ProtoMessage()
func (*DeleteEntranceRequest) ProtoReflect ¶ added in v0.8.4
func (x *DeleteEntranceRequest) ProtoReflect() protoreflect.Message
func (*DeleteEntranceRequest) Reset ¶
func (x *DeleteEntranceRequest) Reset()
func (*DeleteEntranceRequest) String ¶
func (x *DeleteEntranceRequest) String() string
func (*DeleteEntranceRequest) Validate ¶
func (m *DeleteEntranceRequest) Validate() error
Validate checks the field values on DeleteEntranceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteEntranceRequestValidationError ¶
type DeleteEntranceRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteEntranceRequestValidationError is the validation error returned by DeleteEntranceRequest.Validate if the designated constraints aren't met.
func (DeleteEntranceRequestValidationError) Cause ¶
func (e DeleteEntranceRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteEntranceRequestValidationError) Error ¶
func (e DeleteEntranceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEntranceRequestValidationError) ErrorName ¶
func (e DeleteEntranceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEntranceRequestValidationError) Field ¶
func (e DeleteEntranceRequestValidationError) Field() string
Field function returns field value.
func (DeleteEntranceRequestValidationError) Key ¶
func (e DeleteEntranceRequestValidationError) Key() bool
Key function returns key value.
func (DeleteEntranceRequestValidationError) Reason ¶
func (e DeleteEntranceRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteEntranceResponse ¶
type DeleteEntranceResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `DeleteEntrance`.
func (*DeleteEntranceResponse) Descriptor
deprecated
func (*DeleteEntranceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEntranceResponse.ProtoReflect.Descriptor instead.
func (*DeleteEntranceResponse) ProtoMessage ¶
func (*DeleteEntranceResponse) ProtoMessage()
func (*DeleteEntranceResponse) ProtoReflect ¶ added in v0.8.4
func (x *DeleteEntranceResponse) ProtoReflect() protoreflect.Message
func (*DeleteEntranceResponse) Reset ¶
func (x *DeleteEntranceResponse) Reset()
func (*DeleteEntranceResponse) String ¶
func (x *DeleteEntranceResponse) String() string
func (*DeleteEntranceResponse) Validate ¶
func (m *DeleteEntranceResponse) Validate() error
Validate checks the field values on DeleteEntranceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteEntranceResponseValidationError ¶
type DeleteEntranceResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteEntranceResponseValidationError is the validation error returned by DeleteEntranceResponse.Validate if the designated constraints aren't met.
func (DeleteEntranceResponseValidationError) Cause ¶
func (e DeleteEntranceResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteEntranceResponseValidationError) Error ¶
func (e DeleteEntranceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEntranceResponseValidationError) ErrorName ¶
func (e DeleteEntranceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEntranceResponseValidationError) Field ¶
func (e DeleteEntranceResponseValidationError) Field() string
Field function returns field value.
func (DeleteEntranceResponseValidationError) Key ¶
func (e DeleteEntranceResponseValidationError) Key() bool
Key function returns key value.
func (DeleteEntranceResponseValidationError) Reason ¶
func (e DeleteEntranceResponseValidationError) Reason() string
Reason function returns reason value.
type EnterRequest ¶
type EnterRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `Enter`.
func (*EnterRequest) Descriptor
deprecated
func (*EnterRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnterRequest.ProtoReflect.Descriptor instead.
func (*EnterRequest) GetId ¶
func (x *EnterRequest) GetId() uint32
func (*EnterRequest) ProtoMessage ¶
func (*EnterRequest) ProtoMessage()
func (*EnterRequest) ProtoReflect ¶ added in v0.8.4
func (x *EnterRequest) ProtoReflect() protoreflect.Message
func (*EnterRequest) Reset ¶
func (x *EnterRequest) Reset()
func (*EnterRequest) String ¶
func (x *EnterRequest) String() string
func (*EnterRequest) Validate ¶
func (m *EnterRequest) Validate() error
Validate checks the field values on EnterRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EnterRequestValidationError ¶
type EnterRequestValidationError struct {
// contains filtered or unexported fields
}
EnterRequestValidationError is the validation error returned by EnterRequest.Validate if the designated constraints aren't met.
func (EnterRequestValidationError) Cause ¶
func (e EnterRequestValidationError) Cause() error
Cause function returns cause value.
func (EnterRequestValidationError) Error ¶
func (e EnterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EnterRequestValidationError) ErrorName ¶
func (e EnterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EnterRequestValidationError) Field ¶
func (e EnterRequestValidationError) Field() string
Field function returns field value.
func (EnterRequestValidationError) Key ¶
func (e EnterRequestValidationError) Key() bool
Key function returns key value.
func (EnterRequestValidationError) Reason ¶
func (e EnterRequestValidationError) Reason() string
Reason function returns reason value.
type EnterResponse ¶
type EnterResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `Enter`.
func (*EnterResponse) Descriptor
deprecated
func (*EnterResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnterResponse.ProtoReflect.Descriptor instead.
func (*EnterResponse) ProtoMessage ¶
func (*EnterResponse) ProtoMessage()
func (*EnterResponse) ProtoReflect ¶ added in v0.8.4
func (x *EnterResponse) ProtoReflect() protoreflect.Message
func (*EnterResponse) Reset ¶
func (x *EnterResponse) Reset()
func (*EnterResponse) String ¶
func (x *EnterResponse) String() string
func (*EnterResponse) Validate ¶
func (m *EnterResponse) Validate() error
Validate checks the field values on EnterResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EnterResponseValidationError ¶
type EnterResponseValidationError struct {
// contains filtered or unexported fields
}
EnterResponseValidationError is the validation error returned by EnterResponse.Validate if the designated constraints aren't met.
func (EnterResponseValidationError) Cause ¶
func (e EnterResponseValidationError) Cause() error
Cause function returns cause value.
func (EnterResponseValidationError) Error ¶
func (e EnterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EnterResponseValidationError) ErrorName ¶
func (e EnterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EnterResponseValidationError) Field ¶
func (e EnterResponseValidationError) Field() string
Field function returns field value.
func (EnterResponseValidationError) Key ¶
func (e EnterResponseValidationError) Key() bool
Key function returns key value.
func (EnterResponseValidationError) Reason ¶
func (e EnterResponseValidationError) Reason() string
Reason function returns reason value.
type Entrance ¶
type Entrance struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Out *spots.Spot `protobuf:"bytes,2,opt,name=out,proto3" json:"out,omitempty"` In *spots.Spot `protobuf:"bytes,3,opt,name=in,proto3" json:"in,omitempty"` // contains filtered or unexported fields }
func (*Entrance) Descriptor
deprecated
func (*Entrance) ProtoMessage ¶
func (*Entrance) ProtoMessage()
func (*Entrance) ProtoReflect ¶ added in v0.8.4
func (x *Entrance) ProtoReflect() protoreflect.Message
type EntranceValidationError ¶
type EntranceValidationError struct {
// contains filtered or unexported fields
}
EntranceValidationError is the validation error returned by Entrance.Validate if the designated constraints aren't met.
func (EntranceValidationError) Cause ¶
func (e EntranceValidationError) Cause() error
Cause function returns cause value.
func (EntranceValidationError) Error ¶
func (e EntranceValidationError) Error() string
Error satisfies the builtin error interface
func (EntranceValidationError) ErrorName ¶
func (e EntranceValidationError) ErrorName() string
ErrorName returns error name.
func (EntranceValidationError) Field ¶
func (e EntranceValidationError) Field() string
Field function returns field value.
func (EntranceValidationError) Key ¶
func (e EntranceValidationError) Key() bool
Key function returns key value.
func (EntranceValidationError) Reason ¶
func (e EntranceValidationError) Reason() string
Reason function returns reason value.
type ExitRequest ¶
type ExitRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `Exit`.
func (*ExitRequest) Descriptor
deprecated
func (*ExitRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExitRequest.ProtoReflect.Descriptor instead.
func (*ExitRequest) GetId ¶
func (x *ExitRequest) GetId() uint32
func (*ExitRequest) ProtoMessage ¶
func (*ExitRequest) ProtoMessage()
func (*ExitRequest) ProtoReflect ¶ added in v0.8.4
func (x *ExitRequest) ProtoReflect() protoreflect.Message
func (*ExitRequest) Reset ¶
func (x *ExitRequest) Reset()
func (*ExitRequest) String ¶
func (x *ExitRequest) String() string
func (*ExitRequest) Validate ¶
func (m *ExitRequest) Validate() error
Validate checks the field values on ExitRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExitRequestValidationError ¶
type ExitRequestValidationError struct {
// contains filtered or unexported fields
}
ExitRequestValidationError is the validation error returned by ExitRequest.Validate if the designated constraints aren't met.
func (ExitRequestValidationError) Cause ¶
func (e ExitRequestValidationError) Cause() error
Cause function returns cause value.
func (ExitRequestValidationError) Error ¶
func (e ExitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExitRequestValidationError) ErrorName ¶
func (e ExitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExitRequestValidationError) Field ¶
func (e ExitRequestValidationError) Field() string
Field function returns field value.
func (ExitRequestValidationError) Key ¶
func (e ExitRequestValidationError) Key() bool
Key function returns key value.
func (ExitRequestValidationError) Reason ¶
func (e ExitRequestValidationError) Reason() string
Reason function returns reason value.
type ExitResponse ¶
type ExitResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `Exit`.
func (*ExitResponse) Descriptor
deprecated
func (*ExitResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExitResponse.ProtoReflect.Descriptor instead.
func (*ExitResponse) ProtoMessage ¶
func (*ExitResponse) ProtoMessage()
func (*ExitResponse) ProtoReflect ¶ added in v0.8.4
func (x *ExitResponse) ProtoReflect() protoreflect.Message
func (*ExitResponse) Reset ¶
func (x *ExitResponse) Reset()
func (*ExitResponse) String ¶
func (x *ExitResponse) String() string
func (*ExitResponse) Validate ¶
func (m *ExitResponse) Validate() error
Validate checks the field values on ExitResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExitResponseValidationError ¶
type ExitResponseValidationError struct {
// contains filtered or unexported fields
}
ExitResponseValidationError is the validation error returned by ExitResponse.Validate if the designated constraints aren't met.
func (ExitResponseValidationError) Cause ¶
func (e ExitResponseValidationError) Cause() error
Cause function returns cause value.
func (ExitResponseValidationError) Error ¶
func (e ExitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ExitResponseValidationError) ErrorName ¶
func (e ExitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ExitResponseValidationError) Field ¶
func (e ExitResponseValidationError) Field() string
Field function returns field value.
func (ExitResponseValidationError) Key ¶
func (e ExitResponseValidationError) Key() bool
Key function returns key value.
func (ExitResponseValidationError) Reason ¶
func (e ExitResponseValidationError) Reason() string
Reason function returns reason value.
type FetchAllEntrancesRequest ¶
type FetchAllEntrancesRequest 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 `FetchAllEntrances`.
func (*FetchAllEntrancesRequest) Descriptor
deprecated
func (*FetchAllEntrancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchAllEntrancesRequest.ProtoReflect.Descriptor instead.
func (*FetchAllEntrancesRequest) GetChunkSize ¶
func (x *FetchAllEntrancesRequest) GetChunkSize() uint32
func (*FetchAllEntrancesRequest) ProtoMessage ¶
func (*FetchAllEntrancesRequest) ProtoMessage()
func (*FetchAllEntrancesRequest) ProtoReflect ¶ added in v0.8.4
func (x *FetchAllEntrancesRequest) ProtoReflect() protoreflect.Message
func (*FetchAllEntrancesRequest) Reset ¶
func (x *FetchAllEntrancesRequest) Reset()
func (*FetchAllEntrancesRequest) String ¶
func (x *FetchAllEntrancesRequest) String() string
func (*FetchAllEntrancesRequest) Validate ¶
func (m *FetchAllEntrancesRequest) Validate() error
Validate checks the field values on FetchAllEntrancesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FetchAllEntrancesRequestValidationError ¶
type FetchAllEntrancesRequestValidationError struct {
// contains filtered or unexported fields
}
FetchAllEntrancesRequestValidationError is the validation error returned by FetchAllEntrancesRequest.Validate if the designated constraints aren't met.
func (FetchAllEntrancesRequestValidationError) Cause ¶
func (e FetchAllEntrancesRequestValidationError) Cause() error
Cause function returns cause value.
func (FetchAllEntrancesRequestValidationError) Error ¶
func (e FetchAllEntrancesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FetchAllEntrancesRequestValidationError) ErrorName ¶
func (e FetchAllEntrancesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FetchAllEntrancesRequestValidationError) Field ¶
func (e FetchAllEntrancesRequestValidationError) Field() string
Field function returns field value.
func (FetchAllEntrancesRequestValidationError) Key ¶
func (e FetchAllEntrancesRequestValidationError) Key() bool
Key function returns key value.
func (FetchAllEntrancesRequestValidationError) Reason ¶
func (e FetchAllEntrancesRequestValidationError) Reason() string
Reason function returns reason value.
type FetchAllEntrancesResponse ¶
type FetchAllEntrancesResponse struct { Entrances map[uint32]*Entrance `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
Response message for rpc `FetchAllEntrances`.
func (*FetchAllEntrancesResponse) Descriptor
deprecated
func (*FetchAllEntrancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchAllEntrancesResponse.ProtoReflect.Descriptor instead.
func (*FetchAllEntrancesResponse) GetEntrances ¶
func (x *FetchAllEntrancesResponse) GetEntrances() map[uint32]*Entrance
func (*FetchAllEntrancesResponse) ProtoMessage ¶
func (*FetchAllEntrancesResponse) ProtoMessage()
func (*FetchAllEntrancesResponse) ProtoReflect ¶ added in v0.8.4
func (x *FetchAllEntrancesResponse) ProtoReflect() protoreflect.Message
func (*FetchAllEntrancesResponse) Reset ¶
func (x *FetchAllEntrancesResponse) Reset()
func (*FetchAllEntrancesResponse) String ¶
func (x *FetchAllEntrancesResponse) String() string
func (*FetchAllEntrancesResponse) Validate ¶
func (m *FetchAllEntrancesResponse) Validate() error
Validate checks the field values on FetchAllEntrancesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FetchAllEntrancesResponseValidationError ¶
type FetchAllEntrancesResponseValidationError struct {
// contains filtered or unexported fields
}
FetchAllEntrancesResponseValidationError is the validation error returned by FetchAllEntrancesResponse.Validate if the designated constraints aren't met.
func (FetchAllEntrancesResponseValidationError) Cause ¶
func (e FetchAllEntrancesResponseValidationError) Cause() error
Cause function returns cause value.
func (FetchAllEntrancesResponseValidationError) Error ¶
func (e FetchAllEntrancesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FetchAllEntrancesResponseValidationError) ErrorName ¶
func (e FetchAllEntrancesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FetchAllEntrancesResponseValidationError) Field ¶
func (e FetchAllEntrancesResponseValidationError) Field() string
Field function returns field value.
func (FetchAllEntrancesResponseValidationError) Key ¶
func (e FetchAllEntrancesResponseValidationError) Key() bool
Key function returns key value.
func (FetchAllEntrancesResponseValidationError) Reason ¶
func (e FetchAllEntrancesResponseValidationError) Reason() string
Reason function returns reason value.
type FindNearestEntranceRequest ¶
type FindNearestEntranceRequest struct { X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"` MaxDistance float32 `protobuf:"fixed32,4,opt,name=max_distance,json=maxDistance,proto3" json:"max_distance,omitempty"` // contains filtered or unexported fields }
Request message for rpc `FindNearestEntrance`.
func (*FindNearestEntranceRequest) Descriptor
deprecated
func (*FindNearestEntranceRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindNearestEntranceRequest.ProtoReflect.Descriptor instead.
func (*FindNearestEntranceRequest) GetMaxDistance ¶
func (x *FindNearestEntranceRequest) GetMaxDistance() float32
func (*FindNearestEntranceRequest) GetX ¶
func (x *FindNearestEntranceRequest) GetX() float32
func (*FindNearestEntranceRequest) GetY ¶
func (x *FindNearestEntranceRequest) GetY() float32
func (*FindNearestEntranceRequest) GetZ ¶
func (x *FindNearestEntranceRequest) GetZ() float32
func (*FindNearestEntranceRequest) ProtoMessage ¶
func (*FindNearestEntranceRequest) ProtoMessage()
func (*FindNearestEntranceRequest) ProtoReflect ¶ added in v0.8.4
func (x *FindNearestEntranceRequest) ProtoReflect() protoreflect.Message
func (*FindNearestEntranceRequest) Reset ¶
func (x *FindNearestEntranceRequest) Reset()
func (*FindNearestEntranceRequest) String ¶
func (x *FindNearestEntranceRequest) String() string
func (*FindNearestEntranceRequest) Validate ¶
func (m *FindNearestEntranceRequest) Validate() error
Validate checks the field values on FindNearestEntranceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FindNearestEntranceRequestValidationError ¶
type FindNearestEntranceRequestValidationError struct {
// contains filtered or unexported fields
}
FindNearestEntranceRequestValidationError is the validation error returned by FindNearestEntranceRequest.Validate if the designated constraints aren't met.
func (FindNearestEntranceRequestValidationError) Cause ¶
func (e FindNearestEntranceRequestValidationError) Cause() error
Cause function returns cause value.
func (FindNearestEntranceRequestValidationError) Error ¶
func (e FindNearestEntranceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (FindNearestEntranceRequestValidationError) ErrorName ¶
func (e FindNearestEntranceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (FindNearestEntranceRequestValidationError) Field ¶
func (e FindNearestEntranceRequestValidationError) Field() string
Field function returns field value.
func (FindNearestEntranceRequestValidationError) Key ¶
func (e FindNearestEntranceRequestValidationError) Key() bool
Key function returns key value.
func (FindNearestEntranceRequestValidationError) Reason ¶
func (e FindNearestEntranceRequestValidationError) Reason() string
Reason function returns reason value.
type FindNearestEntranceResponse ¶
type FindNearestEntranceResponse struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Distance float32 `protobuf:"fixed32,2,opt,name=distance,proto3" json:"distance,omitempty"` // Is found entrance position is in spot (out spot otherwise) Inside bool `protobuf:"varint,3,opt,name=inside,proto3" json:"inside,omitempty"` // contains filtered or unexported fields }
Response message for rpc `FindNearestEntrance`.
func (*FindNearestEntranceResponse) Descriptor
deprecated
func (*FindNearestEntranceResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindNearestEntranceResponse.ProtoReflect.Descriptor instead.
func (*FindNearestEntranceResponse) GetDistance ¶
func (x *FindNearestEntranceResponse) GetDistance() float32
func (*FindNearestEntranceResponse) GetId ¶
func (x *FindNearestEntranceResponse) GetId() uint32
func (*FindNearestEntranceResponse) GetInside ¶
func (x *FindNearestEntranceResponse) GetInside() bool
func (*FindNearestEntranceResponse) ProtoMessage ¶
func (*FindNearestEntranceResponse) ProtoMessage()
func (*FindNearestEntranceResponse) ProtoReflect ¶ added in v0.8.4
func (x *FindNearestEntranceResponse) ProtoReflect() protoreflect.Message
func (*FindNearestEntranceResponse) Reset ¶
func (x *FindNearestEntranceResponse) Reset()
func (*FindNearestEntranceResponse) String ¶
func (x *FindNearestEntranceResponse) String() string
func (*FindNearestEntranceResponse) Validate ¶
func (m *FindNearestEntranceResponse) Validate() error
Validate checks the field values on FindNearestEntranceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FindNearestEntranceResponseValidationError ¶
type FindNearestEntranceResponseValidationError struct {
// contains filtered or unexported fields
}
FindNearestEntranceResponseValidationError is the validation error returned by FindNearestEntranceResponse.Validate if the designated constraints aren't met.
func (FindNearestEntranceResponseValidationError) Cause ¶
func (e FindNearestEntranceResponseValidationError) Cause() error
Cause function returns cause value.
func (FindNearestEntranceResponseValidationError) Error ¶
func (e FindNearestEntranceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (FindNearestEntranceResponseValidationError) ErrorName ¶
func (e FindNearestEntranceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (FindNearestEntranceResponseValidationError) Field ¶
func (e FindNearestEntranceResponseValidationError) Field() string
Field function returns field value.
func (FindNearestEntranceResponseValidationError) Key ¶
func (e FindNearestEntranceResponseValidationError) Key() bool
Key function returns key value.
func (FindNearestEntranceResponseValidationError) Reason ¶
func (e FindNearestEntranceResponseValidationError) Reason() string
Reason function returns reason value.
type GetEntranceRequest ¶
type GetEntranceRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `GetEntrance`.
func (*GetEntranceRequest) Descriptor
deprecated
func (*GetEntranceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntranceRequest.ProtoReflect.Descriptor instead.
func (*GetEntranceRequest) GetId ¶
func (x *GetEntranceRequest) GetId() uint32
func (*GetEntranceRequest) ProtoMessage ¶
func (*GetEntranceRequest) ProtoMessage()
func (*GetEntranceRequest) ProtoReflect ¶ added in v0.8.4
func (x *GetEntranceRequest) ProtoReflect() protoreflect.Message
func (*GetEntranceRequest) Reset ¶
func (x *GetEntranceRequest) Reset()
func (*GetEntranceRequest) String ¶
func (x *GetEntranceRequest) String() string
func (*GetEntranceRequest) Validate ¶
func (m *GetEntranceRequest) Validate() error
Validate checks the field values on GetEntranceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEntranceRequestValidationError ¶
type GetEntranceRequestValidationError struct {
// contains filtered or unexported fields
}
GetEntranceRequestValidationError is the validation error returned by GetEntranceRequest.Validate if the designated constraints aren't met.
func (GetEntranceRequestValidationError) Cause ¶
func (e GetEntranceRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEntranceRequestValidationError) Error ¶
func (e GetEntranceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEntranceRequestValidationError) ErrorName ¶
func (e GetEntranceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEntranceRequestValidationError) Field ¶
func (e GetEntranceRequestValidationError) Field() string
Field function returns field value.
func (GetEntranceRequestValidationError) Key ¶
func (e GetEntranceRequestValidationError) Key() bool
Key function returns key value.
func (GetEntranceRequestValidationError) Reason ¶
func (e GetEntranceRequestValidationError) Reason() string
Reason function returns reason value.
type GetEntranceResponse ¶
type GetEntranceResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` InSpot *spots.Spot `protobuf:"bytes,2,opt,name=in_spot,json=inSpot,proto3" json:"in_spot,omitempty"` OutSpot *spots.Spot `protobuf:"bytes,3,opt,name=out_spot,json=outSpot,proto3" json:"out_spot,omitempty"` // contains filtered or unexported fields }
Response message for rpc `GetEntrance`.
func (*GetEntranceResponse) Descriptor
deprecated
func (*GetEntranceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEntranceResponse.ProtoReflect.Descriptor instead.
func (*GetEntranceResponse) GetInSpot ¶
func (x *GetEntranceResponse) GetInSpot() *spots.Spot
func (*GetEntranceResponse) GetName ¶
func (x *GetEntranceResponse) GetName() string
func (*GetEntranceResponse) GetOutSpot ¶
func (x *GetEntranceResponse) GetOutSpot() *spots.Spot
func (*GetEntranceResponse) ProtoMessage ¶
func (*GetEntranceResponse) ProtoMessage()
func (*GetEntranceResponse) ProtoReflect ¶ added in v0.8.4
func (x *GetEntranceResponse) ProtoReflect() protoreflect.Message
func (*GetEntranceResponse) Reset ¶
func (x *GetEntranceResponse) Reset()
func (*GetEntranceResponse) String ¶
func (x *GetEntranceResponse) String() string
func (*GetEntranceResponse) Validate ¶
func (m *GetEntranceResponse) Validate() error
Validate checks the field values on GetEntranceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEntranceResponseValidationError ¶
type GetEntranceResponseValidationError struct {
// contains filtered or unexported fields
}
GetEntranceResponseValidationError is the validation error returned by GetEntranceResponse.Validate if the designated constraints aren't met.
func (GetEntranceResponseValidationError) Cause ¶
func (e GetEntranceResponseValidationError) Cause() error
Cause function returns cause value.
func (GetEntranceResponseValidationError) Error ¶
func (e GetEntranceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetEntranceResponseValidationError) ErrorName ¶
func (e GetEntranceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetEntranceResponseValidationError) Field ¶
func (e GetEntranceResponseValidationError) Field() string
Field function returns field value.
func (GetEntranceResponseValidationError) Key ¶
func (e GetEntranceResponseValidationError) Key() bool
Key function returns key value.
func (GetEntranceResponseValidationError) Reason ¶
func (e GetEntranceResponseValidationError) Reason() string
Reason function returns reason value.
type LockRequest ¶
type LockRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `Lock`.
func (*LockRequest) Descriptor
deprecated
func (*LockRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockRequest.ProtoReflect.Descriptor instead.
func (*LockRequest) GetId ¶
func (x *LockRequest) GetId() uint32
func (*LockRequest) ProtoMessage ¶
func (*LockRequest) ProtoMessage()
func (*LockRequest) ProtoReflect ¶ added in v0.8.4
func (x *LockRequest) ProtoReflect() protoreflect.Message
func (*LockRequest) Reset ¶
func (x *LockRequest) Reset()
func (*LockRequest) String ¶
func (x *LockRequest) String() string
func (*LockRequest) Validate ¶
func (m *LockRequest) Validate() error
Validate checks the field values on LockRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LockRequestValidationError ¶
type LockRequestValidationError struct {
// contains filtered or unexported fields
}
LockRequestValidationError is the validation error returned by LockRequest.Validate if the designated constraints aren't met.
func (LockRequestValidationError) Cause ¶
func (e LockRequestValidationError) Cause() error
Cause function returns cause value.
func (LockRequestValidationError) Error ¶
func (e LockRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LockRequestValidationError) ErrorName ¶
func (e LockRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LockRequestValidationError) Field ¶
func (e LockRequestValidationError) Field() string
Field function returns field value.
func (LockRequestValidationError) Key ¶
func (e LockRequestValidationError) Key() bool
Key function returns key value.
func (LockRequestValidationError) Reason ¶
func (e LockRequestValidationError) Reason() string
Reason function returns reason value.
type LockResponse ¶
type LockResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `Lock`.
func (*LockResponse) Descriptor
deprecated
func (*LockResponse) Descriptor() ([]byte, []int)
Deprecated: Use LockResponse.ProtoReflect.Descriptor instead.
func (*LockResponse) ProtoMessage ¶
func (*LockResponse) ProtoMessage()
func (*LockResponse) ProtoReflect ¶ added in v0.8.4
func (x *LockResponse) ProtoReflect() protoreflect.Message
func (*LockResponse) Reset ¶
func (x *LockResponse) Reset()
func (*LockResponse) String ¶
func (x *LockResponse) String() string
func (*LockResponse) Validate ¶
func (m *LockResponse) Validate() error
Validate checks the field values on LockResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LockResponseValidationError ¶
type LockResponseValidationError struct {
// contains filtered or unexported fields
}
LockResponseValidationError is the validation error returned by LockResponse.Validate if the designated constraints aren't met.
func (LockResponseValidationError) Cause ¶
func (e LockResponseValidationError) Cause() error
Cause function returns cause value.
func (LockResponseValidationError) Error ¶
func (e LockResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LockResponseValidationError) ErrorName ¶
func (e LockResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LockResponseValidationError) Field ¶
func (e LockResponseValidationError) Field() string
Field function returns field value.
func (LockResponseValidationError) Key ¶
func (e LockResponseValidationError) Key() bool
Key function returns key value.
func (LockResponseValidationError) Reason ¶
func (e LockResponseValidationError) Reason() string
Reason function returns reason value.
type MruVEntrancesServiceClient ¶
type MruVEntrancesServiceClient interface { // Create an entrance to building or teleport to location. CreateEntrance(ctx context.Context, in *CreateEntranceRequest, opts ...grpc.CallOption) (*CreateEntranceResponse, error) // Get an entrance to building or a teleport to location. GetEntrance(ctx context.Context, in *GetEntranceRequest, opts ...grpc.CallOption) (*GetEntranceResponse, error) // Update an entrance to building or a teleport to location. UpdateEntrance(ctx context.Context, in *UpdateEntranceRequest, opts ...grpc.CallOption) (*UpdateEntranceResponse, error) // Delete an entrance to building or a teleport to location. DeleteEntrance(ctx context.Context, in *DeleteEntranceRequest, opts ...grpc.CallOption) (*DeleteEntranceResponse, error) // Lock entrance. Lock(ctx context.Context, in *LockRequest, opts ...grpc.CallOption) (*LockResponse, error) // Unload entrance. Unlock(ctx context.Context, in *UnlockRequest, opts ...grpc.CallOption) (*UnlockResponse, error) // Find gate that is closest to a specific position. FindNearestEntrance(ctx context.Context, in *FindNearestEntranceRequest, opts ...grpc.CallOption) (*FindNearestEntranceResponse, error) // Enter an entrance (player teleport from in spot position to out spot position). Enter(ctx context.Context, in *EnterRequest, opts ...grpc.CallOption) (*EnterResponse, error) // Exit from entrance (player teleport from out spot position to in spot position). Exit(ctx context.Context, in *ExitRequest, opts ...grpc.CallOption) (*ExitResponse, error) // FetchAll(ctx context.Context, in *FetchAllEntrancesRequest, opts ...grpc.CallOption) (MruVEntrancesService_FetchAllClient, error) }
MruVEntrancesServiceClient is the client API for MruVEntrancesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMruVEntrancesServiceClient ¶
func NewMruVEntrancesServiceClient(cc grpc.ClientConnInterface) MruVEntrancesServiceClient
type MruVEntrancesServiceServer ¶
type MruVEntrancesServiceServer interface { // Create an entrance to building or teleport to location. CreateEntrance(context.Context, *CreateEntranceRequest) (*CreateEntranceResponse, error) // Get an entrance to building or a teleport to location. GetEntrance(context.Context, *GetEntranceRequest) (*GetEntranceResponse, error) // Update an entrance to building or a teleport to location. UpdateEntrance(context.Context, *UpdateEntranceRequest) (*UpdateEntranceResponse, error) // Delete an entrance to building or a teleport to location. DeleteEntrance(context.Context, *DeleteEntranceRequest) (*DeleteEntranceResponse, error) // Lock entrance. Lock(context.Context, *LockRequest) (*LockResponse, error) // Unload entrance. Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error) // Find gate that is closest to a specific position. FindNearestEntrance(context.Context, *FindNearestEntranceRequest) (*FindNearestEntranceResponse, error) // Enter an entrance (player teleport from in spot position to out spot position). Enter(context.Context, *EnterRequest) (*EnterResponse, error) // Exit from entrance (player teleport from out spot position to in spot position). Exit(context.Context, *ExitRequest) (*ExitResponse, error) // FetchAll(*FetchAllEntrancesRequest, MruVEntrancesService_FetchAllServer) error }
MruVEntrancesServiceServer is the server API for MruVEntrancesService service.
type MruVEntrancesService_FetchAllClient ¶
type MruVEntrancesService_FetchAllClient interface { Recv() (*FetchAllEntrancesResponse, error) grpc.ClientStream }
type MruVEntrancesService_FetchAllServer ¶
type MruVEntrancesService_FetchAllServer interface { Send(*FetchAllEntrancesResponse) error grpc.ServerStream }
type UnimplementedMruVEntrancesServiceServer ¶
type UnimplementedMruVEntrancesServiceServer struct { }
UnimplementedMruVEntrancesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMruVEntrancesServiceServer) CreateEntrance ¶
func (*UnimplementedMruVEntrancesServiceServer) CreateEntrance(context.Context, *CreateEntranceRequest) (*CreateEntranceResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) DeleteEntrance ¶
func (*UnimplementedMruVEntrancesServiceServer) DeleteEntrance(context.Context, *DeleteEntranceRequest) (*DeleteEntranceResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) Enter ¶
func (*UnimplementedMruVEntrancesServiceServer) Enter(context.Context, *EnterRequest) (*EnterResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) Exit ¶
func (*UnimplementedMruVEntrancesServiceServer) Exit(context.Context, *ExitRequest) (*ExitResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) FindNearestEntrance ¶
func (*UnimplementedMruVEntrancesServiceServer) FindNearestEntrance(context.Context, *FindNearestEntranceRequest) (*FindNearestEntranceResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) GetEntrance ¶
func (*UnimplementedMruVEntrancesServiceServer) GetEntrance(context.Context, *GetEntranceRequest) (*GetEntranceResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) Lock ¶
func (*UnimplementedMruVEntrancesServiceServer) Lock(context.Context, *LockRequest) (*LockResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) Unlock ¶
func (*UnimplementedMruVEntrancesServiceServer) Unlock(context.Context, *UnlockRequest) (*UnlockResponse, error)
func (*UnimplementedMruVEntrancesServiceServer) UpdateEntrance ¶
func (*UnimplementedMruVEntrancesServiceServer) UpdateEntrance(context.Context, *UpdateEntranceRequest) (*UpdateEntranceResponse, error)
type UnlockRequest ¶
type UnlockRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `Unlock`.
func (*UnlockRequest) Descriptor
deprecated
func (*UnlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead.
func (*UnlockRequest) GetId ¶
func (x *UnlockRequest) GetId() uint32
func (*UnlockRequest) ProtoMessage ¶
func (*UnlockRequest) ProtoMessage()
func (*UnlockRequest) ProtoReflect ¶ added in v0.8.4
func (x *UnlockRequest) ProtoReflect() protoreflect.Message
func (*UnlockRequest) Reset ¶
func (x *UnlockRequest) Reset()
func (*UnlockRequest) String ¶
func (x *UnlockRequest) String() string
func (*UnlockRequest) Validate ¶
func (m *UnlockRequest) Validate() error
Validate checks the field values on UnlockRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UnlockRequestValidationError ¶
type UnlockRequestValidationError struct {
// contains filtered or unexported fields
}
UnlockRequestValidationError is the validation error returned by UnlockRequest.Validate if the designated constraints aren't met.
func (UnlockRequestValidationError) Cause ¶
func (e UnlockRequestValidationError) Cause() error
Cause function returns cause value.
func (UnlockRequestValidationError) Error ¶
func (e UnlockRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UnlockRequestValidationError) ErrorName ¶
func (e UnlockRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UnlockRequestValidationError) Field ¶
func (e UnlockRequestValidationError) Field() string
Field function returns field value.
func (UnlockRequestValidationError) Key ¶
func (e UnlockRequestValidationError) Key() bool
Key function returns key value.
func (UnlockRequestValidationError) Reason ¶
func (e UnlockRequestValidationError) Reason() string
Reason function returns reason value.
type UnlockResponse ¶
type UnlockResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `Unlock`.
func (*UnlockResponse) Descriptor
deprecated
func (*UnlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlockResponse.ProtoReflect.Descriptor instead.
func (*UnlockResponse) ProtoMessage ¶
func (*UnlockResponse) ProtoMessage()
func (*UnlockResponse) ProtoReflect ¶ added in v0.8.4
func (x *UnlockResponse) ProtoReflect() protoreflect.Message
func (*UnlockResponse) Reset ¶
func (x *UnlockResponse) Reset()
func (*UnlockResponse) String ¶
func (x *UnlockResponse) String() string
func (*UnlockResponse) Validate ¶
func (m *UnlockResponse) Validate() error
Validate checks the field values on UnlockResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UnlockResponseValidationError ¶
type UnlockResponseValidationError struct {
// contains filtered or unexported fields
}
UnlockResponseValidationError is the validation error returned by UnlockResponse.Validate if the designated constraints aren't met.
func (UnlockResponseValidationError) Cause ¶
func (e UnlockResponseValidationError) Cause() error
Cause function returns cause value.
func (UnlockResponseValidationError) Error ¶
func (e UnlockResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UnlockResponseValidationError) ErrorName ¶
func (e UnlockResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UnlockResponseValidationError) Field ¶
func (e UnlockResponseValidationError) Field() string
Field function returns field value.
func (UnlockResponseValidationError) Key ¶
func (e UnlockResponseValidationError) Key() bool
Key function returns key value.
func (UnlockResponseValidationError) Reason ¶
func (e UnlockResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateEntranceRequest ¶
type UpdateEntranceRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` InSpotId uint32 `protobuf:"varint,2,opt,name=in_spot_id,json=inSpotId,proto3" json:"in_spot_id,omitempty"` OutSpotId uint32 `protobuf:"varint,3,opt,name=out_spot_id,json=outSpotId,proto3" json:"out_spot_id,omitempty"` // contains filtered or unexported fields }
Request message for rpc `UpdateEntrance`.
func (*UpdateEntranceRequest) Descriptor
deprecated
func (*UpdateEntranceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEntranceRequest.ProtoReflect.Descriptor instead.
func (*UpdateEntranceRequest) GetId ¶
func (x *UpdateEntranceRequest) GetId() uint32
func (*UpdateEntranceRequest) GetInSpotId ¶
func (x *UpdateEntranceRequest) GetInSpotId() uint32
func (*UpdateEntranceRequest) GetOutSpotId ¶
func (x *UpdateEntranceRequest) GetOutSpotId() uint32
func (*UpdateEntranceRequest) ProtoMessage ¶
func (*UpdateEntranceRequest) ProtoMessage()
func (*UpdateEntranceRequest) ProtoReflect ¶ added in v0.8.4
func (x *UpdateEntranceRequest) ProtoReflect() protoreflect.Message
func (*UpdateEntranceRequest) Reset ¶
func (x *UpdateEntranceRequest) Reset()
func (*UpdateEntranceRequest) String ¶
func (x *UpdateEntranceRequest) String() string
func (*UpdateEntranceRequest) Validate ¶
func (m *UpdateEntranceRequest) Validate() error
Validate checks the field values on UpdateEntranceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEntranceRequestValidationError ¶
type UpdateEntranceRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateEntranceRequestValidationError is the validation error returned by UpdateEntranceRequest.Validate if the designated constraints aren't met.
func (UpdateEntranceRequestValidationError) Cause ¶
func (e UpdateEntranceRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateEntranceRequestValidationError) Error ¶
func (e UpdateEntranceRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEntranceRequestValidationError) ErrorName ¶
func (e UpdateEntranceRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEntranceRequestValidationError) Field ¶
func (e UpdateEntranceRequestValidationError) Field() string
Field function returns field value.
func (UpdateEntranceRequestValidationError) Key ¶
func (e UpdateEntranceRequestValidationError) Key() bool
Key function returns key value.
func (UpdateEntranceRequestValidationError) Reason ¶
func (e UpdateEntranceRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateEntranceResponse ¶
type UpdateEntranceResponse struct {
// contains filtered or unexported fields
}
Response message for rpc `UpdateEntrance`.
func (*UpdateEntranceResponse) Descriptor
deprecated
func (*UpdateEntranceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEntranceResponse.ProtoReflect.Descriptor instead.
func (*UpdateEntranceResponse) ProtoMessage ¶
func (*UpdateEntranceResponse) ProtoMessage()
func (*UpdateEntranceResponse) ProtoReflect ¶ added in v0.8.4
func (x *UpdateEntranceResponse) ProtoReflect() protoreflect.Message
func (*UpdateEntranceResponse) Reset ¶
func (x *UpdateEntranceResponse) Reset()
func (*UpdateEntranceResponse) String ¶
func (x *UpdateEntranceResponse) String() string
func (*UpdateEntranceResponse) Validate ¶
func (m *UpdateEntranceResponse) Validate() error
Validate checks the field values on UpdateEntranceResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEntranceResponseValidationError ¶
type UpdateEntranceResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateEntranceResponseValidationError is the validation error returned by UpdateEntranceResponse.Validate if the designated constraints aren't met.
func (UpdateEntranceResponseValidationError) Cause ¶
func (e UpdateEntranceResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateEntranceResponseValidationError) Error ¶
func (e UpdateEntranceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEntranceResponseValidationError) ErrorName ¶
func (e UpdateEntranceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEntranceResponseValidationError) Field ¶
func (e UpdateEntranceResponseValidationError) Field() string
Field function returns field value.
func (UpdateEntranceResponseValidationError) Key ¶
func (e UpdateEntranceResponseValidationError) Key() bool
Key function returns key value.
func (UpdateEntranceResponseValidationError) Reason ¶
func (e UpdateEntranceResponseValidationError) Reason() string
Reason function returns reason value.