Documentation ¶
Index ¶
- Variables
- type CalculateRequest
- func (*CalculateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CalculateRequest) GetExpression() string
- func (x *CalculateRequest) GetOwner() string
- func (*CalculateRequest) ProtoMessage()
- func (x *CalculateRequest) ProtoReflect() protoreflect.Message
- func (x *CalculateRequest) Reset()
- func (x *CalculateRequest) String() string
- type CalculateResponse
- type Calculation
- func (*Calculation) Descriptor() ([]byte, []int)deprecated
- func (x *Calculation) GetCompletedAt() *timestamppb.Timestamp
- func (x *Calculation) GetCreatedAt() *timestamppb.Timestamp
- func (x *Calculation) GetExpression() string
- func (x *Calculation) GetId() uint32
- func (x *Calculation) GetOwner() string
- func (x *Calculation) GetResult() float64
- func (x *Calculation) GetUpdatedAt() *timestamppb.Timestamp
- func (*Calculation) ProtoMessage()
- func (x *Calculation) ProtoReflect() protoreflect.Message
- func (x *Calculation) Reset()
- func (x *Calculation) String() string
- type CleanupRequest
- type CleanupResponse
- type GetRequest
- type GetResponse
- type ListRequest
- type ListResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var File_calculator_v1_calculator_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CalculateRequest ¶
type CalculateRequest struct { Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
func (*CalculateRequest) Descriptor
deprecated
func (*CalculateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalculateRequest.ProtoReflect.Descriptor instead.
func (*CalculateRequest) GetExpression ¶
func (x *CalculateRequest) GetExpression() string
func (*CalculateRequest) GetOwner ¶
func (x *CalculateRequest) GetOwner() string
func (*CalculateRequest) ProtoMessage ¶
func (*CalculateRequest) ProtoMessage()
func (*CalculateRequest) ProtoReflect ¶
func (x *CalculateRequest) ProtoReflect() protoreflect.Message
func (*CalculateRequest) Reset ¶
func (x *CalculateRequest) Reset()
func (*CalculateRequest) String ¶
func (x *CalculateRequest) String() string
type CalculateResponse ¶
type CalculateResponse struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CalculateResponse) Descriptor
deprecated
func (*CalculateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CalculateResponse.ProtoReflect.Descriptor instead.
func (*CalculateResponse) GetId ¶
func (x *CalculateResponse) GetId() uint32
func (*CalculateResponse) ProtoMessage ¶
func (*CalculateResponse) ProtoMessage()
func (*CalculateResponse) ProtoReflect ¶
func (x *CalculateResponse) ProtoReflect() protoreflect.Message
func (*CalculateResponse) Reset ¶
func (x *CalculateResponse) Reset()
func (*CalculateResponse) String ¶
func (x *CalculateResponse) String() string
type Calculation ¶
type Calculation struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Expression string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"` Result float64 `protobuf:"fixed64,4,opt,name=result,proto3" json:"result,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` CompletedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` // contains filtered or unexported fields }
func (*Calculation) Descriptor
deprecated
func (*Calculation) Descriptor() ([]byte, []int)
Deprecated: Use Calculation.ProtoReflect.Descriptor instead.
func (*Calculation) GetCompletedAt ¶
func (x *Calculation) GetCompletedAt() *timestamppb.Timestamp
func (*Calculation) GetCreatedAt ¶
func (x *Calculation) GetCreatedAt() *timestamppb.Timestamp
func (*Calculation) GetExpression ¶
func (x *Calculation) GetExpression() string
func (*Calculation) GetId ¶
func (x *Calculation) GetId() uint32
func (*Calculation) GetOwner ¶
func (x *Calculation) GetOwner() string
func (*Calculation) GetResult ¶
func (x *Calculation) GetResult() float64
func (*Calculation) GetUpdatedAt ¶
func (x *Calculation) GetUpdatedAt() *timestamppb.Timestamp
func (*Calculation) ProtoMessage ¶
func (*Calculation) ProtoMessage()
func (*Calculation) ProtoReflect ¶
func (x *Calculation) ProtoReflect() protoreflect.Message
func (*Calculation) Reset ¶
func (x *Calculation) Reset()
func (*Calculation) String ¶
func (x *Calculation) String() string
type CleanupRequest ¶
type CleanupRequest struct {
// contains filtered or unexported fields
}
func (*CleanupRequest) Descriptor
deprecated
func (*CleanupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead.
func (*CleanupRequest) ProtoMessage ¶
func (*CleanupRequest) ProtoMessage()
func (*CleanupRequest) ProtoReflect ¶
func (x *CleanupRequest) ProtoReflect() protoreflect.Message
func (*CleanupRequest) Reset ¶
func (x *CleanupRequest) Reset()
func (*CleanupRequest) String ¶
func (x *CleanupRequest) String() string
type CleanupResponse ¶
type CleanupResponse struct {
// contains filtered or unexported fields
}
func (*CleanupResponse) Descriptor
deprecated
func (*CleanupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CleanupResponse.ProtoReflect.Descriptor instead.
func (*CleanupResponse) ProtoMessage ¶
func (*CleanupResponse) ProtoMessage()
func (*CleanupResponse) ProtoReflect ¶
func (x *CleanupResponse) ProtoReflect() protoreflect.Message
func (*CleanupResponse) Reset ¶
func (x *CleanupResponse) Reset()
func (*CleanupResponse) String ¶
func (x *CleanupResponse) String() string
type GetRequest ¶
type GetRequest struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetId ¶
func (x *GetRequest) GetId() uint32
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Calculation *Calculation `protobuf:"bytes,1,opt,name=calculation,proto3" json:"calculation,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetCalculation ¶
func (x *GetResponse) GetCalculation() *Calculation
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type ListRequest ¶
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Calculations []*Calculation `protobuf:"bytes,1,rep,name=calculations,proto3" json:"calculations,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetCalculations ¶
func (x *ListResponse) GetCalculations() []*Calculation
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
Click to show internal directories.
Click to hide internal directories.