Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTask ¶
func NewTask(query *TaskQuery, command *TaskCommand) proto.TaskServiceHandler
NewTask はタスクに関する Controller を生成します。
Types ¶
type TaskCommand ¶ added in v0.2.0
type TaskCommand struct {
// contains filtered or unexported fields
}
TaskCommand はタスクに関する Command 系の Controller の定義です。
func NewTaskCommand ¶ added in v0.2.0
func NewTaskCommand( createTaskInputPort port.CreateTask, ) *TaskCommand
NewTaskCommand はタスクに関する Command 系の Controller を生成します。
func (*TaskCommand) Create ¶ added in v0.2.0
func (c *TaskCommand) Create( ctx context.Context, req *proto.CreateRequest, rsp *proto.CreateResponse, ) error
Create は input / output を制御し、タスク生成処理を行います。
type TaskQuery ¶ added in v0.2.0
type TaskQuery struct {
// contains filtered or unexported fields
}
TaskQuery はタスクに関する Query 系の Controller の定義です。
func NewTaskQuery ¶ added in v0.2.0
NewTaskQuery はタスクに関する Query 系の Controller を生成します。
func (*TaskQuery) Get ¶ added in v0.2.0
func (c *TaskQuery) Get( ctx context.Context, req *proto.GetRequest, rsp *proto.GetResponse, ) error
Get は input / output を制御し、タスク取得処理を行います。
Click to show internal directories.
Click to hide internal directories.