Documentation ¶
Index ¶
- Constants
- type ChannelCommandManager
- func (c *ChannelCommandManager) DeleteCommandChannel(commandMessage *command_utils.CommandMessage)
- func (c *ChannelCommandManager) DeleteCommandChannelOLD(hash string) chan *command_utils.CommandMessage
- func (c *ChannelCommandManager) SetCommandChannel(commandMessage *command_utils.CommandMessage) chan *command_utils.CommandMessage
- type CreateTodo
- type CreateTodoList
- type DeleteTodo
- type DeleteTodoList
- type SignUp
- type UpdateTodo
- type UpdateTodoList
Constants ¶
View Source
const DeleteTodoCommand = "DELETE_TODO"
View Source
const UpdateTodoCommand = "UPDATE_TODO"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelCommandManager ¶
type ChannelCommandManager struct {
// contains filtered or unexported fields
}
func (*ChannelCommandManager) DeleteCommandChannel ¶
func (c *ChannelCommandManager) DeleteCommandChannel(commandMessage *command_utils.CommandMessage)
func (*ChannelCommandManager) DeleteCommandChannelOLD ¶
func (c *ChannelCommandManager) DeleteCommandChannelOLD(hash string) chan *command_utils.CommandMessage
func (*ChannelCommandManager) SetCommandChannel ¶
func (c *ChannelCommandManager) SetCommandChannel(commandMessage *command_utils.CommandMessage) chan *command_utils.CommandMessage
type CreateTodo ¶
type CreateTodo struct { Name string DoneName string *ChannelCommandManager // contains filtered or unexported fields }
func NewCreateTodoCommand ¶
func NewCreateTodoCommand(publisher publisher.CommandPublisher) *CreateTodo
func (*CreateTodo) Execute ¶
func (c *CreateTodo) Execute(ctx context.Context, message *command_utils.CommandMessage) <-chan *command_utils.CommandMessage
func (*CreateTodo) GetDoneName ¶
func (c *CreateTodo) GetDoneName() string
func (*CreateTodo) GetName ¶
func (c *CreateTodo) GetName() string
type CreateTodoList ¶
type CreateTodoList struct { Name string DoneName string *ChannelCommandManager // contains filtered or unexported fields }
func NewCreateTodoListCommand ¶
func NewCreateTodoListCommand(publisher publisher.CommandPublisher) *CreateTodoList
func (*CreateTodoList) Execute ¶
func (c *CreateTodoList) Execute(ctx context.Context, message *command_utils.CommandMessage) <-chan *command_utils.CommandMessage
func (*CreateTodoList) GetDoneName ¶
func (c *CreateTodoList) GetDoneName() string
func (*CreateTodoList) GetName ¶
func (c *CreateTodoList) GetName() string
type DeleteTodo ¶
type DeleteTodo struct { Name string // contains filtered or unexported fields }
func NewDeleteTodoCommand ¶
func NewDeleteTodoCommand(handler publisher.CommandPublisher) *DeleteTodo
func (*DeleteTodo) GetName ¶
func (c *DeleteTodo) GetName() string
type DeleteTodoList ¶
type DeleteTodoList struct { Name string DoneName string *ChannelCommandManager // contains filtered or unexported fields }
func NewDeleteTodoListCommand ¶
func NewDeleteTodoListCommand(publisher publisher.CommandPublisher) *DeleteTodoList
func (*DeleteTodoList) Execute ¶
func (c *DeleteTodoList) Execute(ctx context.Context, message *command_utils.CommandMessage) <-chan *command_utils.CommandMessage
func (*DeleteTodoList) GetDoneName ¶
func (c *DeleteTodoList) GetDoneName() string
func (*DeleteTodoList) GetName ¶
func (c *DeleteTodoList) GetName() string
type SignUp ¶
type SignUp struct { Name string DoneName string *ChannelCommandManager // contains filtered or unexported fields }
func NewSignUpCommand ¶
func NewSignUpCommand(publisher publisher.CommandPublisher) *SignUp
func (*SignUp) Execute ¶
func (c *SignUp) Execute(ctx context.Context, message *command_utils.CommandMessage) <-chan *command_utils.CommandMessage
func (*SignUp) GetDoneName ¶
type UpdateTodo ¶
type UpdateTodo struct { Name string // contains filtered or unexported fields }
func NewUpdateTodoCommand ¶
func NewUpdateTodoCommand(handler publisher.CommandPublisher) *UpdateTodo
func (*UpdateTodo) GetName ¶
func (c *UpdateTodo) GetName() string
type UpdateTodoList ¶
type UpdateTodoList struct { Name string // contains filtered or unexported fields }
func NewUpdateTodoListCommand ¶
func NewUpdateTodoListCommand(handler publisher.CommandPublisher) *UpdateTodoList
func (*UpdateTodoList) GetName ¶
func (c *UpdateTodoList) GetName() string
Click to show internal directories.
Click to hide internal directories.