Documentation ¶
Index ¶
- Variables
- type Item
- type ItemCollection
- func (*ItemCollection) Descriptor() ([]byte, []int)deprecated
- func (x *ItemCollection) GetEntities() []*ItemEntity
- func (x *ItemCollection) GetLinks() []*furo.Link
- func (x *ItemCollection) GetMeta() *furo.Meta
- func (*ItemCollection) ProtoMessage()
- func (x *ItemCollection) ProtoReflect() protoreflect.Message
- func (x *ItemCollection) Reset()
- func (x *ItemCollection) String() string
- type ItemEntity
- func (*ItemEntity) Descriptor() ([]byte, []int)deprecated
- func (x *ItemEntity) GetData() *Item
- func (x *ItemEntity) GetLinks() []*furo.Link
- func (x *ItemEntity) GetMeta() *furo.Meta
- func (*ItemEntity) ProtoMessage()
- func (x *ItemEntity) ProtoReflect() protoreflect.Message
- func (x *ItemEntity) Reset()
- func (x *ItemEntity) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_todos_todos_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { // Identity of the item Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Description of the task Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Due date of the task DueDate *date.Date `protobuf:"bytes,3,opt,name=due_date,json=dueDate,proto3" json:"due_date,omitempty"` // contains filtered or unexported fields }
Simple ToDos Item Type
func (*Item) Descriptor
deprecated
func (*Item) GetDescription ¶
func (*Item) GetDueDate ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type ItemCollection ¶
type ItemCollection struct { // Meta for the response Meta *furo.Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"` // the Hateoas links Links []*furo.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` // the data contains a todos.Item Entities []*ItemEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
Collectioncontainer which holds items of type todos.ItemEntity
func (*ItemCollection) Descriptor
deprecated
func (*ItemCollection) Descriptor() ([]byte, []int)
Deprecated: Use ItemCollection.ProtoReflect.Descriptor instead.
func (*ItemCollection) GetEntities ¶
func (x *ItemCollection) GetEntities() []*ItemEntity
func (*ItemCollection) GetLinks ¶
func (x *ItemCollection) GetLinks() []*furo.Link
func (*ItemCollection) GetMeta ¶
func (x *ItemCollection) GetMeta() *furo.Meta
func (*ItemCollection) ProtoMessage ¶
func (*ItemCollection) ProtoMessage()
func (*ItemCollection) ProtoReflect ¶
func (x *ItemCollection) ProtoReflect() protoreflect.Message
func (*ItemCollection) Reset ¶
func (x *ItemCollection) Reset()
func (*ItemCollection) String ¶
func (x *ItemCollection) String() string
type ItemEntity ¶
type ItemEntity struct { // the data contains a todos.Item Data *Item `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // the Hateoas links Links []*furo.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"` // Meta for the response Meta *furo.Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
Entitycontainer which holds a todos.Item
func (*ItemEntity) Descriptor
deprecated
func (*ItemEntity) Descriptor() ([]byte, []int)
Deprecated: Use ItemEntity.ProtoReflect.Descriptor instead.
func (*ItemEntity) GetData ¶
func (x *ItemEntity) GetData() *Item
func (*ItemEntity) GetLinks ¶
func (x *ItemEntity) GetLinks() []*furo.Link
func (*ItemEntity) GetMeta ¶
func (x *ItemEntity) GetMeta() *furo.Meta
func (*ItemEntity) ProtoMessage ¶
func (*ItemEntity) ProtoMessage()
func (*ItemEntity) ProtoReflect ¶
func (x *ItemEntity) ProtoReflect() protoreflect.Message
func (*ItemEntity) Reset ¶
func (x *ItemEntity) Reset()
func (*ItemEntity) String ¶
func (x *ItemEntity) String() string
Click to show internal directories.
Click to hide internal directories.