Documentation ¶
Overview ¶
Package trackmyfishv1alpha1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterTrackMyFishServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTrackMyFishServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TrackMyFishServiceClient) error
- func RegisterTrackMyFishServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTrackMyFishServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TrackMyFishServiceServer) error
- func RegisterTrackMyFishServiceServer(s *grpc.Server, srv TrackMyFishServiceServer)
- type AddFishRequest
- func (*AddFishRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFishRequest) GetFish() *Fish
- func (*AddFishRequest) ProtoMessage()
- func (x *AddFishRequest) ProtoReflect() protoreflect.Message
- func (x *AddFishRequest) Reset()
- func (x *AddFishRequest) String() string
- func (m *AddFishRequest) Validate() error
- type AddFishRequestValidationError
- func (e AddFishRequestValidationError) Cause() error
- func (e AddFishRequestValidationError) Error() string
- func (e AddFishRequestValidationError) ErrorName() string
- func (e AddFishRequestValidationError) Field() string
- func (e AddFishRequestValidationError) Key() bool
- func (e AddFishRequestValidationError) Reason() string
- type AddFishResponse
- func (*AddFishResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddFishResponse) GetFish() *Fish
- func (*AddFishResponse) ProtoMessage()
- func (x *AddFishResponse) ProtoReflect() protoreflect.Message
- func (x *AddFishResponse) Reset()
- func (x *AddFishResponse) String() string
- func (m *AddFishResponse) Validate() error
- type AddFishResponseValidationError
- func (e AddFishResponseValidationError) Cause() error
- func (e AddFishResponseValidationError) Error() string
- func (e AddFishResponseValidationError) ErrorName() string
- func (e AddFishResponseValidationError) Field() string
- func (e AddFishResponseValidationError) Key() bool
- func (e AddFishResponseValidationError) Reason() string
- type AddTankRequest
- func (*AddTankRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTankRequest) GetTank() *Tank
- func (*AddTankRequest) ProtoMessage()
- func (x *AddTankRequest) ProtoReflect() protoreflect.Message
- func (x *AddTankRequest) Reset()
- func (x *AddTankRequest) String() string
- func (m *AddTankRequest) Validate() error
- type AddTankRequestValidationError
- func (e AddTankRequestValidationError) Cause() error
- func (e AddTankRequestValidationError) Error() string
- func (e AddTankRequestValidationError) ErrorName() string
- func (e AddTankRequestValidationError) Field() string
- func (e AddTankRequestValidationError) Key() bool
- func (e AddTankRequestValidationError) Reason() string
- type AddTankResponse
- func (*AddTankResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddTankResponse) GetTank() *Tank
- func (*AddTankResponse) ProtoMessage()
- func (x *AddTankResponse) ProtoReflect() protoreflect.Message
- func (x *AddTankResponse) Reset()
- func (x *AddTankResponse) String() string
- func (m *AddTankResponse) Validate() error
- type AddTankResponseValidationError
- func (e AddTankResponseValidationError) Cause() error
- func (e AddTankResponseValidationError) Error() string
- func (e AddTankResponseValidationError) ErrorName() string
- func (e AddTankResponseValidationError) Field() string
- func (e AddTankResponseValidationError) Key() bool
- func (e AddTankResponseValidationError) Reason() string
- type AddTankStatisticRequest
- func (*AddTankStatisticRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddTankStatisticRequest) GetTankStatistic() *TankStatistic
- func (*AddTankStatisticRequest) ProtoMessage()
- func (x *AddTankStatisticRequest) ProtoReflect() protoreflect.Message
- func (x *AddTankStatisticRequest) Reset()
- func (x *AddTankStatisticRequest) String() string
- func (m *AddTankStatisticRequest) Validate() error
- type AddTankStatisticRequestValidationError
- func (e AddTankStatisticRequestValidationError) Cause() error
- func (e AddTankStatisticRequestValidationError) Error() string
- func (e AddTankStatisticRequestValidationError) ErrorName() string
- func (e AddTankStatisticRequestValidationError) Field() string
- func (e AddTankStatisticRequestValidationError) Key() bool
- func (e AddTankStatisticRequestValidationError) Reason() string
- type AddTankStatisticResponse
- func (*AddTankStatisticResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddTankStatisticResponse) GetTankStatistic() *TankStatistic
- func (*AddTankStatisticResponse) ProtoMessage()
- func (x *AddTankStatisticResponse) ProtoReflect() protoreflect.Message
- func (x *AddTankStatisticResponse) Reset()
- func (x *AddTankStatisticResponse) String() string
- func (m *AddTankStatisticResponse) Validate() error
- type AddTankStatisticResponseValidationError
- func (e AddTankStatisticResponseValidationError) Cause() error
- func (e AddTankStatisticResponseValidationError) Error() string
- func (e AddTankStatisticResponseValidationError) ErrorName() string
- func (e AddTankStatisticResponseValidationError) Field() string
- func (e AddTankStatisticResponseValidationError) Key() bool
- func (e AddTankStatisticResponseValidationError) Reason() string
- type DeleteFishRequest
- func (*DeleteFishRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFishRequest) GetId() int32
- func (*DeleteFishRequest) ProtoMessage()
- func (x *DeleteFishRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFishRequest) Reset()
- func (x *DeleteFishRequest) String() string
- func (m *DeleteFishRequest) Validate() error
- type DeleteFishRequestValidationError
- func (e DeleteFishRequestValidationError) Cause() error
- func (e DeleteFishRequestValidationError) Error() string
- func (e DeleteFishRequestValidationError) ErrorName() string
- func (e DeleteFishRequestValidationError) Field() string
- func (e DeleteFishRequestValidationError) Key() bool
- func (e DeleteFishRequestValidationError) Reason() string
- type DeleteFishResponse
- func (*DeleteFishResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFishResponse) GetFish() *Fish
- func (*DeleteFishResponse) ProtoMessage()
- func (x *DeleteFishResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteFishResponse) Reset()
- func (x *DeleteFishResponse) String() string
- func (m *DeleteFishResponse) Validate() error
- type DeleteFishResponseValidationError
- func (e DeleteFishResponseValidationError) Cause() error
- func (e DeleteFishResponseValidationError) Error() string
- func (e DeleteFishResponseValidationError) ErrorName() string
- func (e DeleteFishResponseValidationError) Field() string
- func (e DeleteFishResponseValidationError) Key() bool
- func (e DeleteFishResponseValidationError) Reason() string
- type DeleteTankRequest
- func (*DeleteTankRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTankRequest) GetId() int32
- func (*DeleteTankRequest) ProtoMessage()
- func (x *DeleteTankRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTankRequest) Reset()
- func (x *DeleteTankRequest) String() string
- func (m *DeleteTankRequest) Validate() error
- type DeleteTankRequestValidationError
- func (e DeleteTankRequestValidationError) Cause() error
- func (e DeleteTankRequestValidationError) Error() string
- func (e DeleteTankRequestValidationError) ErrorName() string
- func (e DeleteTankRequestValidationError) Field() string
- func (e DeleteTankRequestValidationError) Key() bool
- func (e DeleteTankRequestValidationError) Reason() string
- type DeleteTankResponse
- func (*DeleteTankResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTankResponse) GetTank() *Tank
- func (*DeleteTankResponse) ProtoMessage()
- func (x *DeleteTankResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTankResponse) Reset()
- func (x *DeleteTankResponse) String() string
- func (m *DeleteTankResponse) Validate() error
- type DeleteTankResponseValidationError
- func (e DeleteTankResponseValidationError) Cause() error
- func (e DeleteTankResponseValidationError) Error() string
- func (e DeleteTankResponseValidationError) ErrorName() string
- func (e DeleteTankResponseValidationError) Field() string
- func (e DeleteTankResponseValidationError) Key() bool
- func (e DeleteTankResponseValidationError) Reason() string
- type DeleteTankStatisticRequest
- func (*DeleteTankStatisticRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTankStatisticRequest) GetId() int32
- func (*DeleteTankStatisticRequest) ProtoMessage()
- func (x *DeleteTankStatisticRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTankStatisticRequest) Reset()
- func (x *DeleteTankStatisticRequest) String() string
- func (m *DeleteTankStatisticRequest) Validate() error
- type DeleteTankStatisticRequestValidationError
- func (e DeleteTankStatisticRequestValidationError) Cause() error
- func (e DeleteTankStatisticRequestValidationError) Error() string
- func (e DeleteTankStatisticRequestValidationError) ErrorName() string
- func (e DeleteTankStatisticRequestValidationError) Field() string
- func (e DeleteTankStatisticRequestValidationError) Key() bool
- func (e DeleteTankStatisticRequestValidationError) Reason() string
- type DeleteTankStatisticResponse
- func (*DeleteTankStatisticResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTankStatisticResponse) GetTankStatistic() *TankStatistic
- func (*DeleteTankStatisticResponse) ProtoMessage()
- func (x *DeleteTankStatisticResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTankStatisticResponse) Reset()
- func (x *DeleteTankStatisticResponse) String() string
- func (m *DeleteTankStatisticResponse) Validate() error
- type DeleteTankStatisticResponseValidationError
- func (e DeleteTankStatisticResponseValidationError) Cause() error
- func (e DeleteTankStatisticResponseValidationError) Error() string
- func (e DeleteTankStatisticResponseValidationError) ErrorName() string
- func (e DeleteTankStatisticResponseValidationError) Field() string
- func (e DeleteTankStatisticResponseValidationError) Key() bool
- func (e DeleteTankStatisticResponseValidationError) Reason() string
- type Fish
- func (*Fish) Descriptor() ([]byte, []int)deprecated
- func (x *Fish) GetColor() string
- func (x *Fish) GetCount() int32
- func (x *Fish) GetGender() Fish_Gender
- func (x *Fish) GetId() int32
- func (x *Fish) GetPurchaseDate() string
- func (x *Fish) GetSubtype() string
- func (x *Fish) GetType() string
- func (*Fish) ProtoMessage()
- func (x *Fish) ProtoReflect() protoreflect.Message
- func (x *Fish) Reset()
- func (x *Fish) String() string
- func (m *Fish) Validate() error
- type FishValidationError
- type Fish_Gender
- func (Fish_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x Fish_Gender) Enum() *Fish_Gender
- func (Fish_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x Fish_Gender) Number() protoreflect.EnumNumber
- func (x Fish_Gender) String() string
- func (Fish_Gender) Type() protoreflect.EnumType
- type HeartbeatRequest
- type HeartbeatRequestValidationError
- func (e HeartbeatRequestValidationError) Cause() error
- func (e HeartbeatRequestValidationError) Error() string
- func (e HeartbeatRequestValidationError) ErrorName() string
- func (e HeartbeatRequestValidationError) Field() string
- func (e HeartbeatRequestValidationError) Key() bool
- func (e HeartbeatRequestValidationError) Reason() string
- type HeartbeatResponse
- type HeartbeatResponseValidationError
- func (e HeartbeatResponseValidationError) Cause() error
- func (e HeartbeatResponseValidationError) Error() string
- func (e HeartbeatResponseValidationError) ErrorName() string
- func (e HeartbeatResponseValidationError) Field() string
- func (e HeartbeatResponseValidationError) Key() bool
- func (e HeartbeatResponseValidationError) Reason() string
- type HeartbeatStatus
- func (*HeartbeatStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatStatus) GetStatus() HeartbeatStatus_Status
- func (*HeartbeatStatus) ProtoMessage()
- func (x *HeartbeatStatus) ProtoReflect() protoreflect.Message
- func (x *HeartbeatStatus) Reset()
- func (x *HeartbeatStatus) String() string
- func (m *HeartbeatStatus) Validate() error
- type HeartbeatStatusValidationError
- func (e HeartbeatStatusValidationError) Cause() error
- func (e HeartbeatStatusValidationError) Error() string
- func (e HeartbeatStatusValidationError) ErrorName() string
- func (e HeartbeatStatusValidationError) Field() string
- func (e HeartbeatStatusValidationError) Key() bool
- func (e HeartbeatStatusValidationError) Reason() string
- type HeartbeatStatus_Status
- func (HeartbeatStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x HeartbeatStatus_Status) Enum() *HeartbeatStatus_Status
- func (HeartbeatStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x HeartbeatStatus_Status) Number() protoreflect.EnumNumber
- func (x HeartbeatStatus_Status) String() string
- func (HeartbeatStatus_Status) Type() protoreflect.EnumType
- type ListFishRequest
- type ListFishRequestValidationError
- func (e ListFishRequestValidationError) Cause() error
- func (e ListFishRequestValidationError) Error() string
- func (e ListFishRequestValidationError) ErrorName() string
- func (e ListFishRequestValidationError) Field() string
- func (e ListFishRequestValidationError) Key() bool
- func (e ListFishRequestValidationError) Reason() string
- type ListFishResponse
- func (*ListFishResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFishResponse) GetFish() []*Fish
- func (*ListFishResponse) ProtoMessage()
- func (x *ListFishResponse) ProtoReflect() protoreflect.Message
- func (x *ListFishResponse) Reset()
- func (x *ListFishResponse) String() string
- func (m *ListFishResponse) Validate() error
- type ListFishResponseValidationError
- func (e ListFishResponseValidationError) Cause() error
- func (e ListFishResponseValidationError) Error() string
- func (e ListFishResponseValidationError) ErrorName() string
- func (e ListFishResponseValidationError) Field() string
- func (e ListFishResponseValidationError) Key() bool
- func (e ListFishResponseValidationError) Reason() string
- type ListTankStatisticsRequest
- func (*ListTankStatisticsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListTankStatisticsRequest) ProtoMessage()
- func (x *ListTankStatisticsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTankStatisticsRequest) Reset()
- func (x *ListTankStatisticsRequest) String() string
- func (m *ListTankStatisticsRequest) Validate() error
- type ListTankStatisticsRequestValidationError
- func (e ListTankStatisticsRequestValidationError) Cause() error
- func (e ListTankStatisticsRequestValidationError) Error() string
- func (e ListTankStatisticsRequestValidationError) ErrorName() string
- func (e ListTankStatisticsRequestValidationError) Field() string
- func (e ListTankStatisticsRequestValidationError) Key() bool
- func (e ListTankStatisticsRequestValidationError) Reason() string
- type ListTankStatisticsResponse
- func (*ListTankStatisticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTankStatisticsResponse) GetTankStatistics() []*TankStatistic
- func (*ListTankStatisticsResponse) ProtoMessage()
- func (x *ListTankStatisticsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTankStatisticsResponse) Reset()
- func (x *ListTankStatisticsResponse) String() string
- func (m *ListTankStatisticsResponse) Validate() error
- type ListTankStatisticsResponseValidationError
- func (e ListTankStatisticsResponseValidationError) Cause() error
- func (e ListTankStatisticsResponseValidationError) Error() string
- func (e ListTankStatisticsResponseValidationError) ErrorName() string
- func (e ListTankStatisticsResponseValidationError) Field() string
- func (e ListTankStatisticsResponseValidationError) Key() bool
- func (e ListTankStatisticsResponseValidationError) Reason() string
- type ListTanksRequest
- type ListTanksRequestValidationError
- func (e ListTanksRequestValidationError) Cause() error
- func (e ListTanksRequestValidationError) Error() string
- func (e ListTanksRequestValidationError) ErrorName() string
- func (e ListTanksRequestValidationError) Field() string
- func (e ListTanksRequestValidationError) Key() bool
- func (e ListTanksRequestValidationError) Reason() string
- type ListTanksResponse
- func (*ListTanksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTanksResponse) GetTanks() []*Tank
- func (*ListTanksResponse) ProtoMessage()
- func (x *ListTanksResponse) ProtoReflect() protoreflect.Message
- func (x *ListTanksResponse) Reset()
- func (x *ListTanksResponse) String() string
- func (m *ListTanksResponse) Validate() error
- type ListTanksResponseValidationError
- func (e ListTanksResponseValidationError) Cause() error
- func (e ListTanksResponseValidationError) Error() string
- func (e ListTanksResponseValidationError) ErrorName() string
- func (e ListTanksResponseValidationError) Field() string
- func (e ListTanksResponseValidationError) Key() bool
- func (e ListTanksResponseValidationError) Reason() string
- type Tank
- func (*Tank) Descriptor() ([]byte, []int)deprecated
- func (x *Tank) GetCapacity() float32
- func (x *Tank) GetCapacityMeasurement() Tank_CapacityMeasurement
- func (x *Tank) GetDescription() string
- func (x *Tank) GetId() int32
- func (x *Tank) GetLocation() string
- func (x *Tank) GetMake() string
- func (x *Tank) GetModel() string
- func (x *Tank) GetName() string
- func (m *Tank) GetOptionalCapacity() isTank_OptionalCapacity
- func (*Tank) ProtoMessage()
- func (x *Tank) ProtoReflect() protoreflect.Message
- func (x *Tank) Reset()
- func (x *Tank) String() string
- func (m *Tank) Validate() error
- type TankStatistic
- func (*TankStatistic) Descriptor() ([]byte, []int)deprecated
- func (x *TankStatistic) GetAmmonia() float32
- func (x *TankStatistic) GetGh() float32
- func (x *TankStatistic) GetId() int32
- func (x *TankStatistic) GetKh() float32
- func (x *TankStatistic) GetNitrate() float32
- func (x *TankStatistic) GetNitrite() float32
- func (m *TankStatistic) GetOptionalAmmonia() isTankStatistic_OptionalAmmonia
- func (m *TankStatistic) GetOptionalGh() isTankStatistic_OptionalGh
- func (m *TankStatistic) GetOptionalKh() isTankStatistic_OptionalKh
- func (m *TankStatistic) GetOptionalNitrate() isTankStatistic_OptionalNitrate
- func (m *TankStatistic) GetOptionalNitrite() isTankStatistic_OptionalNitrite
- func (m *TankStatistic) GetOptionalPh() isTankStatistic_OptionalPh
- func (m *TankStatistic) GetOptionalPhosphate() isTankStatistic_OptionalPhosphate
- func (x *TankStatistic) GetPh() float32
- func (x *TankStatistic) GetPhosphate() float32
- func (x *TankStatistic) GetTestDate() string
- func (*TankStatistic) ProtoMessage()
- func (x *TankStatistic) ProtoReflect() protoreflect.Message
- func (x *TankStatistic) Reset()
- func (x *TankStatistic) String() string
- func (m *TankStatistic) Validate() error
- type TankStatisticValidationError
- func (e TankStatisticValidationError) Cause() error
- func (e TankStatisticValidationError) Error() string
- func (e TankStatisticValidationError) ErrorName() string
- func (e TankStatisticValidationError) Field() string
- func (e TankStatisticValidationError) Key() bool
- func (e TankStatisticValidationError) Reason() string
- type TankStatistic_Ammonia
- type TankStatistic_Gh
- type TankStatistic_Kh
- type TankStatistic_Nitrate
- type TankStatistic_Nitrite
- type TankStatistic_Ph
- type TankStatistic_Phosphate
- type TankValidationError
- type Tank_Capacity
- type Tank_CapacityMeasurement
- func (Tank_CapacityMeasurement) Descriptor() protoreflect.EnumDescriptor
- func (x Tank_CapacityMeasurement) Enum() *Tank_CapacityMeasurement
- func (Tank_CapacityMeasurement) EnumDescriptor() ([]byte, []int)deprecated
- func (x Tank_CapacityMeasurement) Number() protoreflect.EnumNumber
- func (x Tank_CapacityMeasurement) String() string
- func (Tank_CapacityMeasurement) Type() protoreflect.EnumType
- type TrackMyFishServiceClient
- type TrackMyFishServiceServer
- type UnimplementedTrackMyFishServiceServer
- func (UnimplementedTrackMyFishServiceServer) AddFish(context.Context, *AddFishRequest) (*AddFishResponse, error)
- func (UnimplementedTrackMyFishServiceServer) AddTank(context.Context, *AddTankRequest) (*AddTankResponse, error)
- func (UnimplementedTrackMyFishServiceServer) AddTankStatistic(context.Context, *AddTankStatisticRequest) (*AddTankStatisticResponse, error)
- func (UnimplementedTrackMyFishServiceServer) DeleteFish(context.Context, *DeleteFishRequest) (*DeleteFishResponse, error)
- func (UnimplementedTrackMyFishServiceServer) DeleteTank(context.Context, *DeleteTankRequest) (*DeleteTankResponse, error)
- func (UnimplementedTrackMyFishServiceServer) DeleteTankStatistic(context.Context, *DeleteTankStatisticRequest) (*DeleteTankStatisticResponse, error)
- func (UnimplementedTrackMyFishServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
- func (UnimplementedTrackMyFishServiceServer) ListFish(context.Context, *ListFishRequest) (*ListFishResponse, error)
- func (UnimplementedTrackMyFishServiceServer) ListTankStatistics(context.Context, *ListTankStatisticsRequest) (*ListTankStatisticsResponse, error)
- func (UnimplementedTrackMyFishServiceServer) ListTanks(context.Context, *ListTanksRequest) (*ListTanksResponse, error)
- type UnsafeTrackMyFishServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( HeartbeatStatus_Status_name = map[int32]string{ 0: "UNSPECIFIED", 1: "OPERATIONAL", 2: "DEGRADED", 3: "DOWN", } HeartbeatStatus_Status_value = map[string]int32{ "UNSPECIFIED": 0, "OPERATIONAL": 1, "DEGRADED": 2, "DOWN": 3, } )
Enum value maps for HeartbeatStatus_Status.
var ( Tank_CapacityMeasurement_name = map[int32]string{ 0: "UNSPECIFIED", 1: "LITRES", 2: "GALLONS", } Tank_CapacityMeasurement_value = map[string]int32{ "UNSPECIFIED": 0, "LITRES": 1, "GALLONS": 2, } )
Enum value maps for Tank_CapacityMeasurement.
var ( Fish_Gender_name = map[int32]string{ 0: "UNSPECIFIED", 1: "MALE", 2: "FEMALE", } Fish_Gender_value = map[string]int32{ "UNSPECIFIED": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for Fish_Gender.
var File_trackmyfish_v1alpha1_trackmyfish_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTrackMyFishServiceHandler ¶
func RegisterTrackMyFishServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTrackMyFishServiceHandler registers the http handlers for service TrackMyFishService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTrackMyFishServiceHandlerClient ¶
func RegisterTrackMyFishServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TrackMyFishServiceClient) error
RegisterTrackMyFishServiceHandlerClient registers the http handlers for service TrackMyFishService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TrackMyFishServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TrackMyFishServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TrackMyFishServiceClient" to call the correct interceptors.
func RegisterTrackMyFishServiceHandlerFromEndpoint ¶
func RegisterTrackMyFishServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTrackMyFishServiceHandlerFromEndpoint is same as RegisterTrackMyFishServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTrackMyFishServiceHandlerServer ¶
func RegisterTrackMyFishServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TrackMyFishServiceServer) error
RegisterTrackMyFishServiceHandlerServer registers the http handlers for service TrackMyFishService to "mux". UnaryRPC :call TrackMyFishServiceServer 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 RegisterTrackMyFishServiceHandlerFromEndpoint instead.
func RegisterTrackMyFishServiceServer ¶
func RegisterTrackMyFishServiceServer(s *grpc.Server, srv TrackMyFishServiceServer)
Types ¶
type AddFishRequest ¶
type AddFishRequest struct { // The fish to add Fish *Fish `protobuf:"bytes,1,opt,name=fish,proto3" json:"fish,omitempty"` // contains filtered or unexported fields }
func (*AddFishRequest) Descriptor
deprecated
func (*AddFishRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFishRequest.ProtoReflect.Descriptor instead.
func (*AddFishRequest) GetFish ¶
func (x *AddFishRequest) GetFish() *Fish
func (*AddFishRequest) ProtoMessage ¶
func (*AddFishRequest) ProtoMessage()
func (*AddFishRequest) ProtoReflect ¶
func (x *AddFishRequest) ProtoReflect() protoreflect.Message
func (*AddFishRequest) Reset ¶
func (x *AddFishRequest) Reset()
func (*AddFishRequest) String ¶
func (x *AddFishRequest) String() string
func (*AddFishRequest) Validate ¶
func (m *AddFishRequest) Validate() error
Validate checks the field values on AddFishRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddFishRequestValidationError ¶
type AddFishRequestValidationError struct {
// contains filtered or unexported fields
}
AddFishRequestValidationError is the validation error returned by AddFishRequest.Validate if the designated constraints aren't met.
func (AddFishRequestValidationError) Cause ¶
func (e AddFishRequestValidationError) Cause() error
Cause function returns cause value.
func (AddFishRequestValidationError) Error ¶
func (e AddFishRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddFishRequestValidationError) ErrorName ¶
func (e AddFishRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddFishRequestValidationError) Field ¶
func (e AddFishRequestValidationError) Field() string
Field function returns field value.
func (AddFishRequestValidationError) Key ¶
func (e AddFishRequestValidationError) Key() bool
Key function returns key value.
func (AddFishRequestValidationError) Reason ¶
func (e AddFishRequestValidationError) Reason() string
Reason function returns reason value.
type AddFishResponse ¶
type AddFishResponse struct { // The added fish Fish *Fish `protobuf:"bytes,1,opt,name=fish,proto3" json:"fish,omitempty"` // contains filtered or unexported fields }
func (*AddFishResponse) Descriptor
deprecated
func (*AddFishResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFishResponse.ProtoReflect.Descriptor instead.
func (*AddFishResponse) GetFish ¶
func (x *AddFishResponse) GetFish() *Fish
func (*AddFishResponse) ProtoMessage ¶
func (*AddFishResponse) ProtoMessage()
func (*AddFishResponse) ProtoReflect ¶
func (x *AddFishResponse) ProtoReflect() protoreflect.Message
func (*AddFishResponse) Reset ¶
func (x *AddFishResponse) Reset()
func (*AddFishResponse) String ¶
func (x *AddFishResponse) String() string
func (*AddFishResponse) Validate ¶
func (m *AddFishResponse) Validate() error
Validate checks the field values on AddFishResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddFishResponseValidationError ¶
type AddFishResponseValidationError struct {
// contains filtered or unexported fields
}
AddFishResponseValidationError is the validation error returned by AddFishResponse.Validate if the designated constraints aren't met.
func (AddFishResponseValidationError) Cause ¶
func (e AddFishResponseValidationError) Cause() error
Cause function returns cause value.
func (AddFishResponseValidationError) Error ¶
func (e AddFishResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddFishResponseValidationError) ErrorName ¶
func (e AddFishResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddFishResponseValidationError) Field ¶
func (e AddFishResponseValidationError) Field() string
Field function returns field value.
func (AddFishResponseValidationError) Key ¶
func (e AddFishResponseValidationError) Key() bool
Key function returns key value.
func (AddFishResponseValidationError) Reason ¶
func (e AddFishResponseValidationError) Reason() string
Reason function returns reason value.
type AddTankRequest ¶ added in v0.0.10
type AddTankRequest struct { // The tank to add Tank *Tank `protobuf:"bytes,1,opt,name=tank,proto3" json:"tank,omitempty"` // contains filtered or unexported fields }
func (*AddTankRequest) Descriptor
deprecated
added in
v0.0.10
func (*AddTankRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTankRequest.ProtoReflect.Descriptor instead.
func (*AddTankRequest) GetTank ¶ added in v0.0.10
func (x *AddTankRequest) GetTank() *Tank
func (*AddTankRequest) ProtoMessage ¶ added in v0.0.10
func (*AddTankRequest) ProtoMessage()
func (*AddTankRequest) ProtoReflect ¶ added in v0.0.10
func (x *AddTankRequest) ProtoReflect() protoreflect.Message
func (*AddTankRequest) Reset ¶ added in v0.0.10
func (x *AddTankRequest) Reset()
func (*AddTankRequest) String ¶ added in v0.0.10
func (x *AddTankRequest) String() string
func (*AddTankRequest) Validate ¶ added in v0.0.10
func (m *AddTankRequest) Validate() error
Validate checks the field values on AddTankRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddTankRequestValidationError ¶ added in v0.0.10
type AddTankRequestValidationError struct {
// contains filtered or unexported fields
}
AddTankRequestValidationError is the validation error returned by AddTankRequest.Validate if the designated constraints aren't met.
func (AddTankRequestValidationError) Cause ¶ added in v0.0.10
func (e AddTankRequestValidationError) Cause() error
Cause function returns cause value.
func (AddTankRequestValidationError) Error ¶ added in v0.0.10
func (e AddTankRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddTankRequestValidationError) ErrorName ¶ added in v0.0.10
func (e AddTankRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddTankRequestValidationError) Field ¶ added in v0.0.10
func (e AddTankRequestValidationError) Field() string
Field function returns field value.
func (AddTankRequestValidationError) Key ¶ added in v0.0.10
func (e AddTankRequestValidationError) Key() bool
Key function returns key value.
func (AddTankRequestValidationError) Reason ¶ added in v0.0.10
func (e AddTankRequestValidationError) Reason() string
Reason function returns reason value.
type AddTankResponse ¶ added in v0.0.10
type AddTankResponse struct { // The added tank Tank *Tank `protobuf:"bytes,1,opt,name=tank,proto3" json:"tank,omitempty"` // contains filtered or unexported fields }
func (*AddTankResponse) Descriptor
deprecated
added in
v0.0.10
func (*AddTankResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddTankResponse.ProtoReflect.Descriptor instead.
func (*AddTankResponse) GetTank ¶ added in v0.0.10
func (x *AddTankResponse) GetTank() *Tank
func (*AddTankResponse) ProtoMessage ¶ added in v0.0.10
func (*AddTankResponse) ProtoMessage()
func (*AddTankResponse) ProtoReflect ¶ added in v0.0.10
func (x *AddTankResponse) ProtoReflect() protoreflect.Message
func (*AddTankResponse) Reset ¶ added in v0.0.10
func (x *AddTankResponse) Reset()
func (*AddTankResponse) String ¶ added in v0.0.10
func (x *AddTankResponse) String() string
func (*AddTankResponse) Validate ¶ added in v0.0.10
func (m *AddTankResponse) Validate() error
Validate checks the field values on AddTankResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddTankResponseValidationError ¶ added in v0.0.10
type AddTankResponseValidationError struct {
// contains filtered or unexported fields
}
AddTankResponseValidationError is the validation error returned by AddTankResponse.Validate if the designated constraints aren't met.
func (AddTankResponseValidationError) Cause ¶ added in v0.0.10
func (e AddTankResponseValidationError) Cause() error
Cause function returns cause value.
func (AddTankResponseValidationError) Error ¶ added in v0.0.10
func (e AddTankResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddTankResponseValidationError) ErrorName ¶ added in v0.0.10
func (e AddTankResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddTankResponseValidationError) Field ¶ added in v0.0.10
func (e AddTankResponseValidationError) Field() string
Field function returns field value.
func (AddTankResponseValidationError) Key ¶ added in v0.0.10
func (e AddTankResponseValidationError) Key() bool
Key function returns key value.
func (AddTankResponseValidationError) Reason ¶ added in v0.0.10
func (e AddTankResponseValidationError) Reason() string
Reason function returns reason value.
type AddTankStatisticRequest ¶ added in v0.0.9
type AddTankStatisticRequest struct { // The tank statistic to add TankStatistic *TankStatistic `protobuf:"bytes,1,opt,name=tank_statistic,json=tankStatistic,proto3" json:"tank_statistic,omitempty"` // contains filtered or unexported fields }
func (*AddTankStatisticRequest) Descriptor
deprecated
added in
v0.0.9
func (*AddTankStatisticRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddTankStatisticRequest.ProtoReflect.Descriptor instead.
func (*AddTankStatisticRequest) GetTankStatistic ¶ added in v0.0.9
func (x *AddTankStatisticRequest) GetTankStatistic() *TankStatistic
func (*AddTankStatisticRequest) ProtoMessage ¶ added in v0.0.9
func (*AddTankStatisticRequest) ProtoMessage()
func (*AddTankStatisticRequest) ProtoReflect ¶ added in v0.0.9
func (x *AddTankStatisticRequest) ProtoReflect() protoreflect.Message
func (*AddTankStatisticRequest) Reset ¶ added in v0.0.9
func (x *AddTankStatisticRequest) Reset()
func (*AddTankStatisticRequest) String ¶ added in v0.0.9
func (x *AddTankStatisticRequest) String() string
func (*AddTankStatisticRequest) Validate ¶ added in v0.0.9
func (m *AddTankStatisticRequest) Validate() error
Validate checks the field values on AddTankStatisticRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddTankStatisticRequestValidationError ¶ added in v0.0.9
type AddTankStatisticRequestValidationError struct {
// contains filtered or unexported fields
}
AddTankStatisticRequestValidationError is the validation error returned by AddTankStatisticRequest.Validate if the designated constraints aren't met.
func (AddTankStatisticRequestValidationError) Cause ¶ added in v0.0.9
func (e AddTankStatisticRequestValidationError) Cause() error
Cause function returns cause value.
func (AddTankStatisticRequestValidationError) Error ¶ added in v0.0.9
func (e AddTankStatisticRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddTankStatisticRequestValidationError) ErrorName ¶ added in v0.0.9
func (e AddTankStatisticRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddTankStatisticRequestValidationError) Field ¶ added in v0.0.9
func (e AddTankStatisticRequestValidationError) Field() string
Field function returns field value.
func (AddTankStatisticRequestValidationError) Key ¶ added in v0.0.9
func (e AddTankStatisticRequestValidationError) Key() bool
Key function returns key value.
func (AddTankStatisticRequestValidationError) Reason ¶ added in v0.0.9
func (e AddTankStatisticRequestValidationError) Reason() string
Reason function returns reason value.
type AddTankStatisticResponse ¶ added in v0.0.9
type AddTankStatisticResponse struct { // The added tank statistic TankStatistic *TankStatistic `protobuf:"bytes,1,opt,name=tank_statistic,json=tankStatistic,proto3" json:"tank_statistic,omitempty"` // contains filtered or unexported fields }
func (*AddTankStatisticResponse) Descriptor
deprecated
added in
v0.0.9
func (*AddTankStatisticResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddTankStatisticResponse.ProtoReflect.Descriptor instead.
func (*AddTankStatisticResponse) GetTankStatistic ¶ added in v0.0.9
func (x *AddTankStatisticResponse) GetTankStatistic() *TankStatistic
func (*AddTankStatisticResponse) ProtoMessage ¶ added in v0.0.9
func (*AddTankStatisticResponse) ProtoMessage()
func (*AddTankStatisticResponse) ProtoReflect ¶ added in v0.0.9
func (x *AddTankStatisticResponse) ProtoReflect() protoreflect.Message
func (*AddTankStatisticResponse) Reset ¶ added in v0.0.9
func (x *AddTankStatisticResponse) Reset()
func (*AddTankStatisticResponse) String ¶ added in v0.0.9
func (x *AddTankStatisticResponse) String() string
func (*AddTankStatisticResponse) Validate ¶ added in v0.0.9
func (m *AddTankStatisticResponse) Validate() error
Validate checks the field values on AddTankStatisticResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AddTankStatisticResponseValidationError ¶ added in v0.0.9
type AddTankStatisticResponseValidationError struct {
// contains filtered or unexported fields
}
AddTankStatisticResponseValidationError is the validation error returned by AddTankStatisticResponse.Validate if the designated constraints aren't met.
func (AddTankStatisticResponseValidationError) Cause ¶ added in v0.0.9
func (e AddTankStatisticResponseValidationError) Cause() error
Cause function returns cause value.
func (AddTankStatisticResponseValidationError) Error ¶ added in v0.0.9
func (e AddTankStatisticResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddTankStatisticResponseValidationError) ErrorName ¶ added in v0.0.9
func (e AddTankStatisticResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddTankStatisticResponseValidationError) Field ¶ added in v0.0.9
func (e AddTankStatisticResponseValidationError) Field() string
Field function returns field value.
func (AddTankStatisticResponseValidationError) Key ¶ added in v0.0.9
func (e AddTankStatisticResponseValidationError) Key() bool
Key function returns key value.
func (AddTankStatisticResponseValidationError) Reason ¶ added in v0.0.9
func (e AddTankStatisticResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteFishRequest ¶
type DeleteFishRequest struct { // The unique identifier of the change. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFishRequest) Descriptor
deprecated
func (*DeleteFishRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFishRequest.ProtoReflect.Descriptor instead.
func (*DeleteFishRequest) GetId ¶
func (x *DeleteFishRequest) GetId() int32
func (*DeleteFishRequest) ProtoMessage ¶
func (*DeleteFishRequest) ProtoMessage()
func (*DeleteFishRequest) ProtoReflect ¶
func (x *DeleteFishRequest) ProtoReflect() protoreflect.Message
func (*DeleteFishRequest) Reset ¶
func (x *DeleteFishRequest) Reset()
func (*DeleteFishRequest) String ¶
func (x *DeleteFishRequest) String() string
func (*DeleteFishRequest) Validate ¶
func (m *DeleteFishRequest) Validate() error
Validate checks the field values on DeleteFishRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteFishRequestValidationError ¶
type DeleteFishRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteFishRequestValidationError is the validation error returned by DeleteFishRequest.Validate if the designated constraints aren't met.
func (DeleteFishRequestValidationError) Cause ¶
func (e DeleteFishRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteFishRequestValidationError) Error ¶
func (e DeleteFishRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFishRequestValidationError) ErrorName ¶
func (e DeleteFishRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFishRequestValidationError) Field ¶
func (e DeleteFishRequestValidationError) Field() string
Field function returns field value.
func (DeleteFishRequestValidationError) Key ¶
func (e DeleteFishRequestValidationError) Key() bool
Key function returns key value.
func (DeleteFishRequestValidationError) Reason ¶
func (e DeleteFishRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteFishResponse ¶
type DeleteFishResponse struct { // The deleted fish Fish *Fish `protobuf:"bytes,1,opt,name=fish,proto3" json:"fish,omitempty"` // contains filtered or unexported fields }
func (*DeleteFishResponse) Descriptor
deprecated
func (*DeleteFishResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFishResponse.ProtoReflect.Descriptor instead.
func (*DeleteFishResponse) GetFish ¶
func (x *DeleteFishResponse) GetFish() *Fish
func (*DeleteFishResponse) ProtoMessage ¶
func (*DeleteFishResponse) ProtoMessage()
func (*DeleteFishResponse) ProtoReflect ¶
func (x *DeleteFishResponse) ProtoReflect() protoreflect.Message
func (*DeleteFishResponse) Reset ¶
func (x *DeleteFishResponse) Reset()
func (*DeleteFishResponse) String ¶
func (x *DeleteFishResponse) String() string
func (*DeleteFishResponse) Validate ¶
func (m *DeleteFishResponse) Validate() error
Validate checks the field values on DeleteFishResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteFishResponseValidationError ¶
type DeleteFishResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteFishResponseValidationError is the validation error returned by DeleteFishResponse.Validate if the designated constraints aren't met.
func (DeleteFishResponseValidationError) Cause ¶
func (e DeleteFishResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteFishResponseValidationError) Error ¶
func (e DeleteFishResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFishResponseValidationError) ErrorName ¶
func (e DeleteFishResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFishResponseValidationError) Field ¶
func (e DeleteFishResponseValidationError) Field() string
Field function returns field value.
func (DeleteFishResponseValidationError) Key ¶
func (e DeleteFishResponseValidationError) Key() bool
Key function returns key value.
func (DeleteFishResponseValidationError) Reason ¶
func (e DeleteFishResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteTankRequest ¶ added in v0.0.10
type DeleteTankRequest struct { // The unique identifier of the change. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTankRequest) Descriptor
deprecated
added in
v0.0.10
func (*DeleteTankRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTankRequest.ProtoReflect.Descriptor instead.
func (*DeleteTankRequest) GetId ¶ added in v0.0.10
func (x *DeleteTankRequest) GetId() int32
func (*DeleteTankRequest) ProtoMessage ¶ added in v0.0.10
func (*DeleteTankRequest) ProtoMessage()
func (*DeleteTankRequest) ProtoReflect ¶ added in v0.0.10
func (x *DeleteTankRequest) ProtoReflect() protoreflect.Message
func (*DeleteTankRequest) Reset ¶ added in v0.0.10
func (x *DeleteTankRequest) Reset()
func (*DeleteTankRequest) String ¶ added in v0.0.10
func (x *DeleteTankRequest) String() string
func (*DeleteTankRequest) Validate ¶ added in v0.0.10
func (m *DeleteTankRequest) Validate() error
Validate checks the field values on DeleteTankRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteTankRequestValidationError ¶ added in v0.0.10
type DeleteTankRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTankRequestValidationError is the validation error returned by DeleteTankRequest.Validate if the designated constraints aren't met.
func (DeleteTankRequestValidationError) Cause ¶ added in v0.0.10
func (e DeleteTankRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTankRequestValidationError) Error ¶ added in v0.0.10
func (e DeleteTankRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTankRequestValidationError) ErrorName ¶ added in v0.0.10
func (e DeleteTankRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTankRequestValidationError) Field ¶ added in v0.0.10
func (e DeleteTankRequestValidationError) Field() string
Field function returns field value.
func (DeleteTankRequestValidationError) Key ¶ added in v0.0.10
func (e DeleteTankRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTankRequestValidationError) Reason ¶ added in v0.0.10
func (e DeleteTankRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTankResponse ¶ added in v0.0.10
type DeleteTankResponse struct { // The deleted tank Tank *Tank `protobuf:"bytes,1,opt,name=tank,proto3" json:"tank,omitempty"` // contains filtered or unexported fields }
func (*DeleteTankResponse) Descriptor
deprecated
added in
v0.0.10
func (*DeleteTankResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTankResponse.ProtoReflect.Descriptor instead.
func (*DeleteTankResponse) GetTank ¶ added in v0.0.10
func (x *DeleteTankResponse) GetTank() *Tank
func (*DeleteTankResponse) ProtoMessage ¶ added in v0.0.10
func (*DeleteTankResponse) ProtoMessage()
func (*DeleteTankResponse) ProtoReflect ¶ added in v0.0.10
func (x *DeleteTankResponse) ProtoReflect() protoreflect.Message
func (*DeleteTankResponse) Reset ¶ added in v0.0.10
func (x *DeleteTankResponse) Reset()
func (*DeleteTankResponse) String ¶ added in v0.0.10
func (x *DeleteTankResponse) String() string
func (*DeleteTankResponse) Validate ¶ added in v0.0.10
func (m *DeleteTankResponse) Validate() error
Validate checks the field values on DeleteTankResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteTankResponseValidationError ¶ added in v0.0.10
type DeleteTankResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTankResponseValidationError is the validation error returned by DeleteTankResponse.Validate if the designated constraints aren't met.
func (DeleteTankResponseValidationError) Cause ¶ added in v0.0.10
func (e DeleteTankResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTankResponseValidationError) Error ¶ added in v0.0.10
func (e DeleteTankResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTankResponseValidationError) ErrorName ¶ added in v0.0.10
func (e DeleteTankResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTankResponseValidationError) Field ¶ added in v0.0.10
func (e DeleteTankResponseValidationError) Field() string
Field function returns field value.
func (DeleteTankResponseValidationError) Key ¶ added in v0.0.10
func (e DeleteTankResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTankResponseValidationError) Reason ¶ added in v0.0.10
func (e DeleteTankResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteTankStatisticRequest ¶ added in v0.0.9
type DeleteTankStatisticRequest struct { // The unique identifier of the change. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTankStatisticRequest) Descriptor
deprecated
added in
v0.0.9
func (*DeleteTankStatisticRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTankStatisticRequest.ProtoReflect.Descriptor instead.
func (*DeleteTankStatisticRequest) GetId ¶ added in v0.0.9
func (x *DeleteTankStatisticRequest) GetId() int32
func (*DeleteTankStatisticRequest) ProtoMessage ¶ added in v0.0.9
func (*DeleteTankStatisticRequest) ProtoMessage()
func (*DeleteTankStatisticRequest) ProtoReflect ¶ added in v0.0.9
func (x *DeleteTankStatisticRequest) ProtoReflect() protoreflect.Message
func (*DeleteTankStatisticRequest) Reset ¶ added in v0.0.9
func (x *DeleteTankStatisticRequest) Reset()
func (*DeleteTankStatisticRequest) String ¶ added in v0.0.9
func (x *DeleteTankStatisticRequest) String() string
func (*DeleteTankStatisticRequest) Validate ¶ added in v0.0.9
func (m *DeleteTankStatisticRequest) Validate() error
Validate checks the field values on DeleteTankStatisticRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteTankStatisticRequestValidationError ¶ added in v0.0.9
type DeleteTankStatisticRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTankStatisticRequestValidationError is the validation error returned by DeleteTankStatisticRequest.Validate if the designated constraints aren't met.
func (DeleteTankStatisticRequestValidationError) Cause ¶ added in v0.0.9
func (e DeleteTankStatisticRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTankStatisticRequestValidationError) Error ¶ added in v0.0.9
func (e DeleteTankStatisticRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTankStatisticRequestValidationError) ErrorName ¶ added in v0.0.9
func (e DeleteTankStatisticRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTankStatisticRequestValidationError) Field ¶ added in v0.0.9
func (e DeleteTankStatisticRequestValidationError) Field() string
Field function returns field value.
func (DeleteTankStatisticRequestValidationError) Key ¶ added in v0.0.9
func (e DeleteTankStatisticRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTankStatisticRequestValidationError) Reason ¶ added in v0.0.9
func (e DeleteTankStatisticRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTankStatisticResponse ¶ added in v0.0.9
type DeleteTankStatisticResponse struct { // The deleted tank statistic TankStatistic *TankStatistic `protobuf:"bytes,1,opt,name=tank_statistic,json=tankStatistic,proto3" json:"tank_statistic,omitempty"` // contains filtered or unexported fields }
func (*DeleteTankStatisticResponse) Descriptor
deprecated
added in
v0.0.9
func (*DeleteTankStatisticResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTankStatisticResponse.ProtoReflect.Descriptor instead.
func (*DeleteTankStatisticResponse) GetTankStatistic ¶ added in v0.0.9
func (x *DeleteTankStatisticResponse) GetTankStatistic() *TankStatistic
func (*DeleteTankStatisticResponse) ProtoMessage ¶ added in v0.0.9
func (*DeleteTankStatisticResponse) ProtoMessage()
func (*DeleteTankStatisticResponse) ProtoReflect ¶ added in v0.0.9
func (x *DeleteTankStatisticResponse) ProtoReflect() protoreflect.Message
func (*DeleteTankStatisticResponse) Reset ¶ added in v0.0.9
func (x *DeleteTankStatisticResponse) Reset()
func (*DeleteTankStatisticResponse) String ¶ added in v0.0.9
func (x *DeleteTankStatisticResponse) String() string
func (*DeleteTankStatisticResponse) Validate ¶ added in v0.0.9
func (m *DeleteTankStatisticResponse) Validate() error
Validate checks the field values on DeleteTankStatisticResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteTankStatisticResponseValidationError ¶ added in v0.0.9
type DeleteTankStatisticResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteTankStatisticResponseValidationError is the validation error returned by DeleteTankStatisticResponse.Validate if the designated constraints aren't met.
func (DeleteTankStatisticResponseValidationError) Cause ¶ added in v0.0.9
func (e DeleteTankStatisticResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteTankStatisticResponseValidationError) Error ¶ added in v0.0.9
func (e DeleteTankStatisticResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTankStatisticResponseValidationError) ErrorName ¶ added in v0.0.9
func (e DeleteTankStatisticResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTankStatisticResponseValidationError) Field ¶ added in v0.0.9
func (e DeleteTankStatisticResponseValidationError) Field() string
Field function returns field value.
func (DeleteTankStatisticResponseValidationError) Key ¶ added in v0.0.9
func (e DeleteTankStatisticResponseValidationError) Key() bool
Key function returns key value.
func (DeleteTankStatisticResponseValidationError) Reason ¶ added in v0.0.9
func (e DeleteTankStatisticResponseValidationError) Reason() string
Reason function returns reason value.
type Fish ¶
type Fish struct { // The unique identifier of the fish. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The type of the fish (e.g. Gourami) Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The subtype of the fish (e.g. Pearl) Subtype string `protobuf:"bytes,3,opt,name=subtype,proto3" json:"subtype,omitempty"` // The color of the fish Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"` // The gender of the fish Gender Fish_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=trackmyfish.v1alpha1.Fish_Gender" json:"gender,omitempty"` // The date of purchase of the fish PurchaseDate string `protobuf:"bytes,6,opt,name=purchase_date,json=purchaseDate,proto3" json:"purchase_date,omitempty"` // The number of fish matching this description Count int32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*Fish) Descriptor
deprecated
func (*Fish) GetGender ¶
func (x *Fish) GetGender() Fish_Gender
func (*Fish) GetPurchaseDate ¶
func (*Fish) GetSubtype ¶ added in v0.0.9
func (*Fish) ProtoMessage ¶
func (*Fish) ProtoMessage()
func (*Fish) ProtoReflect ¶
func (x *Fish) ProtoReflect() protoreflect.Message
type FishValidationError ¶
type FishValidationError struct {
// contains filtered or unexported fields
}
FishValidationError is the validation error returned by Fish.Validate if the designated constraints aren't met.
func (FishValidationError) Cause ¶
func (e FishValidationError) Cause() error
Cause function returns cause value.
func (FishValidationError) Error ¶
func (e FishValidationError) Error() string
Error satisfies the builtin error interface
func (FishValidationError) ErrorName ¶
func (e FishValidationError) ErrorName() string
ErrorName returns error name.
func (FishValidationError) Field ¶
func (e FishValidationError) Field() string
Field function returns field value.
func (FishValidationError) Key ¶
func (e FishValidationError) Key() bool
Key function returns key value.
func (FishValidationError) Reason ¶
func (e FishValidationError) Reason() string
Reason function returns reason value.
type Fish_Gender ¶
type Fish_Gender int32
const ( Fish_UNSPECIFIED Fish_Gender = 0 Fish_MALE Fish_Gender = 1 Fish_FEMALE Fish_Gender = 2 )
func (Fish_Gender) Descriptor ¶
func (Fish_Gender) Descriptor() protoreflect.EnumDescriptor
func (Fish_Gender) Enum ¶
func (x Fish_Gender) Enum() *Fish_Gender
func (Fish_Gender) EnumDescriptor
deprecated
func (Fish_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use Fish_Gender.Descriptor instead.
func (Fish_Gender) Number ¶
func (x Fish_Gender) Number() protoreflect.EnumNumber
func (Fish_Gender) String ¶
func (x Fish_Gender) String() string
func (Fish_Gender) Type ¶
func (Fish_Gender) Type() protoreflect.EnumType
type HeartbeatRequest ¶
type HeartbeatRequest struct {
// contains filtered or unexported fields
}
func (*HeartbeatRequest) Descriptor
deprecated
func (*HeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) ProtoMessage ¶
func (*HeartbeatRequest) ProtoMessage()
func (*HeartbeatRequest) ProtoReflect ¶
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
func (*HeartbeatRequest) Reset ¶
func (x *HeartbeatRequest) Reset()
func (*HeartbeatRequest) String ¶
func (x *HeartbeatRequest) String() string
func (*HeartbeatRequest) Validate ¶
func (m *HeartbeatRequest) Validate() error
Validate checks the field values on HeartbeatRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HeartbeatRequestValidationError ¶
type HeartbeatRequestValidationError struct {
// contains filtered or unexported fields
}
HeartbeatRequestValidationError is the validation error returned by HeartbeatRequest.Validate if the designated constraints aren't met.
func (HeartbeatRequestValidationError) Cause ¶
func (e HeartbeatRequestValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatRequestValidationError) Error ¶
func (e HeartbeatRequestValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatRequestValidationError) ErrorName ¶
func (e HeartbeatRequestValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatRequestValidationError) Field ¶
func (e HeartbeatRequestValidationError) Field() string
Field function returns field value.
func (HeartbeatRequestValidationError) Key ¶
func (e HeartbeatRequestValidationError) Key() bool
Key function returns key value.
func (HeartbeatRequestValidationError) Reason ¶
func (e HeartbeatRequestValidationError) Reason() string
Reason function returns reason value.
type HeartbeatResponse ¶
type HeartbeatResponse struct {
// contains filtered or unexported fields
}
func (*HeartbeatResponse) Descriptor
deprecated
func (*HeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
func (*HeartbeatResponse) ProtoMessage ¶
func (*HeartbeatResponse) ProtoMessage()
func (*HeartbeatResponse) ProtoReflect ¶
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
func (*HeartbeatResponse) Reset ¶
func (x *HeartbeatResponse) Reset()
func (*HeartbeatResponse) String ¶
func (x *HeartbeatResponse) String() string
func (*HeartbeatResponse) Validate ¶
func (m *HeartbeatResponse) Validate() error
Validate checks the field values on HeartbeatResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HeartbeatResponseValidationError ¶
type HeartbeatResponseValidationError struct {
// contains filtered or unexported fields
}
HeartbeatResponseValidationError is the validation error returned by HeartbeatResponse.Validate if the designated constraints aren't met.
func (HeartbeatResponseValidationError) Cause ¶
func (e HeartbeatResponseValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatResponseValidationError) Error ¶
func (e HeartbeatResponseValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatResponseValidationError) ErrorName ¶
func (e HeartbeatResponseValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatResponseValidationError) Field ¶
func (e HeartbeatResponseValidationError) Field() string
Field function returns field value.
func (HeartbeatResponseValidationError) Key ¶
func (e HeartbeatResponseValidationError) Key() bool
Key function returns key value.
func (HeartbeatResponseValidationError) Reason ¶
func (e HeartbeatResponseValidationError) Reason() string
Reason function returns reason value.
type HeartbeatStatus ¶
type HeartbeatStatus struct { Status HeartbeatStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=trackmyfish.v1alpha1.HeartbeatStatus_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*HeartbeatStatus) Descriptor
deprecated
func (*HeartbeatStatus) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatStatus.ProtoReflect.Descriptor instead.
func (*HeartbeatStatus) GetStatus ¶
func (x *HeartbeatStatus) GetStatus() HeartbeatStatus_Status
func (*HeartbeatStatus) ProtoMessage ¶
func (*HeartbeatStatus) ProtoMessage()
func (*HeartbeatStatus) ProtoReflect ¶
func (x *HeartbeatStatus) ProtoReflect() protoreflect.Message
func (*HeartbeatStatus) Reset ¶
func (x *HeartbeatStatus) Reset()
func (*HeartbeatStatus) String ¶
func (x *HeartbeatStatus) String() string
func (*HeartbeatStatus) Validate ¶
func (m *HeartbeatStatus) Validate() error
Validate checks the field values on HeartbeatStatus with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HeartbeatStatusValidationError ¶
type HeartbeatStatusValidationError struct {
// contains filtered or unexported fields
}
HeartbeatStatusValidationError is the validation error returned by HeartbeatStatus.Validate if the designated constraints aren't met.
func (HeartbeatStatusValidationError) Cause ¶
func (e HeartbeatStatusValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatStatusValidationError) Error ¶
func (e HeartbeatStatusValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatStatusValidationError) ErrorName ¶
func (e HeartbeatStatusValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatStatusValidationError) Field ¶
func (e HeartbeatStatusValidationError) Field() string
Field function returns field value.
func (HeartbeatStatusValidationError) Key ¶
func (e HeartbeatStatusValidationError) Key() bool
Key function returns key value.
func (HeartbeatStatusValidationError) Reason ¶
func (e HeartbeatStatusValidationError) Reason() string
Reason function returns reason value.
type HeartbeatStatus_Status ¶
type HeartbeatStatus_Status int32
const ( HeartbeatStatus_UNSPECIFIED HeartbeatStatus_Status = 0 HeartbeatStatus_OPERATIONAL HeartbeatStatus_Status = 1 HeartbeatStatus_DEGRADED HeartbeatStatus_Status = 2 HeartbeatStatus_DOWN HeartbeatStatus_Status = 3 )
func (HeartbeatStatus_Status) Descriptor ¶
func (HeartbeatStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (HeartbeatStatus_Status) Enum ¶
func (x HeartbeatStatus_Status) Enum() *HeartbeatStatus_Status
func (HeartbeatStatus_Status) EnumDescriptor
deprecated
func (HeartbeatStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use HeartbeatStatus_Status.Descriptor instead.
func (HeartbeatStatus_Status) Number ¶
func (x HeartbeatStatus_Status) Number() protoreflect.EnumNumber
func (HeartbeatStatus_Status) String ¶
func (x HeartbeatStatus_Status) String() string
func (HeartbeatStatus_Status) Type ¶
func (HeartbeatStatus_Status) Type() protoreflect.EnumType
type ListFishRequest ¶
type ListFishRequest struct {
// contains filtered or unexported fields
}
func (*ListFishRequest) Descriptor
deprecated
func (*ListFishRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFishRequest.ProtoReflect.Descriptor instead.
func (*ListFishRequest) ProtoMessage ¶
func (*ListFishRequest) ProtoMessage()
func (*ListFishRequest) ProtoReflect ¶
func (x *ListFishRequest) ProtoReflect() protoreflect.Message
func (*ListFishRequest) Reset ¶
func (x *ListFishRequest) Reset()
func (*ListFishRequest) String ¶
func (x *ListFishRequest) String() string
func (*ListFishRequest) Validate ¶
func (m *ListFishRequest) Validate() error
Validate checks the field values on ListFishRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListFishRequestValidationError ¶
type ListFishRequestValidationError struct {
// contains filtered or unexported fields
}
ListFishRequestValidationError is the validation error returned by ListFishRequest.Validate if the designated constraints aren't met.
func (ListFishRequestValidationError) Cause ¶
func (e ListFishRequestValidationError) Cause() error
Cause function returns cause value.
func (ListFishRequestValidationError) Error ¶
func (e ListFishRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListFishRequestValidationError) ErrorName ¶
func (e ListFishRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListFishRequestValidationError) Field ¶
func (e ListFishRequestValidationError) Field() string
Field function returns field value.
func (ListFishRequestValidationError) Key ¶
func (e ListFishRequestValidationError) Key() bool
Key function returns key value.
func (ListFishRequestValidationError) Reason ¶
func (e ListFishRequestValidationError) Reason() string
Reason function returns reason value.
type ListFishResponse ¶
type ListFishResponse struct { // The list of fish Fish []*Fish `protobuf:"bytes,1,rep,name=fish,proto3" json:"fish,omitempty"` // contains filtered or unexported fields }
func (*ListFishResponse) Descriptor
deprecated
func (*ListFishResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFishResponse.ProtoReflect.Descriptor instead.
func (*ListFishResponse) GetFish ¶
func (x *ListFishResponse) GetFish() []*Fish
func (*ListFishResponse) ProtoMessage ¶
func (*ListFishResponse) ProtoMessage()
func (*ListFishResponse) ProtoReflect ¶
func (x *ListFishResponse) ProtoReflect() protoreflect.Message
func (*ListFishResponse) Reset ¶
func (x *ListFishResponse) Reset()
func (*ListFishResponse) String ¶
func (x *ListFishResponse) String() string
func (*ListFishResponse) Validate ¶
func (m *ListFishResponse) Validate() error
Validate checks the field values on ListFishResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListFishResponseValidationError ¶
type ListFishResponseValidationError struct {
// contains filtered or unexported fields
}
ListFishResponseValidationError is the validation error returned by ListFishResponse.Validate if the designated constraints aren't met.
func (ListFishResponseValidationError) Cause ¶
func (e ListFishResponseValidationError) Cause() error
Cause function returns cause value.
func (ListFishResponseValidationError) Error ¶
func (e ListFishResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListFishResponseValidationError) ErrorName ¶
func (e ListFishResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListFishResponseValidationError) Field ¶
func (e ListFishResponseValidationError) Field() string
Field function returns field value.
func (ListFishResponseValidationError) Key ¶
func (e ListFishResponseValidationError) Key() bool
Key function returns key value.
func (ListFishResponseValidationError) Reason ¶
func (e ListFishResponseValidationError) Reason() string
Reason function returns reason value.
type ListTankStatisticsRequest ¶ added in v0.0.9
type ListTankStatisticsRequest struct {
// contains filtered or unexported fields
}
func (*ListTankStatisticsRequest) Descriptor
deprecated
added in
v0.0.9
func (*ListTankStatisticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTankStatisticsRequest.ProtoReflect.Descriptor instead.
func (*ListTankStatisticsRequest) ProtoMessage ¶ added in v0.0.9
func (*ListTankStatisticsRequest) ProtoMessage()
func (*ListTankStatisticsRequest) ProtoReflect ¶ added in v0.0.9
func (x *ListTankStatisticsRequest) ProtoReflect() protoreflect.Message
func (*ListTankStatisticsRequest) Reset ¶ added in v0.0.9
func (x *ListTankStatisticsRequest) Reset()
func (*ListTankStatisticsRequest) String ¶ added in v0.0.9
func (x *ListTankStatisticsRequest) String() string
func (*ListTankStatisticsRequest) Validate ¶ added in v0.0.9
func (m *ListTankStatisticsRequest) Validate() error
Validate checks the field values on ListTankStatisticsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListTankStatisticsRequestValidationError ¶ added in v0.0.9
type ListTankStatisticsRequestValidationError struct {
// contains filtered or unexported fields
}
ListTankStatisticsRequestValidationError is the validation error returned by ListTankStatisticsRequest.Validate if the designated constraints aren't met.
func (ListTankStatisticsRequestValidationError) Cause ¶ added in v0.0.9
func (e ListTankStatisticsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTankStatisticsRequestValidationError) Error ¶ added in v0.0.9
func (e ListTankStatisticsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTankStatisticsRequestValidationError) ErrorName ¶ added in v0.0.9
func (e ListTankStatisticsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTankStatisticsRequestValidationError) Field ¶ added in v0.0.9
func (e ListTankStatisticsRequestValidationError) Field() string
Field function returns field value.
func (ListTankStatisticsRequestValidationError) Key ¶ added in v0.0.9
func (e ListTankStatisticsRequestValidationError) Key() bool
Key function returns key value.
func (ListTankStatisticsRequestValidationError) Reason ¶ added in v0.0.9
func (e ListTankStatisticsRequestValidationError) Reason() string
Reason function returns reason value.
type ListTankStatisticsResponse ¶ added in v0.0.9
type ListTankStatisticsResponse struct { // The list of tank statistics TankStatistics []*TankStatistic `protobuf:"bytes,1,rep,name=tank_statistics,json=tankStatistics,proto3" json:"tank_statistics,omitempty"` // contains filtered or unexported fields }
func (*ListTankStatisticsResponse) Descriptor
deprecated
added in
v0.0.9
func (*ListTankStatisticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTankStatisticsResponse.ProtoReflect.Descriptor instead.
func (*ListTankStatisticsResponse) GetTankStatistics ¶ added in v0.0.9
func (x *ListTankStatisticsResponse) GetTankStatistics() []*TankStatistic
func (*ListTankStatisticsResponse) ProtoMessage ¶ added in v0.0.9
func (*ListTankStatisticsResponse) ProtoMessage()
func (*ListTankStatisticsResponse) ProtoReflect ¶ added in v0.0.9
func (x *ListTankStatisticsResponse) ProtoReflect() protoreflect.Message
func (*ListTankStatisticsResponse) Reset ¶ added in v0.0.9
func (x *ListTankStatisticsResponse) Reset()
func (*ListTankStatisticsResponse) String ¶ added in v0.0.9
func (x *ListTankStatisticsResponse) String() string
func (*ListTankStatisticsResponse) Validate ¶ added in v0.0.9
func (m *ListTankStatisticsResponse) Validate() error
Validate checks the field values on ListTankStatisticsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListTankStatisticsResponseValidationError ¶ added in v0.0.9
type ListTankStatisticsResponseValidationError struct {
// contains filtered or unexported fields
}
ListTankStatisticsResponseValidationError is the validation error returned by ListTankStatisticsResponse.Validate if the designated constraints aren't met.
func (ListTankStatisticsResponseValidationError) Cause ¶ added in v0.0.9
func (e ListTankStatisticsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTankStatisticsResponseValidationError) Error ¶ added in v0.0.9
func (e ListTankStatisticsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTankStatisticsResponseValidationError) ErrorName ¶ added in v0.0.9
func (e ListTankStatisticsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTankStatisticsResponseValidationError) Field ¶ added in v0.0.9
func (e ListTankStatisticsResponseValidationError) Field() string
Field function returns field value.
func (ListTankStatisticsResponseValidationError) Key ¶ added in v0.0.9
func (e ListTankStatisticsResponseValidationError) Key() bool
Key function returns key value.
func (ListTankStatisticsResponseValidationError) Reason ¶ added in v0.0.9
func (e ListTankStatisticsResponseValidationError) Reason() string
Reason function returns reason value.
type ListTanksRequest ¶ added in v0.0.10
type ListTanksRequest struct {
// contains filtered or unexported fields
}
func (*ListTanksRequest) Descriptor
deprecated
added in
v0.0.10
func (*ListTanksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTanksRequest.ProtoReflect.Descriptor instead.
func (*ListTanksRequest) ProtoMessage ¶ added in v0.0.10
func (*ListTanksRequest) ProtoMessage()
func (*ListTanksRequest) ProtoReflect ¶ added in v0.0.10
func (x *ListTanksRequest) ProtoReflect() protoreflect.Message
func (*ListTanksRequest) Reset ¶ added in v0.0.10
func (x *ListTanksRequest) Reset()
func (*ListTanksRequest) String ¶ added in v0.0.10
func (x *ListTanksRequest) String() string
func (*ListTanksRequest) Validate ¶ added in v0.0.10
func (m *ListTanksRequest) Validate() error
Validate checks the field values on ListTanksRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListTanksRequestValidationError ¶ added in v0.0.10
type ListTanksRequestValidationError struct {
// contains filtered or unexported fields
}
ListTanksRequestValidationError is the validation error returned by ListTanksRequest.Validate if the designated constraints aren't met.
func (ListTanksRequestValidationError) Cause ¶ added in v0.0.10
func (e ListTanksRequestValidationError) Cause() error
Cause function returns cause value.
func (ListTanksRequestValidationError) Error ¶ added in v0.0.10
func (e ListTanksRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListTanksRequestValidationError) ErrorName ¶ added in v0.0.10
func (e ListTanksRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListTanksRequestValidationError) Field ¶ added in v0.0.10
func (e ListTanksRequestValidationError) Field() string
Field function returns field value.
func (ListTanksRequestValidationError) Key ¶ added in v0.0.10
func (e ListTanksRequestValidationError) Key() bool
Key function returns key value.
func (ListTanksRequestValidationError) Reason ¶ added in v0.0.10
func (e ListTanksRequestValidationError) Reason() string
Reason function returns reason value.
type ListTanksResponse ¶ added in v0.0.10
type ListTanksResponse struct { // The list of tanks Tanks []*Tank `protobuf:"bytes,1,rep,name=tanks,proto3" json:"tanks,omitempty"` // contains filtered or unexported fields }
func (*ListTanksResponse) Descriptor
deprecated
added in
v0.0.10
func (*ListTanksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTanksResponse.ProtoReflect.Descriptor instead.
func (*ListTanksResponse) GetTanks ¶ added in v0.0.10
func (x *ListTanksResponse) GetTanks() []*Tank
func (*ListTanksResponse) ProtoMessage ¶ added in v0.0.10
func (*ListTanksResponse) ProtoMessage()
func (*ListTanksResponse) ProtoReflect ¶ added in v0.0.10
func (x *ListTanksResponse) ProtoReflect() protoreflect.Message
func (*ListTanksResponse) Reset ¶ added in v0.0.10
func (x *ListTanksResponse) Reset()
func (*ListTanksResponse) String ¶ added in v0.0.10
func (x *ListTanksResponse) String() string
func (*ListTanksResponse) Validate ¶ added in v0.0.10
func (m *ListTanksResponse) Validate() error
Validate checks the field values on ListTanksResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListTanksResponseValidationError ¶ added in v0.0.10
type ListTanksResponseValidationError struct {
// contains filtered or unexported fields
}
ListTanksResponseValidationError is the validation error returned by ListTanksResponse.Validate if the designated constraints aren't met.
func (ListTanksResponseValidationError) Cause ¶ added in v0.0.10
func (e ListTanksResponseValidationError) Cause() error
Cause function returns cause value.
func (ListTanksResponseValidationError) Error ¶ added in v0.0.10
func (e ListTanksResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListTanksResponseValidationError) ErrorName ¶ added in v0.0.10
func (e ListTanksResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListTanksResponseValidationError) Field ¶ added in v0.0.10
func (e ListTanksResponseValidationError) Field() string
Field function returns field value.
func (ListTanksResponseValidationError) Key ¶ added in v0.0.10
func (e ListTanksResponseValidationError) Key() bool
Key function returns key value.
func (ListTanksResponseValidationError) Reason ¶ added in v0.0.10
func (e ListTanksResponseValidationError) Reason() string
Reason function returns reason value.
type Tank ¶ added in v0.0.10
type Tank struct { // The unique identifier of the tank Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The make of the tank Make string `protobuf:"bytes,2,opt,name=make,proto3" json:"make,omitempty"` // The model of the tank Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // The name of the tank Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // The location of the tank Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` // The capacity measurement of the tank CapacityMeasurement Tank_CapacityMeasurement `` /* 170-byte string literal not displayed */ // The capacity of the tank // // Types that are assignable to OptionalCapacity: // *Tank_Capacity OptionalCapacity isTank_OptionalCapacity `protobuf_oneof:"optional_capacity"` // The capacity of the tank Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*Tank) Descriptor
deprecated
added in
v0.0.10
func (*Tank) GetCapacity ¶ added in v0.0.10
func (*Tank) GetCapacityMeasurement ¶ added in v0.0.10
func (x *Tank) GetCapacityMeasurement() Tank_CapacityMeasurement
func (*Tank) GetDescription ¶ added in v0.0.10
func (*Tank) GetLocation ¶ added in v0.0.10
func (*Tank) GetOptionalCapacity ¶ added in v0.0.10
func (m *Tank) GetOptionalCapacity() isTank_OptionalCapacity
func (*Tank) ProtoMessage ¶ added in v0.0.10
func (*Tank) ProtoMessage()
func (*Tank) ProtoReflect ¶ added in v0.0.10
func (x *Tank) ProtoReflect() protoreflect.Message
type TankStatistic ¶ added in v0.0.9
type TankStatistic struct { // The unique identifier of the tank statistic. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The date of tank test TestDate string `protobuf:"bytes,2,opt,name=test_date,json=testDate,proto3" json:"test_date,omitempty"` // The pH level of the tank // // Types that are assignable to OptionalPh: // *TankStatistic_Ph OptionalPh isTankStatistic_OptionalPh `protobuf_oneof:"optional_ph"` // The GH level of the tank // // Types that are assignable to OptionalGh: // *TankStatistic_Gh OptionalGh isTankStatistic_OptionalGh `protobuf_oneof:"optional_gh"` // The KH level of the tank // // Types that are assignable to OptionalKh: // *TankStatistic_Kh OptionalKh isTankStatistic_OptionalKh `protobuf_oneof:"optional_kh"` // The Ammonia level of the tank // // Types that are assignable to OptionalAmmonia: // *TankStatistic_Ammonia OptionalAmmonia isTankStatistic_OptionalAmmonia `protobuf_oneof:"optional_ammonia"` // The Nitrite level of the tank // // Types that are assignable to OptionalNitrite: // *TankStatistic_Nitrite OptionalNitrite isTankStatistic_OptionalNitrite `protobuf_oneof:"optional_nitrite"` // The Nitrate level of the tank // // Types that are assignable to OptionalNitrate: // *TankStatistic_Nitrate OptionalNitrate isTankStatistic_OptionalNitrate `protobuf_oneof:"optional_nitrate"` // The Phosphate level of the tank // // Types that are assignable to OptionalPhosphate: // *TankStatistic_Phosphate OptionalPhosphate isTankStatistic_OptionalPhosphate `protobuf_oneof:"optional_phosphate"` // contains filtered or unexported fields }
func (*TankStatistic) Descriptor
deprecated
added in
v0.0.9
func (*TankStatistic) Descriptor() ([]byte, []int)
Deprecated: Use TankStatistic.ProtoReflect.Descriptor instead.
func (*TankStatistic) GetAmmonia ¶ added in v0.0.9
func (x *TankStatistic) GetAmmonia() float32
func (*TankStatistic) GetGh ¶ added in v0.0.9
func (x *TankStatistic) GetGh() float32
func (*TankStatistic) GetId ¶ added in v0.0.9
func (x *TankStatistic) GetId() int32
func (*TankStatistic) GetKh ¶ added in v0.0.9
func (x *TankStatistic) GetKh() float32
func (*TankStatistic) GetNitrate ¶ added in v0.0.9
func (x *TankStatistic) GetNitrate() float32
func (*TankStatistic) GetNitrite ¶ added in v0.0.9
func (x *TankStatistic) GetNitrite() float32
func (*TankStatistic) GetOptionalAmmonia ¶ added in v0.0.9
func (m *TankStatistic) GetOptionalAmmonia() isTankStatistic_OptionalAmmonia
func (*TankStatistic) GetOptionalGh ¶ added in v0.0.9
func (m *TankStatistic) GetOptionalGh() isTankStatistic_OptionalGh
func (*TankStatistic) GetOptionalKh ¶ added in v0.0.9
func (m *TankStatistic) GetOptionalKh() isTankStatistic_OptionalKh
func (*TankStatistic) GetOptionalNitrate ¶ added in v0.0.9
func (m *TankStatistic) GetOptionalNitrate() isTankStatistic_OptionalNitrate
func (*TankStatistic) GetOptionalNitrite ¶ added in v0.0.9
func (m *TankStatistic) GetOptionalNitrite() isTankStatistic_OptionalNitrite
func (*TankStatistic) GetOptionalPh ¶ added in v0.0.9
func (m *TankStatistic) GetOptionalPh() isTankStatistic_OptionalPh
func (*TankStatistic) GetOptionalPhosphate ¶ added in v0.0.9
func (m *TankStatistic) GetOptionalPhosphate() isTankStatistic_OptionalPhosphate
func (*TankStatistic) GetPh ¶ added in v0.0.9
func (x *TankStatistic) GetPh() float32
func (*TankStatistic) GetPhosphate ¶ added in v0.0.9
func (x *TankStatistic) GetPhosphate() float32
func (*TankStatistic) GetTestDate ¶ added in v0.0.9
func (x *TankStatistic) GetTestDate() string
func (*TankStatistic) ProtoMessage ¶ added in v0.0.9
func (*TankStatistic) ProtoMessage()
func (*TankStatistic) ProtoReflect ¶ added in v0.0.9
func (x *TankStatistic) ProtoReflect() protoreflect.Message
func (*TankStatistic) Reset ¶ added in v0.0.9
func (x *TankStatistic) Reset()
func (*TankStatistic) String ¶ added in v0.0.9
func (x *TankStatistic) String() string
func (*TankStatistic) Validate ¶ added in v0.0.9
func (m *TankStatistic) Validate() error
Validate checks the field values on TankStatistic with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TankStatisticValidationError ¶ added in v0.0.9
type TankStatisticValidationError struct {
// contains filtered or unexported fields
}
TankStatisticValidationError is the validation error returned by TankStatistic.Validate if the designated constraints aren't met.
func (TankStatisticValidationError) Cause ¶ added in v0.0.9
func (e TankStatisticValidationError) Cause() error
Cause function returns cause value.
func (TankStatisticValidationError) Error ¶ added in v0.0.9
func (e TankStatisticValidationError) Error() string
Error satisfies the builtin error interface
func (TankStatisticValidationError) ErrorName ¶ added in v0.0.9
func (e TankStatisticValidationError) ErrorName() string
ErrorName returns error name.
func (TankStatisticValidationError) Field ¶ added in v0.0.9
func (e TankStatisticValidationError) Field() string
Field function returns field value.
func (TankStatisticValidationError) Key ¶ added in v0.0.9
func (e TankStatisticValidationError) Key() bool
Key function returns key value.
func (TankStatisticValidationError) Reason ¶ added in v0.0.9
func (e TankStatisticValidationError) Reason() string
Reason function returns reason value.
type TankStatistic_Ammonia ¶ added in v0.0.9
type TankStatistic_Ammonia struct {
Ammonia float32 `protobuf:"fixed32,6,opt,name=ammonia,proto3,oneof"`
}
type TankStatistic_Gh ¶ added in v0.0.9
type TankStatistic_Gh struct {
Gh float32 `protobuf:"fixed32,4,opt,name=gh,proto3,oneof"`
}
type TankStatistic_Kh ¶ added in v0.0.9
type TankStatistic_Kh struct {
Kh float32 `protobuf:"fixed32,5,opt,name=kh,proto3,oneof"`
}
type TankStatistic_Nitrate ¶ added in v0.0.9
type TankStatistic_Nitrate struct {
Nitrate float32 `protobuf:"fixed32,8,opt,name=nitrate,proto3,oneof"`
}
type TankStatistic_Nitrite ¶ added in v0.0.9
type TankStatistic_Nitrite struct {
Nitrite float32 `protobuf:"fixed32,7,opt,name=nitrite,proto3,oneof"`
}
type TankStatistic_Ph ¶ added in v0.0.9
type TankStatistic_Ph struct {
Ph float32 `protobuf:"fixed32,3,opt,name=ph,proto3,oneof"`
}
type TankStatistic_Phosphate ¶ added in v0.0.9
type TankStatistic_Phosphate struct {
Phosphate float32 `protobuf:"fixed32,9,opt,name=phosphate,proto3,oneof"`
}
type TankValidationError ¶ added in v0.0.10
type TankValidationError struct {
// contains filtered or unexported fields
}
TankValidationError is the validation error returned by Tank.Validate if the designated constraints aren't met.
func (TankValidationError) Cause ¶ added in v0.0.10
func (e TankValidationError) Cause() error
Cause function returns cause value.
func (TankValidationError) Error ¶ added in v0.0.10
func (e TankValidationError) Error() string
Error satisfies the builtin error interface
func (TankValidationError) ErrorName ¶ added in v0.0.10
func (e TankValidationError) ErrorName() string
ErrorName returns error name.
func (TankValidationError) Field ¶ added in v0.0.10
func (e TankValidationError) Field() string
Field function returns field value.
func (TankValidationError) Key ¶ added in v0.0.10
func (e TankValidationError) Key() bool
Key function returns key value.
func (TankValidationError) Reason ¶ added in v0.0.10
func (e TankValidationError) Reason() string
Reason function returns reason value.
type Tank_Capacity ¶ added in v0.0.10
type Tank_Capacity struct {
Capacity float32 `protobuf:"fixed32,7,opt,name=capacity,proto3,oneof"`
}
type Tank_CapacityMeasurement ¶ added in v0.0.10
type Tank_CapacityMeasurement int32
const ( Tank_UNSPECIFIED Tank_CapacityMeasurement = 0 Tank_LITRES Tank_CapacityMeasurement = 1 Tank_GALLONS Tank_CapacityMeasurement = 2 )
func (Tank_CapacityMeasurement) Descriptor ¶ added in v0.0.10
func (Tank_CapacityMeasurement) Descriptor() protoreflect.EnumDescriptor
func (Tank_CapacityMeasurement) Enum ¶ added in v0.0.10
func (x Tank_CapacityMeasurement) Enum() *Tank_CapacityMeasurement
func (Tank_CapacityMeasurement) EnumDescriptor
deprecated
added in
v0.0.10
func (Tank_CapacityMeasurement) EnumDescriptor() ([]byte, []int)
Deprecated: Use Tank_CapacityMeasurement.Descriptor instead.
func (Tank_CapacityMeasurement) Number ¶ added in v0.0.10
func (x Tank_CapacityMeasurement) Number() protoreflect.EnumNumber
func (Tank_CapacityMeasurement) String ¶ added in v0.0.10
func (x Tank_CapacityMeasurement) String() string
func (Tank_CapacityMeasurement) Type ¶ added in v0.0.10
func (Tank_CapacityMeasurement) Type() protoreflect.EnumType
type TrackMyFishServiceClient ¶
type TrackMyFishServiceClient interface { // Heartbeat // // Provides information about the service health Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error) // AddFish // // Adds a new Fish AddFish(ctx context.Context, in *AddFishRequest, opts ...grpc.CallOption) (*AddFishResponse, error) // ListFish // // Lists Fish ListFish(ctx context.Context, in *ListFishRequest, opts ...grpc.CallOption) (*ListFishResponse, error) // DeleteFish // // Deletes a Fish DeleteFish(ctx context.Context, in *DeleteFishRequest, opts ...grpc.CallOption) (*DeleteFishResponse, error) // AddTankStatistic // // Adds a new tank statistic AddTankStatistic(ctx context.Context, in *AddTankStatisticRequest, opts ...grpc.CallOption) (*AddTankStatisticResponse, error) // ListTankStatistics // // Lists tank statistics ListTankStatistics(ctx context.Context, in *ListTankStatisticsRequest, opts ...grpc.CallOption) (*ListTankStatisticsResponse, error) // DeleteTankStatistic // // Deletes a tank statistic DeleteTankStatistic(ctx context.Context, in *DeleteTankStatisticRequest, opts ...grpc.CallOption) (*DeleteTankStatisticResponse, error) // AddTank // // Adds a new tank AddTank(ctx context.Context, in *AddTankRequest, opts ...grpc.CallOption) (*AddTankResponse, error) // ListTanks // // Lists tanks ListTanks(ctx context.Context, in *ListTanksRequest, opts ...grpc.CallOption) (*ListTanksResponse, error) // DeleteTank // // Deletes a tank DeleteTank(ctx context.Context, in *DeleteTankRequest, opts ...grpc.CallOption) (*DeleteTankResponse, error) }
TrackMyFishServiceClient is the client API for TrackMyFishService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTrackMyFishServiceClient ¶
func NewTrackMyFishServiceClient(cc grpc.ClientConnInterface) TrackMyFishServiceClient
type TrackMyFishServiceServer ¶
type TrackMyFishServiceServer interface { // Heartbeat // // Provides information about the service health Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error) // AddFish // // Adds a new Fish AddFish(context.Context, *AddFishRequest) (*AddFishResponse, error) // ListFish // // Lists Fish ListFish(context.Context, *ListFishRequest) (*ListFishResponse, error) // DeleteFish // // Deletes a Fish DeleteFish(context.Context, *DeleteFishRequest) (*DeleteFishResponse, error) // AddTankStatistic // // Adds a new tank statistic AddTankStatistic(context.Context, *AddTankStatisticRequest) (*AddTankStatisticResponse, error) // ListTankStatistics // // Lists tank statistics ListTankStatistics(context.Context, *ListTankStatisticsRequest) (*ListTankStatisticsResponse, error) // DeleteTankStatistic // // Deletes a tank statistic DeleteTankStatistic(context.Context, *DeleteTankStatisticRequest) (*DeleteTankStatisticResponse, error) // AddTank // // Adds a new tank AddTank(context.Context, *AddTankRequest) (*AddTankResponse, error) // ListTanks // // Lists tanks ListTanks(context.Context, *ListTanksRequest) (*ListTanksResponse, error) // DeleteTank // // Deletes a tank DeleteTank(context.Context, *DeleteTankRequest) (*DeleteTankResponse, error) }
TrackMyFishServiceServer is the server API for TrackMyFishService service. All implementations should embed UnimplementedTrackMyFishServiceServer for forward compatibility
type UnimplementedTrackMyFishServiceServer ¶
type UnimplementedTrackMyFishServiceServer struct { }
UnimplementedTrackMyFishServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTrackMyFishServiceServer) AddFish ¶
func (UnimplementedTrackMyFishServiceServer) AddFish(context.Context, *AddFishRequest) (*AddFishResponse, error)
func (UnimplementedTrackMyFishServiceServer) AddTank ¶ added in v0.0.10
func (UnimplementedTrackMyFishServiceServer) AddTank(context.Context, *AddTankRequest) (*AddTankResponse, error)
func (UnimplementedTrackMyFishServiceServer) AddTankStatistic ¶ added in v0.0.9
func (UnimplementedTrackMyFishServiceServer) AddTankStatistic(context.Context, *AddTankStatisticRequest) (*AddTankStatisticResponse, error)
func (UnimplementedTrackMyFishServiceServer) DeleteFish ¶
func (UnimplementedTrackMyFishServiceServer) DeleteFish(context.Context, *DeleteFishRequest) (*DeleteFishResponse, error)
func (UnimplementedTrackMyFishServiceServer) DeleteTank ¶ added in v0.0.10
func (UnimplementedTrackMyFishServiceServer) DeleteTank(context.Context, *DeleteTankRequest) (*DeleteTankResponse, error)
func (UnimplementedTrackMyFishServiceServer) DeleteTankStatistic ¶ added in v0.0.9
func (UnimplementedTrackMyFishServiceServer) DeleteTankStatistic(context.Context, *DeleteTankStatisticRequest) (*DeleteTankStatisticResponse, error)
func (UnimplementedTrackMyFishServiceServer) Heartbeat ¶
func (UnimplementedTrackMyFishServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
func (UnimplementedTrackMyFishServiceServer) ListFish ¶
func (UnimplementedTrackMyFishServiceServer) ListFish(context.Context, *ListFishRequest) (*ListFishResponse, error)
func (UnimplementedTrackMyFishServiceServer) ListTankStatistics ¶ added in v0.0.9
func (UnimplementedTrackMyFishServiceServer) ListTankStatistics(context.Context, *ListTankStatisticsRequest) (*ListTankStatisticsResponse, error)
func (UnimplementedTrackMyFishServiceServer) ListTanks ¶ added in v0.0.10
func (UnimplementedTrackMyFishServiceServer) ListTanks(context.Context, *ListTanksRequest) (*ListTanksResponse, error)
type UnsafeTrackMyFishServiceServer ¶
type UnsafeTrackMyFishServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTrackMyFishServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TrackMyFishServiceServer will result in compilation errors.