todomvc

package
v0.0.0-...-e31f2fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_todomvc_todo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateTodoRequest

type CreateTodoRequest struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTodoRequest) Descriptor deprecated

func (*CreateTodoRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTodoRequest.ProtoReflect.Descriptor instead.

func (*CreateTodoRequest) GetTitle

func (x *CreateTodoRequest) GetTitle() string

func (*CreateTodoRequest) ProtoMessage

func (*CreateTodoRequest) ProtoMessage()

func (*CreateTodoRequest) ProtoReflect

func (x *CreateTodoRequest) ProtoReflect() protoreflect.Message

func (*CreateTodoRequest) Reset

func (x *CreateTodoRequest) Reset()

func (*CreateTodoRequest) String

func (x *CreateTodoRequest) String() string

type TodoItem

type TodoItem struct {
	Id          string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title       string               `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Completed   bool                 `protobuf:"varint,3,opt,name=completed,proto3" json:"completed,omitempty"`
	CompletedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// contains filtered or unexported fields
}

func (*TodoItem) Descriptor deprecated

func (*TodoItem) Descriptor() ([]byte, []int)

Deprecated: Use TodoItem.ProtoReflect.Descriptor instead.

func (*TodoItem) GetCompleted

func (x *TodoItem) GetCompleted() bool

func (*TodoItem) GetCompletedAt

func (x *TodoItem) GetCompletedAt() *timestamp.Timestamp

func (*TodoItem) GetId

func (x *TodoItem) GetId() string

func (*TodoItem) GetTitle

func (x *TodoItem) GetTitle() string

func (*TodoItem) ProtoMessage

func (*TodoItem) ProtoMessage()

func (*TodoItem) ProtoReflect

func (x *TodoItem) ProtoReflect() protoreflect.Message

func (*TodoItem) Reset

func (x *TodoItem) Reset()

func (*TodoItem) String

func (x *TodoItem) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL